1.缺失信息提交

This commit is contained in:
2025-05-10 15:57:23 +08:00
parent 202b2bcd38
commit 014260c997
2 changed files with 7 additions and 6 deletions

View File

@ -28,11 +28,12 @@ use app\common\model\noticesetting\NoticeSetting;
use app\common\model\UserLevel;
use app\common\service\storage\Driver as StorageDriver;
use app\common\service\UrlServer;
use think\Db;
use think\facade\Db;
use think\Exception;
use app\common\service\ConfigServer;
use think\facade\Hook;
class UserServer
{
@ -53,7 +54,7 @@ class UserServer
$avatar_url = $response['headimgurl'] ?? '';
$nickname = $response['nickname'] ?? '';
(new \think\Db)->startTrans();
Db::startTrans();
// 获取存储引擎
$config = [