协议去除无用参数

back_recharge
duhui 2022-04-08 10:56:41 +08:00
parent 16a1f881dd
commit 6f805a716f
57 changed files with 87 additions and 305 deletions

View File

@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
/**
* Structs can also be exceptions, if they are nasty.
*/
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class InnerInvalidOperException extends TException implements org.apache.thrift.TBase<InnerInvalidOperException, InnerInvalidOperException._Fields>, java.io.Serializable, Cloneable, Comparable<InnerInvalidOperException> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InnerInvalidOperException");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class InnerResult implements org.apache.thrift.TBase<InnerResult, InnerResult._Fields>, java.io.Serializable, Cloneable, Comparable<InnerResult> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InnerResult");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class RPCgTGRequestIFace {
public interface Iface {

View File

@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
/**
* Structs can also be exceptions, if they are nasty.
*/
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class InnerInvalidOperException extends TException implements org.apache.thrift.TBase<InnerInvalidOperException, InnerInvalidOperException._Fields>, java.io.Serializable, Cloneable, Comparable<InnerInvalidOperException> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InnerInvalidOperException");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class InnerResult implements org.apache.thrift.TBase<InnerResult, InnerResult._Fields>, java.io.Serializable, Cloneable, Comparable<InnerResult> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InnerResult");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class RPCgTGRequestIFace {
public interface Iface {

View File

@ -38,10 +38,10 @@ public class CoreService implements RPCRequestIFace.Iface {
private static final Logger LOGGER = LoggerFactory.getLogger(CoreService.class);
@Override
public Result deliveryRecharge(int uid, String goodsId, String openId, String orderId, long orderTime, int amount, String ext) {
public Result deliveryRecharge(int uid, String goodsId, String openId, String orderId, long orderTime, int amount) {
try {
LOGGER.info("deliveryRecharge start",uid );
return BuyGoodsNewLogic.sendGoods(uid, goodsId, openId, orderId, orderTime, amount, ext);
return BuyGoodsNewLogic.sendGoods(uid, goodsId, openId, orderId, orderTime, amount);
} catch (Exception e) {
User user = UserManager.getUserInMem(uid);
Result result = new Result();

View File

@ -26,7 +26,7 @@ public class Cmd_support extends GmRoleAbstract {
String[] item = reward.split("#");
for (int i = 0; i < Integer.parseInt(item[1]); i++) {
// 发送充值礼包
BuyGoodsNewLogic.sendGoods(user.getId(), item[0], user.getPlayerInfoManager().getOpenId(), orderId, TimeUtils.now(), price, "");
BuyGoodsNewLogic.sendGoods(user.getId(), item[0], user.getPlayerInfoManager().getOpenId(), orderId, TimeUtils.now(), price);
}
}
return true;

View File

@ -146,7 +146,7 @@ public class BuyGoodsNewLogic {
price= (int)sRechargeCommodityConfig.getPrice() *100;
}
MessageUtil.sendMessage(session,1, MessageTypeProto.MessageType.TEST_BUY_GIGT_GOODS_RESPONSE_VALUE,null,true);
sendGoods(uid, goodsId, openId, orderId,System.currentTimeMillis(), price, "");
sendGoods(uid, goodsId, openId, orderId,System.currentTimeMillis(), price);
// List<Integer> itemList = new ArrayList<>();
// for(int[] item:sRechargeCommodityConfig.getBaseReward()){
// itemList.add(item[0]);
@ -165,7 +165,7 @@ public class BuyGoodsNewLogic {
* @return
* @throws Exception
*/
public static Result sendGoods(int uid, String sdkGoodsId, String openId, String orderId, long orderTime, int amount, String ext) throws Exception {
public static Result sendGoods(int uid, String sdkGoodsId, String openId, String orderId, long orderTime, int amount) throws Exception {
Result resultRes = new Result();
ISession session = OnlineUserManager.getSessionByUid(uid);
LOGGER.info("sendGoods to uid={},the goods={},openID={},orderId={},orderTime={},amount={}",uid,sdkGoodsId,openId,orderId,orderTime,amount);

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOfHero._Fields>, java.io.Serializable, Cloneable, Comparable<ArenaOfHero> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ArenaOfHero");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaManager, CrossArenaManager._Fields>, java.io.Serializable, Cloneable, Comparable<CrossArenaManager> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CrossArenaManager");

View File

@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
/**
* Structs can also be exceptions, if they are nasty.
*/
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class InvalidOperException extends TException implements org.apache.thrift.TBase<InvalidOperException, InvalidOperException._Fields>, java.io.Serializable, Cloneable, Comparable<InvalidOperException> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InvalidOperException");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class LifeGridInfo implements org.apache.thrift.TBase<LifeGridInfo, LifeGridInfo._Fields>, java.io.Serializable, Cloneable, Comparable<LifeGridInfo> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("LifeGridInfo");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class Pokemon implements org.apache.thrift.TBase<Pokemon, Pokemon._Fields>, java.io.Serializable, Cloneable, Comparable<Pokemon> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Pokemon");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class PropertyItem implements org.apache.thrift.TBase<PropertyItem, PropertyItem._Fields>, java.io.Serializable, Cloneable, Comparable<PropertyItem> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PropertyItem");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class PurpleMansionSeal implements org.apache.thrift.TBase<PurpleMansionSeal, PurpleMansionSeal._Fields>, java.io.Serializable, Cloneable, Comparable<PurpleMansionSeal> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PurpleMansionSeal");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class RPCMatchRequestIFace {
public interface Iface {

View File

@ -34,12 +34,12 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class RPCRequestIFace {
public interface Iface {
public Result deliveryRecharge(int uid, String goodsId, String openId, String orderId, long orderTime, int amount, String ext) throws InvalidOperException, org.apache.thrift.TException;
public Result deliveryRecharge(int uid, String goodsId, String openId, String orderId, long orderTime, int amount) throws InvalidOperException, org.apache.thrift.TException;
public RechargeResult getRecharge(int uid) throws org.apache.thrift.TException;
@ -59,7 +59,7 @@ public class RPCRequestIFace {
public interface AsyncIface {
public void deliveryRecharge(int uid, String goodsId, String openId, String orderId, long orderTime, int amount, String ext, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void deliveryRecharge(int uid, String goodsId, String openId, String orderId, long orderTime, int amount, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void getRecharge(int uid, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
@ -97,13 +97,13 @@ public class RPCRequestIFace {
super(iprot, oprot);
}
public Result deliveryRecharge(int uid, String goodsId, String openId, String orderId, long orderTime, int amount, String ext) throws InvalidOperException, org.apache.thrift.TException
public Result deliveryRecharge(int uid, String goodsId, String openId, String orderId, long orderTime, int amount) throws InvalidOperException, org.apache.thrift.TException
{
send_deliveryRecharge(uid, goodsId, openId, orderId, orderTime, amount, ext);
send_deliveryRecharge(uid, goodsId, openId, orderId, orderTime, amount);
return recv_deliveryRecharge();
}
public void send_deliveryRecharge(int uid, String goodsId, String openId, String orderId, long orderTime, int amount, String ext) throws org.apache.thrift.TException
public void send_deliveryRecharge(int uid, String goodsId, String openId, String orderId, long orderTime, int amount) throws org.apache.thrift.TException
{
deliveryRecharge_args args = new deliveryRecharge_args();
args.setUid(uid);
@ -112,7 +112,6 @@ public class RPCRequestIFace {
args.setOrderId(orderId);
args.setOrderTime(orderTime);
args.setAmount(amount);
args.setExt(ext);
sendBase("deliveryRecharge", args);
}
@ -309,9 +308,9 @@ public class RPCRequestIFace {
super(protocolFactory, clientManager, transport);
}
public void deliveryRecharge(int uid, String goodsId, String openId, String orderId, long orderTime, int amount, String ext, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
public void deliveryRecharge(int uid, String goodsId, String openId, String orderId, long orderTime, int amount, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
deliveryRecharge_call method_call = new deliveryRecharge_call(uid, goodsId, openId, orderId, orderTime, amount, ext, resultHandler, this, ___protocolFactory, ___transport);
deliveryRecharge_call method_call = new deliveryRecharge_call(uid, goodsId, openId, orderId, orderTime, amount, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
@ -323,8 +322,7 @@ public class RPCRequestIFace {
private String orderId;
private long orderTime;
private int amount;
private String ext;
public deliveryRecharge_call(int uid, String goodsId, String openId, String orderId, long orderTime, int amount, String ext, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
public deliveryRecharge_call(int uid, String goodsId, String openId, String orderId, long orderTime, int amount, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.uid = uid;
this.goodsId = goodsId;
@ -332,7 +330,6 @@ public class RPCRequestIFace {
this.orderId = orderId;
this.orderTime = orderTime;
this.amount = amount;
this.ext = ext;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
@ -344,7 +341,6 @@ public class RPCRequestIFace {
args.setOrderId(orderId);
args.setOrderTime(orderTime);
args.setAmount(amount);
args.setExt(ext);
args.write(prot);
prot.writeMessageEnd();
}
@ -635,7 +631,7 @@ public class RPCRequestIFace {
public deliveryRecharge_result getResult(I iface, deliveryRecharge_args args) throws org.apache.thrift.TException {
deliveryRecharge_result result = new deliveryRecharge_result();
try {
result.success = iface.deliveryRecharge(args.uid, args.goodsId, args.openId, args.orderId, args.orderTime, args.amount, args.ext);
result.success = iface.deliveryRecharge(args.uid, args.goodsId, args.openId, args.orderId, args.orderTime, args.amount);
} catch (InvalidOperException ouch) {
result.ouch = ouch;
}
@ -862,7 +858,7 @@ public class RPCRequestIFace {
}
public void start(I iface, deliveryRecharge_args args, org.apache.thrift.async.AsyncMethodCallback<Result> resultHandler) throws TException {
iface.deliveryRecharge(args.uid, args.goodsId, args.openId, args.orderId, args.orderTime, args.amount, args.ext,resultHandler);
iface.deliveryRecharge(args.uid, args.goodsId, args.openId, args.orderId, args.orderTime, args.amount,resultHandler);
}
}
@ -1235,7 +1231,6 @@ public class RPCRequestIFace {
private static final org.apache.thrift.protocol.TField ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("orderId", org.apache.thrift.protocol.TType.STRING, (short)4);
private static final org.apache.thrift.protocol.TField ORDER_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("orderTime", org.apache.thrift.protocol.TType.I64, (short)5);
private static final org.apache.thrift.protocol.TField AMOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("amount", org.apache.thrift.protocol.TType.I32, (short)6);
private static final org.apache.thrift.protocol.TField EXT_FIELD_DESC = new org.apache.thrift.protocol.TField("ext", org.apache.thrift.protocol.TType.STRING, (short)7);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
@ -1249,7 +1244,6 @@ public class RPCRequestIFace {
public String orderId; // required
public long orderTime; // required
public int amount; // required
public String ext; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
@ -1258,8 +1252,7 @@ public class RPCRequestIFace {
OPEN_ID((short)3, "openId"),
ORDER_ID((short)4, "orderId"),
ORDER_TIME((short)5, "orderTime"),
AMOUNT((short)6, "amount"),
EXT((short)7, "ext");
AMOUNT((short)6, "amount");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
@ -1286,8 +1279,6 @@ public class RPCRequestIFace {
return ORDER_TIME;
case 6: // AMOUNT
return AMOUNT;
case 7: // EXT
return EXT;
default:
return null;
}
@ -1347,8 +1338,6 @@ public class RPCRequestIFace {
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
tmpMap.put(_Fields.AMOUNT, new org.apache.thrift.meta_data.FieldMetaData("amount", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
tmpMap.put(_Fields.EXT, new org.apache.thrift.meta_data.FieldMetaData("ext", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deliveryRecharge_args.class, metaDataMap);
}
@ -1362,8 +1351,7 @@ public class RPCRequestIFace {
String openId,
String orderId,
long orderTime,
int amount,
String ext)
int amount)
{
this();
this.uid = uid;
@ -1375,7 +1363,6 @@ public class RPCRequestIFace {
setOrderTimeIsSet(true);
this.amount = amount;
setAmountIsSet(true);
this.ext = ext;
}
/**
@ -1395,9 +1382,6 @@ public class RPCRequestIFace {
}
this.orderTime = other.orderTime;
this.amount = other.amount;
if (other.isSetExt()) {
this.ext = other.ext;
}
}
public deliveryRecharge_args deepCopy() {
@ -1415,7 +1399,6 @@ public class RPCRequestIFace {
this.orderTime = 0;
setAmountIsSet(false);
this.amount = 0;
this.ext = null;
}
public int getUid() {
@ -1559,30 +1542,6 @@ public class RPCRequestIFace {
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __AMOUNT_ISSET_ID, value);
}
public String getExt() {
return this.ext;
}
public deliveryRecharge_args setExt(String ext) {
this.ext = ext;
return this;
}
public void unsetExt() {
this.ext = null;
}
/** Returns true if field ext is set (has been assigned a value) and false otherwise */
public boolean isSetExt() {
return this.ext != null;
}
public void setExtIsSet(boolean value) {
if (!value) {
this.ext = null;
}
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case UID:
@ -1633,14 +1592,6 @@ public class RPCRequestIFace {
}
break;
case EXT:
if (value == null) {
unsetExt();
} else {
setExt((String)value);
}
break;
}
}
@ -1664,9 +1615,6 @@ public class RPCRequestIFace {
case AMOUNT:
return Integer.valueOf(getAmount());
case EXT:
return getExt();
}
throw new IllegalStateException();
}
@ -1690,8 +1638,6 @@ public class RPCRequestIFace {
return isSetOrderTime();
case AMOUNT:
return isSetAmount();
case EXT:
return isSetExt();
}
throw new IllegalStateException();
}
@ -1763,15 +1709,6 @@ public class RPCRequestIFace {
return false;
}
boolean this_present_ext = true && this.isSetExt();
boolean that_present_ext = true && that.isSetExt();
if (this_present_ext || that_present_ext) {
if (!(this_present_ext && that_present_ext))
return false;
if (!this.ext.equals(that.ext))
return false;
}
return true;
}
@ -1809,11 +1746,6 @@ public class RPCRequestIFace {
if (present_amount)
list.add(amount);
boolean present_ext = true && (isSetExt());
list.add(present_ext);
if (present_ext)
list.add(ext);
return list.hashCode();
}
@ -1885,16 +1817,6 @@ public class RPCRequestIFace {
return lastComparison;
}
}
lastComparison = Boolean.valueOf(isSetExt()).compareTo(other.isSetExt());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetExt()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ext, other.ext);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
@ -1950,14 +1872,6 @@ public class RPCRequestIFace {
sb.append("amount:");
sb.append(this.amount);
first = false;
if (!first) sb.append(", ");
sb.append("ext:");
if (this.ext == null) {
sb.append("null");
} else {
sb.append(this.ext);
}
first = false;
sb.append(")");
return sb.toString();
}
@ -2051,14 +1965,6 @@ public class RPCRequestIFace {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
case 7: // EXT
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
struct.ext = iprot.readString();
struct.setExtIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
@ -2098,11 +2004,6 @@ public class RPCRequestIFace {
oprot.writeFieldBegin(AMOUNT_FIELD_DESC);
oprot.writeI32(struct.amount);
oprot.writeFieldEnd();
if (struct.ext != null) {
oprot.writeFieldBegin(EXT_FIELD_DESC);
oprot.writeString(struct.ext);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@ -2139,10 +2040,7 @@ public class RPCRequestIFace {
if (struct.isSetAmount()) {
optionals.set(5);
}
if (struct.isSetExt()) {
optionals.set(6);
}
oprot.writeBitSet(optionals, 7);
oprot.writeBitSet(optionals, 6);
if (struct.isSetUid()) {
oprot.writeI32(struct.uid);
}
@ -2161,15 +2059,12 @@ public class RPCRequestIFace {
if (struct.isSetAmount()) {
oprot.writeI32(struct.amount);
}
if (struct.isSetExt()) {
oprot.writeString(struct.ext);
}
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, deliveryRecharge_args struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(7);
BitSet incoming = iprot.readBitSet(6);
if (incoming.get(0)) {
struct.uid = iprot.readI32();
struct.setUidIsSet(true);
@ -2194,10 +2089,6 @@ public class RPCRequestIFace {
struct.amount = iprot.readI32();
struct.setAmountIsSet(true);
}
if (incoming.get(6)) {
struct.ext = iprot.readString();
struct.setExtIsSet(true);
}
}
}

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class RechargeResult implements org.apache.thrift.TBase<RechargeResult, RechargeResult._Fields>, java.io.Serializable, Cloneable, Comparable<RechargeResult> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("RechargeResult");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class Result implements org.apache.thrift.TBase<Result, Result._Fields>, java.io.Serializable, Cloneable, Comparable<Result> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Result");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class SixiangxinfaInfo implements org.apache.thrift.TBase<SixiangxinfaInfo, SixiangxinfaInfo._Fields>, java.io.Serializable, Cloneable, Comparable<SixiangxinfaInfo> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("SixiangxinfaInfo");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class SixiangxinfaPropertyInfo implements org.apache.thrift.TBase<SixiangxinfaPropertyInfo, SixiangxinfaPropertyInfo._Fields>, java.io.Serializable, Cloneable, Comparable<SixiangxinfaPropertyInfo> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("SixiangxinfaPropertyInfo");

View File

@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
/**
* ArenaOfHeroManager
*/
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class TeamPosHeroInfo implements org.apache.thrift.TBase<TeamPosHeroInfo, TeamPosHeroInfo._Fields>, java.io.Serializable, Cloneable, Comparable<TeamPosHeroInfo> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TeamPosHeroInfo");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class TransformationCardInfo implements org.apache.thrift.TBase<TransformationCardInfo, TransformationCardInfo._Fields>, java.io.Serializable, Cloneable, Comparable<TransformationCardInfo> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TransformationCardInfo");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class UserMountInfo implements org.apache.thrift.TBase<UserMountInfo, UserMountInfo._Fields>, java.io.Serializable, Cloneable, Comparable<UserMountInfo> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("UserMountInfo");

View File

@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
/**
* Structs can also be exceptions, if they are nasty.
*/
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class InnerInvalidOperException extends TException implements org.apache.thrift.TBase<InnerInvalidOperException, InnerInvalidOperException._Fields>, java.io.Serializable, Cloneable, Comparable<InnerInvalidOperException> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InnerInvalidOperException");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class InnerResult implements org.apache.thrift.TBase<InnerResult, InnerResult._Fields>, java.io.Serializable, Cloneable, Comparable<InnerResult> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InnerResult");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class RPCgTwRequestIFace {
public interface Iface {

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class RPCwTgRequestIFace {
public interface Iface {

View File

@ -135,7 +135,7 @@ struct CrossArenaManager{
}
service RPCRequestIFace{
Result deliveryRecharge(1:i32 uid, 2:string goodsId,3: string openId,4: string orderId,5: i64 orderTime, 6:i32 amount, 7:string ext) throws (1:InvalidOperException ouch);
Result deliveryRecharge(1:i32 uid, 2:string goodsId,3: string openId,4: string orderId,5: i64 orderTime, 6:i32 amount) throws (1:InvalidOperException ouch);
RechargeResult getRecharge(1:i32 uid);
void mathcRoomAdressInfo(1:i32 uid,2:i32 type,3:string address);
CrossArenaManager getHeroManagerInfo(1:i32 uid);

View File

@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
/**
* Structs can also be exceptions, if they are nasty.
*/
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class InnerInvalidOperException extends TException implements org.apache.thrift.TBase<InnerInvalidOperException, InnerInvalidOperException._Fields>, java.io.Serializable, Cloneable, Comparable<InnerInvalidOperException> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InnerInvalidOperException");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class InnerResult implements org.apache.thrift.TBase<InnerResult, InnerResult._Fields>, java.io.Serializable, Cloneable, Comparable<InnerResult> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InnerResult");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class RPCgTGRequestIFace {
public interface Iface {

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class ArenaOfHero implements org.apache.thrift.TBase<ArenaOfHero, ArenaOfHero._Fields>, java.io.Serializable, Cloneable, Comparable<ArenaOfHero> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ArenaOfHero");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class CrossArenaManager implements org.apache.thrift.TBase<CrossArenaManager, CrossArenaManager._Fields>, java.io.Serializable, Cloneable, Comparable<CrossArenaManager> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CrossArenaManager");

View File

@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
/**
* Structs can also be exceptions, if they are nasty.
*/
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class InvalidOperException extends TException implements org.apache.thrift.TBase<InvalidOperException, InvalidOperException._Fields>, java.io.Serializable, Cloneable, Comparable<InvalidOperException> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InvalidOperException");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class LifeGridInfo implements org.apache.thrift.TBase<LifeGridInfo, LifeGridInfo._Fields>, java.io.Serializable, Cloneable, Comparable<LifeGridInfo> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("LifeGridInfo");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class Pokemon implements org.apache.thrift.TBase<Pokemon, Pokemon._Fields>, java.io.Serializable, Cloneable, Comparable<Pokemon> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Pokemon");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class PropertyItem implements org.apache.thrift.TBase<PropertyItem, PropertyItem._Fields>, java.io.Serializable, Cloneable, Comparable<PropertyItem> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PropertyItem");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class PurpleMansionSeal implements org.apache.thrift.TBase<PurpleMansionSeal, PurpleMansionSeal._Fields>, java.io.Serializable, Cloneable, Comparable<PurpleMansionSeal> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("PurpleMansionSeal");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class RPCMatchRequestIFace {
public interface Iface {

View File

@ -34,12 +34,12 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class RPCRequestIFace {
public interface Iface {
public Result deliveryRecharge(int uid, String goodsId, String openId, String orderId, long orderTime, int amount, String ext) throws InvalidOperException, org.apache.thrift.TException;
public Result deliveryRecharge(int uid, String goodsId, String openId, String orderId, long orderTime, int amount) throws InvalidOperException, org.apache.thrift.TException;
public RechargeResult getRecharge(int uid) throws org.apache.thrift.TException;
@ -59,7 +59,7 @@ public class RPCRequestIFace {
public interface AsyncIface {
public void deliveryRecharge(int uid, String goodsId, String openId, String orderId, long orderTime, int amount, String ext, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void deliveryRecharge(int uid, String goodsId, String openId, String orderId, long orderTime, int amount, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
public void getRecharge(int uid, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
@ -97,13 +97,13 @@ public class RPCRequestIFace {
super(iprot, oprot);
}
public Result deliveryRecharge(int uid, String goodsId, String openId, String orderId, long orderTime, int amount, String ext) throws InvalidOperException, org.apache.thrift.TException
public Result deliveryRecharge(int uid, String goodsId, String openId, String orderId, long orderTime, int amount) throws InvalidOperException, org.apache.thrift.TException
{
send_deliveryRecharge(uid, goodsId, openId, orderId, orderTime, amount, ext);
send_deliveryRecharge(uid, goodsId, openId, orderId, orderTime, amount);
return recv_deliveryRecharge();
}
public void send_deliveryRecharge(int uid, String goodsId, String openId, String orderId, long orderTime, int amount, String ext) throws org.apache.thrift.TException
public void send_deliveryRecharge(int uid, String goodsId, String openId, String orderId, long orderTime, int amount) throws org.apache.thrift.TException
{
deliveryRecharge_args args = new deliveryRecharge_args();
args.setUid(uid);
@ -112,7 +112,6 @@ public class RPCRequestIFace {
args.setOrderId(orderId);
args.setOrderTime(orderTime);
args.setAmount(amount);
args.setExt(ext);
sendBase("deliveryRecharge", args);
}
@ -309,9 +308,9 @@ public class RPCRequestIFace {
super(protocolFactory, clientManager, transport);
}
public void deliveryRecharge(int uid, String goodsId, String openId, String orderId, long orderTime, int amount, String ext, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
public void deliveryRecharge(int uid, String goodsId, String openId, String orderId, long orderTime, int amount, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
deliveryRecharge_call method_call = new deliveryRecharge_call(uid, goodsId, openId, orderId, orderTime, amount, ext, resultHandler, this, ___protocolFactory, ___transport);
deliveryRecharge_call method_call = new deliveryRecharge_call(uid, goodsId, openId, orderId, orderTime, amount, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
___manager.call(method_call);
}
@ -323,8 +322,7 @@ public class RPCRequestIFace {
private String orderId;
private long orderTime;
private int amount;
private String ext;
public deliveryRecharge_call(int uid, String goodsId, String openId, String orderId, long orderTime, int amount, String ext, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
public deliveryRecharge_call(int uid, String goodsId, String openId, String orderId, long orderTime, int amount, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
super(client, protocolFactory, transport, resultHandler, false);
this.uid = uid;
this.goodsId = goodsId;
@ -332,7 +330,6 @@ public class RPCRequestIFace {
this.orderId = orderId;
this.orderTime = orderTime;
this.amount = amount;
this.ext = ext;
}
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
@ -344,7 +341,6 @@ public class RPCRequestIFace {
args.setOrderId(orderId);
args.setOrderTime(orderTime);
args.setAmount(amount);
args.setExt(ext);
args.write(prot);
prot.writeMessageEnd();
}
@ -635,7 +631,7 @@ public class RPCRequestIFace {
public deliveryRecharge_result getResult(I iface, deliveryRecharge_args args) throws org.apache.thrift.TException {
deliveryRecharge_result result = new deliveryRecharge_result();
try {
result.success = iface.deliveryRecharge(args.uid, args.goodsId, args.openId, args.orderId, args.orderTime, args.amount, args.ext);
result.success = iface.deliveryRecharge(args.uid, args.goodsId, args.openId, args.orderId, args.orderTime, args.amount);
} catch (InvalidOperException ouch) {
result.ouch = ouch;
}
@ -862,7 +858,7 @@ public class RPCRequestIFace {
}
public void start(I iface, deliveryRecharge_args args, org.apache.thrift.async.AsyncMethodCallback<Result> resultHandler) throws TException {
iface.deliveryRecharge(args.uid, args.goodsId, args.openId, args.orderId, args.orderTime, args.amount, args.ext,resultHandler);
iface.deliveryRecharge(args.uid, args.goodsId, args.openId, args.orderId, args.orderTime, args.amount,resultHandler);
}
}
@ -1235,7 +1231,6 @@ public class RPCRequestIFace {
private static final org.apache.thrift.protocol.TField ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("orderId", org.apache.thrift.protocol.TType.STRING, (short)4);
private static final org.apache.thrift.protocol.TField ORDER_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("orderTime", org.apache.thrift.protocol.TType.I64, (short)5);
private static final org.apache.thrift.protocol.TField AMOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("amount", org.apache.thrift.protocol.TType.I32, (short)6);
private static final org.apache.thrift.protocol.TField EXT_FIELD_DESC = new org.apache.thrift.protocol.TField("ext", org.apache.thrift.protocol.TType.STRING, (short)7);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
@ -1249,7 +1244,6 @@ public class RPCRequestIFace {
public String orderId; // required
public long orderTime; // required
public int amount; // required
public String ext; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
@ -1258,8 +1252,7 @@ public class RPCRequestIFace {
OPEN_ID((short)3, "openId"),
ORDER_ID((short)4, "orderId"),
ORDER_TIME((short)5, "orderTime"),
AMOUNT((short)6, "amount"),
EXT((short)7, "ext");
AMOUNT((short)6, "amount");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
@ -1286,8 +1279,6 @@ public class RPCRequestIFace {
return ORDER_TIME;
case 6: // AMOUNT
return AMOUNT;
case 7: // EXT
return EXT;
default:
return null;
}
@ -1347,8 +1338,6 @@ public class RPCRequestIFace {
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
tmpMap.put(_Fields.AMOUNT, new org.apache.thrift.meta_data.FieldMetaData("amount", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
tmpMap.put(_Fields.EXT, new org.apache.thrift.meta_data.FieldMetaData("ext", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deliveryRecharge_args.class, metaDataMap);
}
@ -1362,8 +1351,7 @@ public class RPCRequestIFace {
String openId,
String orderId,
long orderTime,
int amount,
String ext)
int amount)
{
this();
this.uid = uid;
@ -1375,7 +1363,6 @@ public class RPCRequestIFace {
setOrderTimeIsSet(true);
this.amount = amount;
setAmountIsSet(true);
this.ext = ext;
}
/**
@ -1395,9 +1382,6 @@ public class RPCRequestIFace {
}
this.orderTime = other.orderTime;
this.amount = other.amount;
if (other.isSetExt()) {
this.ext = other.ext;
}
}
public deliveryRecharge_args deepCopy() {
@ -1415,7 +1399,6 @@ public class RPCRequestIFace {
this.orderTime = 0;
setAmountIsSet(false);
this.amount = 0;
this.ext = null;
}
public int getUid() {
@ -1559,30 +1542,6 @@ public class RPCRequestIFace {
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __AMOUNT_ISSET_ID, value);
}
public String getExt() {
return this.ext;
}
public deliveryRecharge_args setExt(String ext) {
this.ext = ext;
return this;
}
public void unsetExt() {
this.ext = null;
}
/** Returns true if field ext is set (has been assigned a value) and false otherwise */
public boolean isSetExt() {
return this.ext != null;
}
public void setExtIsSet(boolean value) {
if (!value) {
this.ext = null;
}
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case UID:
@ -1633,14 +1592,6 @@ public class RPCRequestIFace {
}
break;
case EXT:
if (value == null) {
unsetExt();
} else {
setExt((String)value);
}
break;
}
}
@ -1664,9 +1615,6 @@ public class RPCRequestIFace {
case AMOUNT:
return Integer.valueOf(getAmount());
case EXT:
return getExt();
}
throw new IllegalStateException();
}
@ -1690,8 +1638,6 @@ public class RPCRequestIFace {
return isSetOrderTime();
case AMOUNT:
return isSetAmount();
case EXT:
return isSetExt();
}
throw new IllegalStateException();
}
@ -1763,15 +1709,6 @@ public class RPCRequestIFace {
return false;
}
boolean this_present_ext = true && this.isSetExt();
boolean that_present_ext = true && that.isSetExt();
if (this_present_ext || that_present_ext) {
if (!(this_present_ext && that_present_ext))
return false;
if (!this.ext.equals(that.ext))
return false;
}
return true;
}
@ -1809,11 +1746,6 @@ public class RPCRequestIFace {
if (present_amount)
list.add(amount);
boolean present_ext = true && (isSetExt());
list.add(present_ext);
if (present_ext)
list.add(ext);
return list.hashCode();
}
@ -1885,16 +1817,6 @@ public class RPCRequestIFace {
return lastComparison;
}
}
lastComparison = Boolean.valueOf(isSetExt()).compareTo(other.isSetExt());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetExt()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ext, other.ext);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
@ -1950,14 +1872,6 @@ public class RPCRequestIFace {
sb.append("amount:");
sb.append(this.amount);
first = false;
if (!first) sb.append(", ");
sb.append("ext:");
if (this.ext == null) {
sb.append("null");
} else {
sb.append(this.ext);
}
first = false;
sb.append(")");
return sb.toString();
}
@ -2051,14 +1965,6 @@ public class RPCRequestIFace {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
case 7: // EXT
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
struct.ext = iprot.readString();
struct.setExtIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
@ -2098,11 +2004,6 @@ public class RPCRequestIFace {
oprot.writeFieldBegin(AMOUNT_FIELD_DESC);
oprot.writeI32(struct.amount);
oprot.writeFieldEnd();
if (struct.ext != null) {
oprot.writeFieldBegin(EXT_FIELD_DESC);
oprot.writeString(struct.ext);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@ -2139,10 +2040,7 @@ public class RPCRequestIFace {
if (struct.isSetAmount()) {
optionals.set(5);
}
if (struct.isSetExt()) {
optionals.set(6);
}
oprot.writeBitSet(optionals, 7);
oprot.writeBitSet(optionals, 6);
if (struct.isSetUid()) {
oprot.writeI32(struct.uid);
}
@ -2161,15 +2059,12 @@ public class RPCRequestIFace {
if (struct.isSetAmount()) {
oprot.writeI32(struct.amount);
}
if (struct.isSetExt()) {
oprot.writeString(struct.ext);
}
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, deliveryRecharge_args struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(7);
BitSet incoming = iprot.readBitSet(6);
if (incoming.get(0)) {
struct.uid = iprot.readI32();
struct.setUidIsSet(true);
@ -2194,10 +2089,6 @@ public class RPCRequestIFace {
struct.amount = iprot.readI32();
struct.setAmountIsSet(true);
}
if (incoming.get(6)) {
struct.ext = iprot.readString();
struct.setExtIsSet(true);
}
}
}

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class RechargeResult implements org.apache.thrift.TBase<RechargeResult, RechargeResult._Fields>, java.io.Serializable, Cloneable, Comparable<RechargeResult> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("RechargeResult");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class Result implements org.apache.thrift.TBase<Result, Result._Fields>, java.io.Serializable, Cloneable, Comparable<Result> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Result");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class SixiangxinfaInfo implements org.apache.thrift.TBase<SixiangxinfaInfo, SixiangxinfaInfo._Fields>, java.io.Serializable, Cloneable, Comparable<SixiangxinfaInfo> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("SixiangxinfaInfo");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class SixiangxinfaPropertyInfo implements org.apache.thrift.TBase<SixiangxinfaPropertyInfo, SixiangxinfaPropertyInfo._Fields>, java.io.Serializable, Cloneable, Comparable<SixiangxinfaPropertyInfo> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("SixiangxinfaPropertyInfo");

View File

@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
/**
* ArenaOfHeroManager
*/
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class TeamPosHeroInfo implements org.apache.thrift.TBase<TeamPosHeroInfo, TeamPosHeroInfo._Fields>, java.io.Serializable, Cloneable, Comparable<TeamPosHeroInfo> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TeamPosHeroInfo");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class TransformationCardInfo implements org.apache.thrift.TBase<TransformationCardInfo, TransformationCardInfo._Fields>, java.io.Serializable, Cloneable, Comparable<TransformationCardInfo> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TransformationCardInfo");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class UserMountInfo implements org.apache.thrift.TBase<UserMountInfo, UserMountInfo._Fields>, java.io.Serializable, Cloneable, Comparable<UserMountInfo> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("UserMountInfo");

View File

@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
/**
* Structs can also be exceptions, if they are nasty.
*/
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class InnerInvalidOperException extends TException implements org.apache.thrift.TBase<InnerInvalidOperException, InnerInvalidOperException._Fields>, java.io.Serializable, Cloneable, Comparable<InnerInvalidOperException> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InnerInvalidOperException");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class InnerResult implements org.apache.thrift.TBase<InnerResult, InnerResult._Fields>, java.io.Serializable, Cloneable, Comparable<InnerResult> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InnerResult");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class RPCgTwRequestIFace {
public interface Iface {

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class RPCwTgRequestIFace {
public interface Iface {

View File

@ -37,7 +37,7 @@ import org.slf4j.LoggerFactory;
/**
* Structs can also be exceptions, if they are nasty.
*/
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class InnerInvalidOperException extends TException implements org.apache.thrift.TBase<InnerInvalidOperException, InnerInvalidOperException._Fields>, java.io.Serializable, Cloneable, Comparable<InnerInvalidOperException> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InnerInvalidOperException");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class InnerResult implements org.apache.thrift.TBase<InnerResult, InnerResult._Fields>, java.io.Serializable, Cloneable, Comparable<InnerResult> {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("InnerResult");

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class RPCgTwRequestIFace {
public interface Iface {

View File

@ -34,7 +34,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-7")
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2022-4-8")
public class RPCwTgRequestIFace {
public interface Iface {