|
|
@ -14,6 +14,7 @@ import com.spring.common.validator.group.UpdateGroup; |
|
|
import com.spring.modules.base.data.SysUserEntityData; |
|
|
import com.spring.modules.base.data.SysUserEntityData; |
|
|
import com.spring.modules.sys.entity.SysUserEntity; |
|
|
import com.spring.modules.sys.entity.SysUserEntity; |
|
|
import com.spring.modules.sys.entity.UserJobEntity; |
|
|
import com.spring.modules.sys.entity.UserJobEntity; |
|
|
|
|
|
import com.spring.modules.sys.form.IfsPassWordForm; |
|
|
import com.spring.modules.sys.form.PasswordForm; |
|
|
import com.spring.modules.sys.form.PasswordForm; |
|
|
import com.spring.modules.sys.service.SysUserRoleService; |
|
|
import com.spring.modules.sys.service.SysUserRoleService; |
|
|
import com.spring.modules.sys.service.SysUserService; |
|
|
import com.spring.modules.sys.service.SysUserService; |
|
|
@ -111,6 +112,19 @@ public class SysUserController extends AbstractController { |
|
|
return R.ok(getLanguageMsg(SysMsgConstant.OBJECT_ID_200000)); |
|
|
return R.ok(getLanguageMsg(SysMsgConstant.OBJECT_ID_200000)); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@SysLog("修改IFS账号密码") |
|
|
|
|
|
@PostMapping("/updateIfsPassWord") |
|
|
|
|
|
public R updateIfsPassWord(@RequestBody IfsPassWordForm form){ |
|
|
|
|
|
|
|
|
|
|
|
//更新密码 |
|
|
|
|
|
boolean flag = sysUserService.updateIFSPassword(getUserId(), form.getIfsUsername(), form.getIfsPassword()); |
|
|
|
|
|
if(!flag){ |
|
|
|
|
|
return R.error(getLanguageMsg(SysMsgConstant.OBJECT_ID_200216)); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return R.ok(getLanguageMsg(SysMsgConstant.OBJECT_ID_200000)); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 用户信息 |
|
|
* 用户信息 |
|
|
*/ |
|
|
*/ |
|
|
|