部分前台接口

This commit is contained in:
2025-05-07 16:52:49 +08:00
parent 7a08ac219e
commit 8a99bcb904
8 changed files with 65 additions and 5 deletions

View File

@@ -61,7 +61,7 @@ class UtilsService
*/
public function notAuth($msg): mixed
{
exit(json_encode(['msg' => $msg, 'code' => ErrorEnum::NOT_AUTH->value]));
return self::errorThrow($msg, ErrorEnum::NOT_AUTH);
}
/**