Merge branch 'master' of http://47.108.67.251:8099/coupon.xp.yn.cn/coupon_backend
正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
@@ -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 | } |
-
请 注册 或 登录 后发表评论