Commit 3948d60b by 陶光胜

init

parent ac1b2af2
package com.gic.finance.web.controller;
import com.gic.authcenter.security.core.util.UserUtils;
import com.gic.commons.webapi.reponse.RestResponse;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("/user")
public class UserController {
@RequestMapping("/userinfo")
public RestResponse userInfo(){
return RestResponse.success(UserUtils.getUser());
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment