前台部分接口

This commit is contained in:
2025-05-07 14:48:34 +08:00
parent 6e963b23b0
commit d3bb8380e2
19 changed files with 575 additions and 62 deletions

View File

@@ -53,4 +53,32 @@ class UserController extends BaseController
'重置密码成功'
);
}
/**
* 获取当前用户信息
* @Method GET
* @return JsonResponse
* @throws Exception
*/
public function myInfo(): JsonResponse
{
return jok(
$this->service->myInfo(),
'获取成功'
);
}
/**
* 获取当前用户信息
* @Method GET
* @return JsonResponse
* @throws Exception
*/
public function userStats(): JsonResponse
{
return jok(
$this->service->userStats(),
'获取成功'
);
}
}