...
|
...
|
@@ -49,7 +49,7 @@ class ActivityController extends HomeBaseController |
|
|
require_once EXTEND_PATH . '/WeChatCommon.php';
|
|
|
$wx = new \WeChatCommon();
|
|
|
$pos = Db:: name('user')->field('lat,lng')->where(['id'=>session('user.id')])->find();
|
|
|
print_r($pos);
|
|
|
print_r(anti_analysis($pos['lat'], $pos['lng']));
|
|
|
return $this->fetch(':_list', [
|
|
|
'result' => $result,
|
|
|
'js_sdk' => $wx->js_sdk(),
|
...
|
...
|
|