mirror of
https://gitee.com/dromara/dax-pay.git
synced 2025-09-03 19:16:21 +00:00
perf 分账相关字段调整
This commit is contained in:
@@ -28,8 +28,8 @@ public class AllocationParam extends PaymentCommonParam {
|
||||
@Schema(description = "支付订单号")
|
||||
private String orderNo;
|
||||
|
||||
/** 商户订单号 */
|
||||
@Schema(description = "商户订单号")
|
||||
/** 商户支付订单号 */
|
||||
@Schema(description = "商户支付订单号")
|
||||
private String bizOrderNo;
|
||||
|
||||
/** 分账描述 */
|
||||
|
@@ -1,5 +1,6 @@
|
||||
package cn.daxpay.single.result.allocation;
|
||||
|
||||
import cn.daxpay.single.code.AllocOrderStatusEnum;
|
||||
import cn.daxpay.single.result.PaymentCommonResult;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
@@ -25,7 +26,10 @@ public class AllocationResult extends PaymentCommonResult {
|
||||
@Schema(description = "商户分账订单号")
|
||||
private String bizAllocationNo;
|
||||
|
||||
/** 分账状态 */
|
||||
/**
|
||||
* 分账状态
|
||||
* @see AllocOrderStatusEnum
|
||||
*/
|
||||
@Schema(description = "分账状态")
|
||||
private String status;
|
||||
}
|
||||
|
@@ -41,9 +41,9 @@ public class UniAllocationController {
|
||||
|
||||
@PaymentSign
|
||||
@InitPaymentContext(PaymentApiCode.ALLOCATION)
|
||||
@Operation(summary = "触发分账")
|
||||
@PostMapping("/open")
|
||||
public DaxResult<AllocationResult> open(@RequestBody AllocationParam param){
|
||||
@Operation(summary = "发起分账接口")
|
||||
@PostMapping("/start")
|
||||
public DaxResult<AllocationResult> start(@RequestBody AllocationParam param){
|
||||
return DaxRes.ok(allocationService.allocation(param));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user