添加官方仓储 # Create the file repository configuration: sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/ ...
分类:
数据库 时间:
2020-11-07 16:13:45
阅读次数:
24
初始写法,导致弹框出现多次this.$message.error('无权限访问,请联系管理员') 解决办法: 官网文档有提到closeAll(),手动关闭所有实例 官网地址:https://element.eleme.cn/#/zh-CN/component/message //引入 import ...
分类:
其他好文 时间:
2020-11-07 16:02:27
阅读次数:
32
dao @Repository --写在dao层 service @Service --写在service层 controller @Controller --写在controller层 @Scope --写在多人访问controller上 属性注入 @Autowired --写在需要注入的属性上 ...
分类:
编程语言 时间:
2020-11-07 15:46:00
阅读次数:
20
前面已经介绍过Android平台集成AGC崩溃服务的操作,本次介绍下IOS的集成方法,操作基本类似。创建项目和应用首先你需要在AGC创建一个项目,在项目中添加一个应用,操作很简单,直接参见《IOS使用入门》中的创建项目和应用章节。开通华为分析服务由于崩溃服务上报崩溃事件时使用了华为分析服务的能力,集成CrashSDK前需要开通华为分析服务,直接参见开通华为分析。集成SDK针对Xcode开发环境,开
分类:
移动开发 时间:
2020-11-07 15:43:45
阅读次数:
34
import React, { Component } from "react"; import { View, Text } from "@tarojs/components"; export default class Index extends Component { constructor( ...
分类:
其他好文 时间:
2020-11-07 15:33:04
阅读次数:
23
1.在Vue页面加载时动态发送请求获取微博授权url 1.1 在 components\common\lab_header.vue 中写oauth动态获取微 博授权URL // 获取微博登录地址 oauth() { // 从后端获取 微博登录地址 oauth_post().then((resp) = ...
分类:
Web程序 时间:
2020-11-06 02:35:14
阅读次数:
23
参考链接:https://www.jdon.com/ddd.html 原先的业务对象类只有key value,属于贫血模型,而DDD领域驱动设计的理念下,业务对象类同时有了原先service里的行为和方法。 原先的model包含service dao valueObject,view是jsp或jso ...
分类:
其他好文 时间:
2020-11-06 02:22:17
阅读次数:
21
class BaseApi extends Controller { protected $userId = 0; protected $userName = ''; protected $noLoginAction = []; protected $endTIme = 30000000; publ ...
分类:
其他好文 时间:
2020-11-06 02:20:52
阅读次数:
14
1、 生成publicKey和password 找到maven资源库中druid的jar包,如:C:\Users\a\.m2\repository\com\alibaba\druid\1.1.6,其中a为用户名。 打开cmd,将路径切换至C:\Users\a\.m2\repository\com\a ...
分类:
数据库 时间:
2020-11-06 02:10:35
阅读次数:
32
Servlet被服务器实例化后,容器运行其init方法,请求到达时运行其service方法,service方法自动派遣运行与请求对应的doXXX方法(doGet,doPost)等,当服务器决定将实例销毁的时候调用其destroy方法。 与cgi的区别在于servlet处于服务器进程中,它通过多线程方 ...
分类:
其他好文 时间:
2020-11-06 01:50:24
阅读次数:
12