TASK:自动审批;
This commit is contained in:
@@ -107,4 +107,22 @@ public class AccountController {
|
||||
public Response<Boolean> trialOrderApproval(@RequestParam("ids") List<Long> ids) {
|
||||
return Response.success(accountService.trialOrderApproval(ids));
|
||||
}
|
||||
|
||||
@ApiOperation(value = "拒绝试用订单审批")
|
||||
@PostMapping("/trialOrderRefuse")
|
||||
public Response<Boolean> trialOrderRefuse(@RequestParam("ids") List<Long> ids) {
|
||||
return Response.success(accountService.trialOrderRefuse(ids));
|
||||
}
|
||||
|
||||
@ApiOperation(value = "获取是否自动审评")
|
||||
@PostMapping("/getIsAutoApproval")
|
||||
public Response<Boolean> getIsAutoApproval() {
|
||||
return Response.success(accountService.getIsAutoApproval());
|
||||
}
|
||||
|
||||
@ApiOperation(value = "切换是否自动审评")
|
||||
@PostMapping("/switchIsAutoApproval")
|
||||
public Response<Boolean> switchIsAutoApproval() {
|
||||
return Response.success(accountService.switchIsAutoApproval());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user