...
|
...
|
@@ -55,7 +55,11 @@ class Client extends Base |
|
|
->join('verification_store b','a.verification_store_id=b.id')
|
|
|
->field('a.*,b.address,b.name,b.phone as store_phone')
|
|
|
->where($where)->find();
|
|
|
|
|
|
if(!empty($activity)){
|
|
|
if($activity['status'] == '1'){
|
|
|
$this->error('活动已关闭');
|
|
|
}
|
|
|
$store = Db::name('verification_store')->where(['id'=>$activity['verification_store_id']])->field('lat,lng')->find();
|
|
|
$activity['lat'] = $store['lat'];
|
|
|
$activity['lng'] = $store['lng'];
|
...
|
...
|
|