Jonlin 6 anni fa
parent
commit
987ccb974d
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      application/index/controller/User.php

+ 1 - 0
application/index/controller/User.php

@@ -158,6 +158,7 @@ class User extends Controller
                 db('accountsmessage')->insertGetId($param);
                 if(!empty($info)){
                     db('accounts')->where('id',$account_id)->update($info);
+                    db('accountsmessage')->where('account_id',$account_id)->update($info);
                 }
             }catch(\Exception $e){
                 return json(['code' => -1, 'data' => '', 'msg' => $e->getMessage()]);