Processing math: 100%

11 2018 档案

摘要:$array = [ '0' => [ 'name' => '111', 'age' => '2', ], '1' => [ 'name' ... 阅读全文
posted @ 2018-11-28 21:22 盘思动 阅读(275) 评论(0) 推荐(0) 编辑
摘要:正则表达式如下: /(^[1-9]\d*(\.\d{1,2})?)|(0(\.\d1,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 盘思动 阅读(1005) 评论(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 盘思动 阅读(453) 评论(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 盘思动 阅读(767) 评论(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 盘思动 阅读(264) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示