正在显示
1 个修改的文件
包含
3 行增加
和
2 行删除
@@ -141,13 +141,14 @@ class StoreInform extends Backend | @@ -141,13 +141,14 @@ class StoreInform extends Backend | ||
141 | "keyword2" => '审核通过', | 141 | "keyword2" => '审核通过', |
142 | "remark" => ['点击查看详情','#FF0000'], | 142 | "remark" => ['点击查看详情','#FF0000'], |
143 | ); | 143 | ); |
144 | - $store = $row->store; | ||
145 | - $house_ids = trim($store->house_ids,','); | 144 | + // 推广社区 |
145 | + $house_ids = trim($row->house_ids,','); | ||
146 | // 该店铺投放广告的小区业主ID | 146 | // 该店铺投放广告的小区业主ID |
147 | $user_id_arr = \app\api\model\UserHouse::where('status',2) | 147 | $user_id_arr = \app\api\model\UserHouse::where('status',2) |
148 | ->where('house_id','in',$house_ids) | 148 | ->where('house_id','in',$house_ids) |
149 | ->column('user_id'); | 149 | ->column('user_id'); |
150 | if(!empty($user_id_arr)){ | 150 | if(!empty($user_id_arr)){ |
151 | + $store = $row->store; | ||
151 | $send_data1 = array( | 152 | $send_data1 = array( |
152 | "first" => '你家小区附近有商家发福利啦,快来领取!', | 153 | "first" => '你家小区附近有商家发福利啦,快来领取!', |
153 | "keyword1" => $store->store_name, | 154 | "keyword1" => $store->store_name, |
-
请 注册 或 登录 后发表评论