From 387f374d7edb2f04edfed14752d7f27019f25bbb Mon Sep 17 00:00:00 2001 From: Anyon Date: Tue, 24 Nov 2020 18:10:31 +0800 Subject: [PATCH] Update UserService.php --- app/data/service/UserService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/data/service/UserService.php b/app/data/service/UserService.php index e5bee12c1..d7c4d71cb 100644 --- a/app/data/service/UserService.php +++ b/app/data/service/UserService.php @@ -62,7 +62,7 @@ class UserService extends Service $uid = $this->app->db->name('DataUser')->strict(false)->insertGetId($data); } if ($force) $this->buildUserToken($uid, $type); - return $this->get($uid, $type); + return $this->get($type, $uid); } /**