新增接口, 设置订单待补缴金额

This commit is contained in:
Guoqs
2025-04-01 16:17:04 +08:00
parent 0e7e1d9373
commit 3ff52f85f0
4 changed files with 57 additions and 1 deletions

View File

@@ -784,7 +784,7 @@ public class TempController extends BaseController {
/**
* 重试订单退款接口/重试退款按钮 (批量)
* http://localhost:8080/order/retryRefundOrderBatch
* http://localhost:8080/temp/retryRefundOrderBatch
*/
@PostMapping("/retryRefundOrderBatch")
public RestApiResponse<?> retryRefundOrderBatch(@RequestBody ApplyRefundDTO dto) {
@@ -801,4 +801,21 @@ public class TempController extends BaseController {
}
return response;
}
/**
* 设置订单待补缴金额
* http://localhost:8080/temp/setOrderSupplementAmount
*/
@PostMapping("/setOrderSupplementAmount")
public RestApiResponse<?> setOrderSupplementAmount(HttpServletRequest request, @RequestBody OrderSupplementAmountDTO dto) {
RestApiResponse<?> response;
try {
orderBasicInfoService.setOrderSupplementAmount(dto);
response = new RestApiResponse<>();
} catch (Exception e) {
logger.error("设置订单待补缴金额error,", e);
response = new RestApiResponse<>(e);
}
return response;
}
}