Compare commits

..

No commits in common. "748f3e140db6a93baedcbd9b12d3b789ff4aded0" and "5e17645aa6cf051c9092845c5b5dcfe9238617e5" have entirely different histories.

1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ public class SysProfileController extends BaseController {
*/
@Log(title = "个人信息", businessType = BusinessType.UPDATE)
@PutMapping("/updatePwd")
public Result updatePwd (@RequestParam(value = "oldPassword") String oldPassword, @RequestParam(value = "newPassword") String newPassword) {
public Result updatePwd (String oldPassword, String newPassword) {
String username = SecurityUtils.getUsername();
SysUser user = userService.selectUserByUserName(username);
String password = user.getPassword();