Explorar o código

更新账户条件拼写优化

wufeng %!s(int64=2) %!d(string=hai) anos
pai
achega
c50fea2240
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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'],