Commit d879ca74 by 程裕兵

feat:scene

parent 60bd1cd3
...@@ -2,6 +2,7 @@ package com.jiejing.fitness.finance.api.merchant.request; ...@@ -2,6 +2,7 @@ package com.jiejing.fitness.finance.api.merchant.request;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.jiejing.paycenter.common.enums.merchant.SubChannelEnums; import com.jiejing.paycenter.common.enums.merchant.SubChannelEnums;
import com.jiejing.paycenter.common.enums.pay.PaySceneEnums;
import com.jiejing.paycenter.common.enums.pay.PayTypeEnums; import com.jiejing.paycenter.common.enums.pay.PayTypeEnums;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
...@@ -44,6 +45,10 @@ public class StudioMerchantPayRequest { ...@@ -44,6 +45,10 @@ public class StudioMerchantPayRequest {
@NotNull(message = "支付类型不能为空") @NotNull(message = "支付类型不能为空")
private PayTypeEnums payType; private PayTypeEnums payType;
@ApiModelProperty(name = "支付场景", required = true)
@NotNull(message = "支付场景不能为空")
private PaySceneEnums scene;
@ApiModelProperty(name = "正扫:三方支付账户ID", notes = "微信的openId,支付宝的userId,JS、MINI、NATIVE支付必传") @ApiModelProperty(name = "正扫:三方支付账户ID", notes = "微信的openId,支付宝的userId,JS、MINI、NATIVE支付必传")
private String openId; private String openId;
......
...@@ -46,8 +46,8 @@ public class StudioMerchantPayParams { ...@@ -46,8 +46,8 @@ public class StudioMerchantPayParams {
@NotNull(message = "支付类型不能为空") @NotNull(message = "支付类型不能为空")
private PayTypeEnums payType; private PayTypeEnums payType;
@ApiModelProperty(name = "支付类型", required = true) @ApiModelProperty(name = "支付场景", required = true)
@NotNull(message = "支付类型不能为空") @NotNull(message = "支付场景不能为空")
private PaySceneEnums scene; private PaySceneEnums scene;
@ApiModelProperty(name = "正扫:三方支付账户ID", notes = "微信的openId,支付宝的userId,JS、MINI、NATIVE支付必传") @ApiModelProperty(name = "正扫:三方支付账户ID", notes = "微信的openId,支付宝的userId,JS、MINI、NATIVE支付必传")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment