01 2017 档案

摘要://判断两个时间段是否有交集 private function checkTimeCross($start_time,$end_time){ $sql = "select id from dkh_recharge_activity where ( status = 1 AND is_del = 0 ) AND ((start_time > {$start_time... 阅读全文
posted @ 2017-01-17 18:27 一个人的孤独自白 阅读(3972) 评论(0) 推荐(0) 编辑
摘要:/** * 对多维数组进行排序(按照指定的键的大小) * @param $multi_array 数组 * @param $sort_key需要传入的键名 * @param $sort排序类型 SORT_DESC SORT_ASC */ private function multi_array_sort($multi_array,... 阅读全文
posted @ 2017-01-17 18:25 一个人的孤独自白 阅读(441) 评论(0) 推荐(0) 编辑
摘要:在学习git的时候,发现不能使用git clone从github.com下载,报了个ssl错误。 Cloning into cancan... error: SSL certificate problem, verify that the CA cert is OK. Details: error: 阅读全文
posted @ 2017-01-10 16:04 一个人的孤独自白 阅读(1372) 评论(0) 推荐(0) 编辑
摘要:/** * 把金额由元转为分 */ public static function amountToFen($amount){ $amount = $amount * 100; if(strpos($amount, '.') !== false){ return ceil($amount); ... 阅读全文
posted @ 2017-01-10 14:40 一个人的孤独自白 阅读(322) 评论(0) 推荐(0) 编辑

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