作者 何书鹏
1 个管道 的构建 通过 耗费 0 秒

合并分支 'heshupeng' 到 'master'

商家广告推广社区



查看合并请求 !366
@@ -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,