|
@@ -14,6 +14,7 @@ import org.apache.dubbo.config.annotation.DubboReference;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.DeleteMapping;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.PutMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
@@ -56,7 +57,7 @@ public class UserController {
|
|
|
*
|
|
|
* @param param 修改参数
|
|
|
*/
|
|
|
- @PutMapping("/user/updateUser")
|
|
|
+ @PostMapping("/user/updateUser")
|
|
|
public void updateUser(@RequestBody @Valid UserModifyParam param) {
|
|
|
this.userService.updateUser(param);
|
|
|
}
|