类 UserProfileController
java.lang.Object
com.iplatform.base.AbstractController
com.iplatform.base.AbstractSecurityController
com.iplatform.base.AbstractFileOperateSpiController
com.iplatform.base.SystemController
com.iplatform.base.controller.UserProfileController
- 所有已实现的接口:
org.springframework.beans.factory.InitializingBean
@RestController
@RequestMapping("/system/user/profile")
public class UserProfileController
extends SystemController
-
嵌套类概要
从类继承的嵌套类/接口 com.iplatform.base.AbstractController
AbstractController.ResponseFormat -
字段概要
从类继承的字段 com.iplatform.base.AbstractController
DEFAULT_JS_NAME, DEFAULT_PAGER_VIEW_NAME, logger -
构造器概要
构造器构造器说明UserProfileController(UserServiceImpl userService, SecurityUserProperties securityUserProperties) -
方法概要
修饰符和类型方法说明com.walker.web.ResponseValueavatar(org.springframework.web.multipart.MultipartFile file) com.walker.web.ResponseValueforceChangePassword(String encryptPassword) 强制当前用户修改密码com.walker.web.ResponseValueindex()返回登录用户基本信息。com.walker.web.ResponseValueupdateNameAndPassword(UserInfoRequest request) 后台用户修改资料:姓名和密码,后续扩展。从类继承的方法 com.iplatform.base.SystemController
afterPropertiesSet, downloadLocalImportTemplate, getCaptchaCacheProvider, getCurrentOrgMenuScope, getCurrentWebUserAgent, getDataImportEngine, getDept, getDeptCacheProvider, getDeptName, getDictCacheProvider, getDictName, getLoginStrategyManager, getNotificationTemplateCache, getOrgListScope, getOwner, getPushManager, getRootOrgIdByDept, getSmsCaptchaProvider, getUser, getUserCacheProvider, getUserLoginCache, getUserRootOrgId, getUserService, getWebAgentService, sendSmsCodeValidation, setCaptchaCacheProvider, setDeptCacheProvider, setDictCacheProvider, setPlatformDataImportEngine, setPushManager, setSmsCaptchaProvider, setUserCacheProvider, systemLogError, systemLogSuccess, validateSmsCode从类继承的方法 com.iplatform.base.AbstractFileOperateSpiController
acquireFileOperateSpi, clearCdnPrefix, getCdnUrl, getFileInfo, getFileInfoList, getLocalFileData, uploadFileToLocal, uploadFileToLocal, uploadFileToLocal, uploadFileToLocal, uploadFileToLocal, uploadFileToRemote, uploadFileToRemote, uploadFileToRemote, uploadFileToRemote, uploadFileToRemote, uploadFileToRemote, uploadFileToRemote从类继承的方法 com.iplatform.base.AbstractSecurityController
acquireSecurityUserProperties, encryptPassword, getCurrentDataScope, getCurrentUser, getCurrentUserId, getCurrentUserPrincipal, getCurrentUserRoleIdList, isSupervisor, loginAsWorkflowRole, matchesPassword, validatePasswordRule从类继承的方法 com.iplatform.base.AbstractController
acquireTablePage, ajaxOutputFileStream, ajaxOutputFileStream, ajaxOutPutHtml, ajaxOutPutJson, ajaxOutPutText, ajaxOutPutXml, downloadSimpleFile, getArgumentManager, getArgumentVariable, getAttribute, getContextPath, getDoubleParameter, getFloatParameter, getIntParameter, getLongParameter, getParameter, getParameterUTF8, getParameterValues, getParamsDateTime, getPlatformCallback, getRequest, getResponse, getServerDomain, getThirdPartyManager, preparePageSearch, print, setAttribute, setDefaultContentType
-
构造器详细资料
-
UserProfileController
@Autowired public UserProfileController(UserServiceImpl userService, SecurityUserProperties securityUserProperties)
-
-
方法详细资料
-
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-- 返回:
-