摘要:
$subQuery = M("zstar_apply_goods") ->join("LEFT JOIN shop_products ON zstar_apply_goods.ShopToken = shop_products.ShopToken") ->where($where) ->field("zstar_apply_goods.ShopToken") ->... 阅读全文
posted @ 2018-03-03 16:26
王静文
阅读(130)
评论(0)
推荐(0)
摘要:
try{ if($result==false){ throw new \Exception("错误提示信息"); } $data['status'] = "200"; $data['message'] = "SUCCESS"; } catch(\Exception $e){ $data['status'] = "201"; $data['message'] = $e->getMessage();... 阅读全文
posted @ 2018-03-03 16:25
王静文
阅读(181)
评论(0)
推荐(0)
摘要:
$ere['lng'] = array('between',array($lng-1,$lng+1)); $ere['lat'] = array('between',array($lat-1,$lat+1)); $str = "ROUND(6378.138 * 2 * ASIN(SQRT(POW(SIN(($lat* PI() / 180 - lat * PI() / 180) / 2), 2)... 阅读全文
posted @ 2018-03-03 15:43
王静文
阅读(1043)
评论(0)
推荐(0)
摘要:
php方法 PHP使用方法 阅读全文
posted @ 2018-03-03 15:40
王静文
阅读(172)
评论(0)
推荐(0)
摘要:
$getDatas = $_POST; if(empty($getDatas)) $getDatas = file_get_contents("php://input"); $getDatas = json_decode($getDatas,true); 阅读全文
posted @ 2018-03-03 15:40
王静文
阅读(177)
评论(0)
推荐(0)
摘要:
join(" ",str_split(“125689564896665”,4)) 阅读全文
posted @ 2018-03-03 15:38
王静文
阅读(421)
评论(0)
推荐(0)
浙公网安备 33010602011771号