@@ -0,0 +1,30 @@ | |||
package cn.com.taiji.core.model.comm.protocol.ias.order; | |||
import cn.com.taiji.core.model.comm.protocol.AbstractSignTypeRequest; | |||
import cn.com.taiji.core.model.comm.protocol.constraint.IntegerConstant; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
import javax.validation.constraints.NotBlank; | |||
import javax.validation.constraints.NotNull; | |||
/** | |||
* @Author:ChenChao | |||
* @Date:2025/8/19 22:31 | |||
* @Filename:GetCarSignRequest | |||
* @description: | |||
*/ | |||
@Getter | |||
@Setter | |||
public class GetCarSignRequest extends AbstractSignTypeRequest<GetCarSignResponse> { | |||
public GetCarSignRequest() { | |||
super(OrderServiceCmd.GETCARSIGN); | |||
} | |||
@NotBlank | |||
private String orderNo; //订单编号 | |||
@NotNull | |||
@IntegerConstant(values = "1,2") | |||
private Integer signChannelType=1;// 1:微信小程序 2:支付宝小程序 | |||
@NotBlank | |||
private String subOpenId;// signChannelType=1或2时必填,填黔通微信或支付宝小程序的openId, | |||
} |
@@ -0,0 +1,52 @@ | |||
package cn.com.taiji.core.model.comm.protocol.ias.order; | |||
import cn.com.taiji.core.model.comm.protocol.AbstractSignTypeResponse; | |||
import lombok.Getter; | |||
import lombok.Setter; | |||
/** | |||
* @Author:ChenChao | |||
* @Date:2025/8/19 22:31 | |||
* @Filename:GetCarSignResponse | |||
* @description: 获取签约参数响应 | |||
*/ | |||
@Getter | |||
@Setter | |||
public class GetCarSignResponse extends AbstractSignTypeResponse { | |||
private String userState;//用户签约状态 是 | |||
private String deductMode;//发起扣费方式PROACTIVE:表示用户主动发起的免密支付 AUTOPAY:表示用户无感的支付 否 | |||
private String plateNumberInfo;//车牌信息 否 | |||
//=====================前端请求微信签约参数==============参与签名字段 + | |||
private String appId;//请求appid 是 + | |||
private String mchId;//商户号 是 + | |||
private String subMchId;//子商户号 是 + | |||
private String subAppId;//子商户公众账号id 是 + | |||
private String nonceStr;//随机字符串 是 + | |||
private String signType;//签名类型 是 + | |||
private String sign;//签名 是 | |||
private String tradeScene = "HIGHWAY";//交易场景 写死 是 + | |||
private String openId;//用户标识 否 | |||
private String subOpenId;//用户子标识 是 + | |||
private String plateNumber;//车牌号 是 + | |||
private String channelType = "ETC";//通道类型 写死 ETC + | |||
private String path;//跳转路径 是 | |||
private String preopenId;//V3黄牌 签约参数 | |||
} |
@@ -15,6 +15,7 @@ public enum OrderServiceCmd implements SignServiceCommand { | |||
STATUSQUERY("状态查询", OrderStatusQueryRequest.class), | |||
PAYAPPLY("支付申请", OrderPayApplyRequest.class), | |||
PAYQUERY("支付查询", OrderPayQueryRequest.class), | |||
GETCARSIGN("获取签约参数", GetCarSignRequest.class), | |||
SIGNQUERY("签约检测", SignQueryRequest.class), | |||
TRANSACTION("事务同步", OrderTransactionRequest.class), | |||
PRODUCTQUERY("获取产品列表", ProductQueryRequest.class), |