重试分账接口

This commit is contained in:
Guoqs
2025-04-11 14:39:00 +08:00
parent 3f26010b7d
commit aef1dcade4
5 changed files with 67 additions and 8 deletions

View File

@@ -818,4 +818,21 @@ public class TempController extends BaseController {
}
return response;
}
/**
* 重试分账接口
* http://localhost:8080/temp/retryOrderSplit
*/
@PostMapping("/retryOrderSplit")
public RestApiResponse<?> retryOrderSplit(@RequestBody QueryOrderDTO dto) {
RestApiResponse<?> response;
try {
tempService.retrySplittingMethod(dto.getOrderCode());
response = new RestApiResponse<>();
} catch (Exception e) {
logger.error("重试分账接口error,", e);
response = new RestApiResponse<>(e);
}
return response;
}
}