修改quick支付透传参数拼接格式

main
DESKTOP-C3M45P4\dengdan 2024-12-03 01:21:36 +08:00
parent 972d40e374
commit fdc267fc61
1 changed files with 1 additions and 1 deletions

View File

@ -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";