10 2016 档案

Tp field 字段是可以添加函数的
摘要:$info = M('Order')->alias('a') ->field('count(DISTINCT(a.order_user_id)) as buy_user_num,count(*) as sum,sum(a.close_pay) as order_sum') ->join('__APP 阅读全文

posted @ 2016-10-25 17:21 studyphp 阅读(1264) 评论(0) 推荐(0) 编辑

linux 查看php-fpm 进程数
摘要:netstat -napo |grep "php-fpm" | wc -l 阅读全文

posted @ 2016-10-21 17:51 studyphp 阅读(5480) 评论(0) 推荐(0) 编辑

WebView网页中使用到支付宝调不起来,提示ERR_UNKNOWN_URL_SCHEME
摘要:转载自:http://blog.csdn.net/u014369799/article/details/51305788 在WebView中如果使用到支付宝,需要添加以下代码,否则操作系统会将支付宝的URL拦截,导致你打不开支付宝页面。 这里要注意的是上面需要加下try catch,因为你传过来的u 阅读全文

posted @ 2016-10-21 17:48 studyphp 阅读(3003) 评论(0) 推荐(0) 编辑

JS 获取服务器时间
摘要:function getSevertime(){ var xmlHttp = new XMLHttpRequest(); xmlHttp.open("get",location.href,false); xmlHttp.send(); var severtime=new Date(xmlHttp.g 阅读全文

posted @ 2016-10-20 16:54 studyphp 阅读(125) 评论(0) 推荐(0) 编辑

[ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
摘要:mysql 启动总是报错: 错误日志中显示: [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist 表不存在,肯定指定目录datadir错了 vi /etc/my.cnf 阅读全文

posted @ 2016-10-10 10:21 studyphp 阅读(659) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

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