generated from root/miduo_server
修改quick支付透传参数拼接格式
parent
972d40e374
commit
fdc267fc61
|
@ -82,7 +82,7 @@ public class QuickRechargeController extends HttpServlet {
|
|||
String amountForward = String.valueOf((int)(Double.parseDouble(amount)));
|
||||
String extInfo = map.get("extras_params");
|
||||
// 角色id_物品id_orderId
|
||||
String[] collback = extInfo.split("_");
|
||||
String[] collback = extInfo.split("#");
|
||||
LOGGER.info("支付透传参数,分割前:{},分割后:{},长度:{}",extInfo, ArrayUtils.toString(collback,","),collback.length);
|
||||
String uid = collback.length > 0 ? collback[0] : "0";
|
||||
String goodsId = collback.length > 1 ? collback[1] : "0";
|
||||
|
|
Loading…
Reference in New Issue