mirror of https://gitee.com/stylefeng/roses
【7.6.0】【sys】【首页用户详情接口】更新获取用户信息为Get接口
parent
e6fcedfb6f
commit
515bd34129
|
@ -3,7 +3,7 @@ package cn.stylefeng.roses.kernel.sys.modular.login.controller;
|
|||
import cn.stylefeng.roses.kernel.rule.pojo.response.ResponseData;
|
||||
import cn.stylefeng.roses.kernel.rule.pojo.response.SuccessResponseData;
|
||||
import cn.stylefeng.roses.kernel.scanner.api.annotation.ApiResource;
|
||||
import cn.stylefeng.roses.kernel.scanner.api.annotation.PostResource;
|
||||
import cn.stylefeng.roses.kernel.scanner.api.annotation.GetResource;
|
||||
import cn.stylefeng.roses.kernel.sys.modular.login.pojo.UserIndexInfo;
|
||||
import cn.stylefeng.roses.kernel.sys.modular.login.service.UserIndexInfoService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
@ -31,7 +31,7 @@ public class UserIndexInfoController {
|
|||
* @author fengshuonan
|
||||
* @since 2023/6/18 22:08
|
||||
*/
|
||||
@PostResource(name = "获取用户登录后的信息", path = "/userIndexInfo")
|
||||
@GetResource(name = "获取用户登录后的信息", path = "/userIndexInfo")
|
||||
public ResponseData<UserIndexInfo> userIndexInfo() {
|
||||
return new SuccessResponseData<>(userIndexInfoService.getUserIndexInfo());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue