Commit 66e78e68 authored by suntao's avatar suntao

Merge branch 'v1' of http://git.quantgroup.cn/QG/cash-loan-flow-boss into v1

# By junquan.wang@quantgroup.cn
# Via junquan.wang@quantgroup.cn
* 'v1' of http://git.quantgroup.cn/QG/cash-loan-flow-boss:
  清除用户活跃订单修改返回类型
parents 4e27e083 4e14818f
......@@ -120,8 +120,9 @@ public class UserController {
*/
@PutMapping("/order/clean")
@Security(authorityId = "User.cleanUserOrder")
public Tuple<Boolean,String> cleanUserOrder(@RequestParam @Valid @NotEmpty(message = "无效的用户手机号") String mobile) {
return this.xyqbUserService.cleanUserOrder(mobile);
public Result<Boolean> cleanUserOrder(@RequestParam @Valid @NotEmpty(message = "无效的用户手机号") String mobile) {
Tuple<Boolean, String> result = this.xyqbUserService.cleanUserOrder(mobile);
return Result.buildSuccess(result.getKey(),result.getValue());
}
/**
......
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