摘要: 上一篇介绍了docker 安装和docker-compose配置 使用docker pull nginx:1.12.0 编写docker-compose.yml nginx: image: 17daebd00e2c ports: - 80:80 volumes: - /home/conf/nginx 阅读全文
posted @ 2017-05-27 17:35 怨灵骑士 阅读(485) 评论(0) 推荐(0) 编辑
摘要: 系统:centos7 使用root账户 开放80端口 firewall-cmd --zone=public --add-port=80/tcp --permanent 安装docker yum install docker -y 安装docker-compose yum install epel-r 阅读全文
posted @ 2017-05-25 11:51 怨灵骑士 阅读(575) 评论(0) 推荐(0) 编辑
摘要: 在 JwtFilter 文件中 @Override protected boolean isAccessAllowed(ServletRequest request, ServletResponse response, Object mappedValue) { try { executeLogin 阅读全文
posted @ 2021-04-02 18:05 怨灵骑士 阅读(364) 评论(0) 推荐(0) 编辑
摘要: var date = new Date() var month = date.getMonth()+1 //获取当前月份 $('#selectTime').picker({ toolbarTemplate:'取消完成', cols:[ { textAlign: 'left', ... 阅读全文
posted @ 2019-05-08 17:01 怨灵骑士 阅读(3217) 评论(0) 推荐(0) 编辑
摘要: 在body里的第一个div容器中添加 position:fixed 阅读全文
posted @ 2018-09-05 10:26 怨灵骑士 阅读(705) 评论(0) 推荐(0) 编辑
摘要: 以下为例子数据 图1 图1 首先根据要求取出BeforeMeal要在7.0以下 并且 bingAfterMeal要在11.1以下 select AccountId,CreateTime from DiabetesRecord where BeforeMeal < 7.0 and AfterMeal 阅读全文
posted @ 2018-07-31 16:06 怨灵骑士 阅读(5766) 评论(0) 推荐(0) 编辑
摘要: CREATE TABLE `province` ( `id` INT(11) DEFAULT NULL, `name` VARCHAR(50) DEFAULT NULL ) ENGINE=INNODB DEFAULT CHARSET=utf8; /*省份*/ insert into province values(1,'北京市'); insert into province va... 阅读全文
posted @ 2018-05-23 14:42 怨灵骑士 阅读(829) 评论(0) 推荐(0) 编辑
摘要: function getMsec(){//返回毫秒时间戳 $arr = explode(' ',microtime()); $hm = 0; foreach($arr as $v){ $hm += floor($v * 1000); } return $hm; } 阅读全文
posted @ 2018-05-22 10:01 怨灵骑士 阅读(770) 评论(0) 推荐(0) 编辑
摘要: 在package.json 加入 阅读全文
posted @ 2018-04-10 15:50 怨灵骑士 阅读(900) 评论(0) 推荐(0) 编辑
摘要: nginx中可能没有getallheaders函数 因此编写新函数 阅读全文
posted @ 2018-04-10 15:49 怨灵骑士 阅读(1606) 评论(0) 推荐(0) 编辑
摘要: ‘./configure’ ‘–prefix=/usr/local/php’ ‘–with-config-file-path=/etc’ ‘–with-mysql=/usr/local/mysql’ ‘–with-mysqli=/usr/local/mysql/bin/mysql_config’ ‘ 阅读全文
posted @ 2018-04-10 15:30 怨灵骑士 阅读(628) 评论(0) 推荐(0) 编辑
摘要: function xmltoarr($path){//xml字符串转数组 $xmlfile = file_get_contents($path);//提取xml文档中的内容以字符串格式赋给变量 $ob= simplexml_load_string($xmlfile,'SimpleXMLElement 阅读全文
posted @ 2017-12-07 10:59 怨灵骑士 阅读(2983) 评论(0) 推荐(0) 编辑