lizhen_gitee 11 bulan lalu
induk
melakukan
302271992a
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      application/api/controller/User.php

+ 1 - 1
application/api/controller/User.php

@@ -522,7 +522,7 @@ class User extends Api
                 'video_sec' => config('site.man_reg_video_sec'),
                 'typing_times' => config('site.man_reg_typing_times'),
             ];
-            Db::name('user_wallet')->where('id',$this->auth->id)->update($gift_data);
+            Db::name('user_wallet')->where('user_id',$this->auth->id)->update($gift_data);
 
             //修改财富值等级为1级
             $data['wealth_level'] = 1;