mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-13 21:32:07 +08:00
新增第三方支付接口返回信息带渠道编码
This commit is contained in:
+21
@@ -81,6 +81,11 @@ public class PayOrderRespDTO {
|
||||
*/
|
||||
private Map<String,Object> passbackParams;
|
||||
|
||||
/**
|
||||
* 支付渠道:0-支付宝、1-微信
|
||||
*/
|
||||
private Integer channelCode;
|
||||
|
||||
/**
|
||||
* 创建【WAITING】状态的订单返回
|
||||
*/
|
||||
@@ -96,6 +101,22 @@ public class PayOrderRespDTO {
|
||||
return respDTO;
|
||||
}
|
||||
|
||||
/**
|
||||
* 创建【WAITING】状态的订单返回
|
||||
*/
|
||||
public static PayOrderRespDTO waitingOf(String displayMode, String displayContent,
|
||||
String outTradeNo, Object rawData, Integer channelCode) {
|
||||
PayOrderRespDTO respDTO = new PayOrderRespDTO();
|
||||
respDTO.status = PayOrderStatusRespEnum.WAITING.getStatus();
|
||||
respDTO.displayMode = displayMode;
|
||||
respDTO.displayContent = displayContent;
|
||||
// 相对通用的字段
|
||||
respDTO.outTradeNo = outTradeNo;
|
||||
respDTO.rawData = rawData;
|
||||
respDTO.channelCode = channelCode;
|
||||
return respDTO;
|
||||
}
|
||||
|
||||
/**
|
||||
* 创建【SUCCESS】状态的订单返回
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user