作者 郭文星
@@ -55,6 +55,9 @@ class Client extends Base @@ -55,6 +55,9 @@ class Client extends Base
55 ->field('a.*,b.address,b.name,b.phone') 55 ->field('a.*,b.address,b.name,b.phone')
56 ->where($where)->find(); 56 ->where($where)->find();
57 if(!empty($activity)){ 57 if(!empty($activity)){
  58 + $store = Db::name('verification_store')->where(['id'=>$activity['verification_store_id']])->field('lat,lng')->find();
  59 + $activity['lat'] = $store['lat'];
  60 + $activity['lng'] = $store['lng'];
58 $activity['image'] = !empty($activity['poster'])?request()->domain().$activity['image']:''; 61 $activity['image'] = !empty($activity['poster'])?request()->domain().$activity['image']:'';
59 $activity['poster'] = !empty($activity['poster'])?request()->domain().$activity['poster']:''; 62 $activity['poster'] = !empty($activity['poster'])?request()->domain().$activity['poster']:'';
60 } 63 }