...
|
...
|
@@ -71,19 +71,19 @@ public class TradeBillsController { |
|
|
@RequestMapping(value = "/manualStopTransfer")
|
|
|
public ApiResponse manualStopTransfer() {
|
|
|
billsTradeService.manualStopTransfer();
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).message("手动关闭打款").build();
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).message("关闭打款").build();
|
|
|
}
|
|
|
|
|
|
@RequestMapping(value = "/manualStartUpTransfer")
|
|
|
public ApiResponse manualStartUpTransfer() {
|
|
|
billsTradeService.manualStartUpTransfer();
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).message("手动开启打款").build();
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).message("开启打款").build();
|
|
|
}
|
|
|
|
|
|
@RequestMapping(value = "/getTransferSwitchOff")
|
|
|
public ApiResponse getTransferSwitchOff() {
|
|
|
boolean flag = billsTradeService.getTransferSwitchOff();
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).data(flag ? "开关【关闭】" : "开关【打开】").message("手动开启打款").build();
|
|
|
return new ApiResponse.ApiResponseBuilder().code(200).data(flag ? "开关【关闭】" : "开关【打开】").message("开启打款").build();
|
|
|
}
|
|
|
|
|
|
|
...
|
...
|
|