From aaa822b7f20f04d9ae00fff5efa6c2ec7e2cd83c Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期三, 02 七月 2025 19:51:08 +0800
Subject: [PATCH] 0312 新sdk
---
SdkProject/channel/mlgtgame/java/com/secondworld/sdk/command/CmdPlatformPay.java | 15 +++++----------
1 files changed, 5 insertions(+), 10 deletions(-)
diff --git a/SdkProject/channel/mlgtgame/java/com/secondworld/sdk/command/CmdPlatformPay.java b/SdkProject/channel/mlgtgame/java/com/secondworld/sdk/command/CmdPlatformPay.java
index 2506dcf..6ca623f 100644
--- a/SdkProject/channel/mlgtgame/java/com/secondworld/sdk/command/CmdPlatformPay.java
+++ b/SdkProject/channel/mlgtgame/java/com/secondworld/sdk/command/CmdPlatformPay.java
@@ -14,15 +14,10 @@
@Override
public void process(JSONObject json) throws Exception {
- JSONObject extraData = new JSONObject();
- extraData.put("appid", GameAppProxy.appId);
- extraData.put("cpinfo", json.getString("cpInfo"));
- extraData.put("cporderid", json.getString("orderId"));
- extraData.put("serverid", json.getString("sid"));
- extraData.put("channelID", "9998");
-
- MySdkMgr.I.pay(json.getString("roleID"), json.getString("money"),
- json.getString("sid"), json.getString("cpinfo"),
- json.getString("title"), extraData.toString());
+ //channelID_cp璁㈠崟id_鍖烘湇id_娓告垙鍏呭�肩紪鍙� 闀垮害涓嶈秴杩�100 鍙兘鐢ㄤ笅鍒掔嚎
+ String attach = "9998_" + json.getString("orderId") + "_" + json.getString("sid") + "_" + json.getString("cpInfo");
+ MySdkMgr.I.pay(json.getString("roleID"), json.getString("mount"),
+ json.getString("sid"), json.getString("cpInfo"),
+ json.getString("title"), attach);
}
}
--
Gitblit v1.8.0