mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
新增接口, 设置订单待补缴金额
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user