作者 刘朕
1 个管道 的构建 通过 耗费 1 秒

合并分支 'Branch_liuzhen' 到 'master'

审核通过新增绑定用户数



查看合并请求 !212
@@ -116,6 +116,10 @@ class UserHouse extends Backend @@ -116,6 +116,10 @@ class UserHouse extends Backend
116 if(!$user['house_id']) { 116 if(!$user['house_id']) {
117 $user_model->where('id',$row->user_id)->update(['house_id'=>$row->house_id]); 117 $user_model->where('id',$row->user_id)->update(['house_id'=>$row->house_id]);
118 } 118 }
  119 + // 新增社区用户数
  120 + if ($params['status'] == 2) {
  121 + Db::name('house')->where('id',$row->house_id)->setInc('bindnum');
  122 + }
119 $result = $row->save(); 123 $result = $row->save();
120 Db::commit(); 124 Db::commit();
121 } catch (ValidateException $e) { 125 } catch (ValidateException $e) {