hch
2025-04-29 352babe80b284339d9b5cc6739fe9ce723c61a39
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.secondworld.sdk.command;
 
import com.secondworld.sdk.GameAppProxy;
import com.secondworld.sdk.MySdkMgr;
import com.secondworld.sdk.utils.CodeU2A;
 
import org.json.JSONObject;
 
public class CmdPlatformPay implements ICommand {
    @Override
    public int getCode() {
        return CodeU2A.PlatformPay;
    }
 
    @Override
    public void process(JSONObject json) throws Exception {
        //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);
    }
}