master
duhui 2021-06-30 15:49:11 +08:00
parent f48d6f388a
commit 7e8dd76454
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ public class PayLogic {
public String initOrder(String collBackInfo, String orderId, String amount, Date time, String openId, PaySdkEnum sdk){ public String initOrder(String collBackInfo, String orderId, String amount, Date time, String openId, PaySdkEnum sdk){
try { try {
// 角色id_物品id_ccId_平台 // 角色id_物品id_ccId_平台
LOGGER.info("支付透传参数:{},支付:{}",collBackInfo,sdk.getName());
String[] collback = collBackInfo.split("_"); String[] collback = collBackInfo.split("_");
String uid = collback.length > 0 ? collback[0] : "0"; String uid = collback.length > 0 ? collback[0] : "0";
String goodsId = collback.length > 1 ? collback[1] : "0"; String goodsId = collback.length > 1 ? collback[1] : "0";