06 2021 档案
摘要:php 用round(x,2) 函数来进行四舍五入,与mysql ROUND()函数保持一致 sprintf() 函数计算四舍五入与前端的函数一样会奇数1.155这样子不会进位
阅读全文
posted @ 2021-06-29 14:33
我是叮当啊
摘要:update a set colume1 case when colume1 = 'abc' then 'bcd' end where colume2 = 'ddd' 这样除了第一条被更新为bcd之外,其他两条都会更新成空值 正确写法应该要加上else update a set colume1 ca
阅读全文
posted @ 2021-06-28 18:02
我是叮当啊
摘要:引入了微信消息解码的包,因为不兼容php7.2,所以做了部分修改 链接: https://pan.baidu.com/s/1-TGZ6C3nZ3JI7_4QfxYbRg 提取码: 7itq require_once 'lib/wxBizMsgCrypt.php';class WxThird{ pub
阅读全文
posted @ 2021-06-21 14:44
我是叮当啊
摘要:class UnionScanQrCode{ protected $appId; protected $appKey; protected $mid; protected $tid; protected $fromCode; protected $authorization = 'OPEN-FORM
阅读全文
posted @ 2021-06-21 14:32
我是叮当啊
摘要:1.centos安装docker服务 sudo yum install -y yum-utils sudo yum-config-manager \ --add-repo \ http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.rep
阅读全文
posted @ 2021-06-21 14:27
我是叮当啊

浙公网安备 33010602011771号