|
|
@@ -7,6 +7,7 @@ import me.zhengjie.application.bank.service.BankUserService;
|
|
|
import me.zhengjie.base.ResponseDTO;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
@@ -25,7 +26,7 @@ public class BankUserController {
|
|
|
* @return
|
|
|
*/
|
|
|
@PostMapping("/update-pwd")
|
|
|
- public ResponseDTO updatePwd(BankUserPwdVO userPwdVO) {
|
|
|
+ public ResponseDTO updatePwd(@RequestBody BankUserPwdVO userPwdVO) {
|
|
|
bankUserService.updatePwd(userPwdVO);
|
|
|
return ResponseDTO.success();
|
|
|
}
|