mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-19 18:45:03 +08:00
update
This commit is contained in:
@@ -666,4 +666,21 @@ public class TempController extends BaseController {
|
||||
}
|
||||
return response;
|
||||
}
|
||||
|
||||
/**
|
||||
* 手动接口, 执行新的分账方法
|
||||
* https://localhost:8080/temp/realTimeOrderSplit
|
||||
*/
|
||||
@PostMapping("/realTimeOrderSplit")
|
||||
public RestApiResponse<?> splitTheBillForOrderTemp(@RequestBody AfterSettleOrderDTO afterSettleOrderDTO) {
|
||||
RestApiResponse<?> response;
|
||||
try {
|
||||
orderBasicInfoService.realTimeOrderSplit(afterSettleOrderDTO);
|
||||
response = new RestApiResponse<>();
|
||||
} catch (Exception e) {
|
||||
logger.error("手动接口, 执行新的分账方法error", e);
|
||||
response = new RestApiResponse<>("00200005", "手动分账接口失败");
|
||||
}
|
||||
return response;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user