类 UserProfileController

所有已实现的接口:
org.springframework.beans.factory.InitializingBean

@RestController @RequestMapping("/system/user/profile") public class UserProfileController extends SystemController
  • 构造器详细资料

  • 方法详细资料

    • index

      @GetMapping public com.walker.web.ResponseValue index()
      返回登录用户基本信息。
      返回:
    • avatar

      @PostMapping("/avatar") public com.walker.web.ResponseValue avatar(org.springframework.web.multipart.MultipartFile file)
    • updateNameAndPassword

      @RequestMapping(value="/updateInfo", method=POST) public com.walker.web.ResponseValue updateNameAndPassword(@RequestBody UserInfoRequest request)
      后台用户修改资料:姓名和密码,后续扩展。
      参数:
      request -
      返回:
    • forceChangePassword

      @RequestMapping(value="/force_change_pass", method=POST) public com.walker.web.ResponseValue forceChangePassword(String encryptPassword)
      强制当前用户修改密码
      参数:
      encryptPassword -
      返回: