Commit c3bc1825 authored by 王俊权's avatar 王俊权

清除用户活跃订单

parent be14627e
...@@ -124,23 +124,23 @@ public class UserController { ...@@ -124,23 +124,23 @@ public class UserController {
/** /**
* 清除用户活跃订单 * 清除用户活跃订单
* *
* @param phoneNo 用户ID * @param mobile 用户ID
* @return * @return
*/ */
@PutMapping("/order/clean") @PutMapping("/order/clean")
public Boolean cleanUserOrder(@RequestParam @Valid @NotEmpty(message = "无效的用户手机号") String phoneNo) { public Boolean cleanUserOrder(@RequestParam @Valid @NotEmpty(message = "无效的用户手机号") String mobile) {
return this.xyqbUserService.cleanUserOrder(phoneNo); return this.xyqbUserService.cleanUserOrder(mobile);
} }
/** /**
* 删除订单 * 删除订单
* *
* @param phoneNo 用户ID * @param mobile 用户ID
* @return * @return
*/ */
@PutMapping("/info/clean") @PutMapping("/info/clean")
public Boolean deleteByUserId(@RequestParam @Valid @NotEmpty(message = "无效的用户手机号") String phoneNo) { public Boolean deleteByUserId(@RequestParam @Valid @NotEmpty(message = "无效的用户手机号") String mobile) {
return this.xyqbUserService.deleteByUserId(phoneNo); return this.xyqbUserService.deleteByUserId(mobile);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment