类 UserController
- java.lang.Object
-
- io.edurt.datacap.server.controller.user.UserController
-
@RestController @RequestMapping("/api/v1/user") public class UserController extends Object
-
-
构造器概要
构造器 构造器 说明 UserController(UserService userService, UserLogService userLogService)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Response<Long>changePassword(UserPasswordBody configure)Response<Long>changeThirdConfigure(Map<String,Map<String,Object>> configure)Response<Long>changeUsername(UserNameBody configure)Response<PageEntity<UserLogEntity>>getAllLogByFilter(FilterBody filter)Response<UserEntity>info(Long id)Response<Object>startChat(UserQuestionBody configure)
-
-
-
构造器详细资料
-
UserController
public UserController(UserService userService, UserLogService userLogService)
-
-
方法详细资料
-
info
@GetMapping({"{id}",""}) public Response<UserEntity> info(@PathVariable(required=false) Long id)
-
changePassword
@PutMapping("changePassword") public Response<Long> changePassword(@Validated @RequestBody UserPasswordBody configure)
-
changeUsername
@PutMapping("changeUsername") public Response<Long> changeUsername(@Validated @RequestBody UserNameBody configure)
-
changeThirdConfigure
@PutMapping("changeThirdConfigure") public Response<Long> changeThirdConfigure(@Validated @RequestBody Map<String,Map<String,Object>> configure)
-
getAllLogByFilter
@PostMapping("log") public Response<PageEntity<UserLogEntity>> getAllLogByFilter(@RequestBody FilterBody filter)
-
startChat
@PostMapping("startChat") public Response<Object> startChat(@RequestBody UserQuestionBody configure)
-
-