mirror of
https://gitee.com/dromara/dax-pay.git
synced 2025-09-06 04:27:55 +00:00
feat 分账更新
This commit is contained in:
@@ -7,6 +7,7 @@ import cn.bootx.platform.common.core.rest.dto.LabelValue;
|
||||
import cn.bootx.platform.common.core.rest.param.PageParam;
|
||||
import cn.bootx.platform.daxpay.param.pay.AllocationSyncParam;
|
||||
import cn.bootx.platform.daxpay.param.pay.allocation.AllocationFinishParam;
|
||||
import cn.bootx.platform.daxpay.param.pay.allocation.AllocationResetParam;
|
||||
import cn.bootx.platform.daxpay.service.core.order.allocation.service.AllocationOrderService;
|
||||
import cn.bootx.platform.daxpay.service.core.payment.allocation.service.AllocationService;
|
||||
import cn.bootx.platform.daxpay.service.core.payment.allocation.service.AllocationSyncService;
|
||||
@@ -87,4 +88,13 @@ public class AllocationOrderController {
|
||||
allocationService.finish(param);
|
||||
return Res.ok();
|
||||
}
|
||||
|
||||
@Operation(summary = "分账重试")
|
||||
@PostMapping("/retry")
|
||||
public ResResult<Void> retryAllocation(Long id){
|
||||
AllocationResetParam param = new AllocationResetParam();
|
||||
param.setOrderId(id);
|
||||
allocationService.retryAllocation(param);
|
||||
return Res.ok();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user