|
@@ -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;
|