1.缺失信息提交
This commit is contained in:
@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user