代码:
$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]