代码:
$user = app()->make(UserServices::class);
if(!$user->update($user['id'], ['integral' => $balance])){
$res3=false;
}
错误提示:
[2024-06-20T11:11:01+08:00][error] [8192]Non-static method think\db\BaseQuery::update() should not be called statically[/www/wwwroot/www.xiletian.cn/app/dao/BaseDao.php:247]
{{item.user_info.nickname ? item.user_info.nickname : item.user_name}}
作者 管理员 企业
{{itemf.name}}
{{itemc.user_info.nickname}}
{{itemc.user_name}}
回复 {{itemc.comment_user_info.nickname}}
{{itemf.name}}