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);
|
}
|
}
|