上一页 1 ··· 105 106 107 108 109 110 111 112 113 ··· 133 下一页
摘要: /usr/local/nginx/logs/error.log 阅读全文
posted @ 2018-12-14 10:48 盘思动 阅读(510) 评论(0) 推荐(0)
摘要: layer.msg('sssssss',{time:4000}); 阅读全文
posted @ 2018-12-12 11:35 盘思动 阅读(1941) 评论(0) 推荐(1)
摘要: 实测有效: https://blog.csdn.net/mukes/article/details/83304359 阅读全文
posted @ 2018-12-08 13:10 盘思动 阅读(1429) 评论(1) 推荐(0)
摘要: https://www.cnblogs.com/wangsongbai/p/9116228.html 阅读全文
posted @ 2018-12-05 21:37 盘思动 阅读(563) 评论(0) 推荐(0)
摘要: /** * 分 转为 钱 */public static function cent2yuan($price) { return bcdiv($price,100,2);}/** * 元 转为 分 */public static function yuan2cent($price) { return 阅读全文
posted @ 2018-12-03 20:02 盘思动 阅读(236) 评论(0) 推荐(0)
摘要: $array = [ '0' => [ 'name' => '111', 'age' => '2', ], '1' => [ 'name' ... 阅读全文
posted @ 2018-11-28 21:22 盘思动 阅读(277) 评论(0) 推荐(0)
摘要: 正则表达式如下: /(^[1-9]\d*(\.\d{1,2})?$)|(^0(\.\d{1,2})?$)/价格符合两种格式 ^[1-9]\d*(.\d{1,2})?$ : 1-9开头,后跟是0-9,可以跟小数点,但小数点后要带上1-2位小数,类似2,2.0,2.1,2.22等^0(.\d{1,2}) 阅读全文
posted @ 2018-11-12 19:40 盘思动 阅读(1016) 评论(0) 推荐(0)
摘要: function addresstolatlag($address){ $url = 'http://api.map.baidu.com/geocoder/v2/?address='.$address.'&output=json&ak=xxxxxxxxxxxxxxx'; //http://lbsyu 阅读全文
posted @ 2018-11-08 18:10 盘思动 阅读(459) 评论(0) 推荐(0)
摘要: 更换:git remote set-url origin http://git.******.cn/sucry/mouse.git 直接更换,无需删除 注意:上面是更换,如果是空的,需要添加路径,而不是更换 git remote add origin http://......file.git 阅读全文
posted @ 2018-11-07 09:42 盘思动 阅读(774) 评论(1) 推荐(0)
摘要: function dealed_array_merge($a,$b){ if ($a && !$b){ return $a; } if (!$a && $b){ return $b; } if ($a && $b){ return array_merge($a,$b); } return [];} 阅读全文
posted @ 2018-11-06 14:31 盘思动 阅读(268) 评论(0) 推荐(0)
上一页 1 ··· 105 106 107 108 109 110 111 112 113 ··· 133 下一页