...
|
...
|
@@ -435,7 +435,9 @@ class HouseAdmin extends Api |
|
|
);
|
|
|
foreach ($user_id_arr as $user_id) {
|
|
|
$openid = Db::name('third')->where('user_id',$user_id)->value('openid');
|
|
|
$url = config('option.vue_url') . '/messagelk?is_template=1&house_id='.$post['house_id'].'&user_id='.$user_id;
|
|
|
// 把用户的当前社区改为发送公告的小区
|
|
|
Db::name('user')->where('id',$user_id)->setField('house_id',$post['house_id']);
|
|
|
$url = config('option.vue_url') . '/affiche';
|
|
|
$this->wxsendmessage($openid,$send_data,config('option.template')['msg'],$url);
|
|
|
}
|
|
|
}
|
...
|
...
|
|