use think\Config; $config = Config::get('database2'); //读取第二个数据库配置 $connect = Db::connect($config); //连接数据库 $data = $connect->name('admin')->find(); / ...
分类:
数据库 时间:
2020-11-07 16:21:15
阅读次数:
22
转至: 吴一达 2016-11-24 原文 在利用Jenkins实现Weblogic应用自动部署的功能时,如何通过Shell 脚本自动更新Weblogic部署的应用程序呢? 可以使用weblogic.jar包中的weblogic.Deployer这个class 。 命令如下: java weblog ...
分类:
Web程序 时间:
2020-11-07 16:14:55
阅读次数:
22
环境及工具 Windows,PyCharm Community Edition,postgresql-13.0-1 启动odoo环境 python odoo-bin 如果你只是还是空壳,启动odoo之后,他将会给你开始报错告诉你缺失了哪些模块,下面的命令可以帮助你更好地继续安装: pip insta ...
分类:
其他好文 时间:
2020-11-07 16:12:06
阅读次数:
16
var Web3 = require('web3'); var fs = require('fs'); var Tx = require('ethereumjs-tx'); var store = require('./data.js') var web3 = new Web3(new Web3.p ...
分类:
Web程序 时间:
2020-11-07 16:06:13
阅读次数:
21
1 function createXmlHttpRequest() 2 { 3 var xmlHttp; 4 if(window.ActiveXobject){ // 判断是否是ie浏览器 5 try { // try开始 6 xmlhttp = new ActiveXobject("Microso ...
分类:
Web程序 时间:
2020-11-07 16:03:11
阅读次数:
23
1.需要先导入一个设置表结构 xxqcfg_mstr(用Data Administraton工具选择数据库导入) ADD TABLE "xxqcfg_mstr" AREA "CONTROL" DESCRIPTION "Config for xxqad program " DUMP-NAME "xxq ...
分类:
其他好文 时间:
2020-11-07 15:59:54
阅读次数:
19
防火墙都是关闭的服务端[root@localhost~]#yum-yinstallrpcbindnfs-utils编辑/etc/exportsp配置文件配置共享目录(配置文件默认可能没有)root@ubuntu:~#cat/etc/exports#共享目录允许访问的IP或网段(参数)/nfs192.168.6.0/24(rw,sync,no_root_squash先启动rpcbind再启动nfs[
分类:
其他好文 时间:
2020-11-07 15:37:17
阅读次数:
19
配置 以最简单的jdbc事务为例: <!-- 数据源以Sping自带为例,每次请求均返回一个新的连接 --> <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource"> <pro ...
分类:
编程语言 时间:
2020-11-07 15:32:15
阅读次数:
20
01-在实体类上加了lombok的@Data注解,却无法使用getter/setter方法的问题 序号注解功能1@NonNull帮助我们避免空指针2@Cleanup自动帮我们调用close方法3@Getter自动生成Getter方法4@Setter自动生成Setter方法5@NoArgsConstr ...
分类:
其他好文 时间:
2020-11-06 02:52:27
阅读次数:
62
学号 site:"edu.cn" 搜索引擎是我日常工作中用得最多的一款工具,国内常用的搜索引擎包括Baidu,sougou,bing等。但我本篇要纪录的并不是这些常用的搜索引擎,而是信息安全从业人员必备的几款网络搜索引擎。本篇要介绍的搜索引擎包括:Shodan,censys,钟馗之眼,Google, ...
分类:
其他好文 时间:
2020-11-06 02:30:38
阅读次数:
25