...
|
...
|
@@ -108,6 +108,9 @@ class Wechat extends Frontend |
|
|
if($user){
|
|
|
$info = UserHouse::get(['user_id'=>$user['id'],'house_id'=>$house_id]);
|
|
|
if(!empty($info) && $info['status'] == 2){
|
|
|
// 添加当前社区
|
|
|
$user->house_id = $house_id;
|
|
|
$user->save();
|
|
|
return sprintf($content,$user['id_num']);
|
|
|
}
|
|
|
Db::startTrans();
|
...
|
...
|
|