perf 分账相关字段调整

This commit is contained in:
bootx
2024-06-02 01:54:11 +08:00
parent 990ce7d361
commit d673362577
13 changed files with 26 additions and 22 deletions

View File

@@ -28,8 +28,8 @@ public class AllocationParam extends PaymentCommonParam {
@Schema(description = "支付订单号")
private String orderNo;
/** 商户订单号 */
@Schema(description = "商户订单号")
/** 商户支付订单号 */
@Schema(description = "商户支付订单号")
private String bizOrderNo;
/** 分账描述 */

View File

@@ -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;
}

View File

@@ -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));
}