浏览代码

更新账户条件拼写优化

wufeng 2 年之前
父节点
当前提交
c50fea2240
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/controller/UserCompanyBasic.php

+ 1 - 1
app/controller/UserCompanyBasic.php

@@ -221,7 +221,7 @@ class UserCompanyBasic extends BaseController
                 ]);
 
             Db::name('account')
-                ->where(['account_id', $post['id']])
+                ->where('id', $post['id'])
                 ->update([
                     'id' => $post['id'],
                     'mobile' => $post['mobile'],