...
|
...
|
@@ -116,6 +116,10 @@ class UserHouse extends Backend |
|
|
if(!$user['house_id']) {
|
|
|
$user_model->where('id',$row->user_id)->update(['house_id'=>$row->house_id]);
|
|
|
}
|
|
|
// 新增社区用户数
|
|
|
if ($params['status'] == 2) {
|
|
|
Db::name('house')->where('id',$row->house_id)->setInc('bindnum');
|
|
|
}
|
|
|
$result = $row->save();
|
|
|
Db::commit();
|
|
|
} catch (ValidateException $e) {
|
...
|
...
|
|