kt upload fix
parent
7bb5acac24
commit
6421cedac6
|
@ -6,6 +6,7 @@ public interface Global {
|
|||
int GENERALSTORY_TICKET = 27; //普通入场券
|
||||
int INVASIONBOSS_TICKET = 44; //外敌挑战券
|
||||
int GOLD = 14; //金币
|
||||
int SOULCRYSTAL = 15; // 魂晶id
|
||||
int GEM = 16; // 妖精id
|
||||
int SEND_CARD_COUNT = 20; // 每页发送卡牌个数
|
||||
int SEND_ITEM_COUNT = 200; // 每页发送道具个数
|
||||
|
|
|
@ -27,8 +27,9 @@ public class KtEventUtils {
|
|||
private static Map<Integer,String> currencyMap = new HashMap<>();
|
||||
|
||||
static {
|
||||
currencyMap.put(Global.GEM,"currency_1_d");
|
||||
currencyMap.put(Global.GOLD,"currency_2_d");
|
||||
currencyMap.put(Global.SOULCRYSTAL,"currency_1_d"); //魂晶
|
||||
currencyMap.put(Global.GEM,"currency_2_d"); //妖精
|
||||
currencyMap.put(Global.GOLD,"currency_3_d");//金币
|
||||
}
|
||||
|
||||
private static Gson gson = new Gson();
|
||||
|
|
|
@ -27,8 +27,8 @@ public class ParamEventBean {
|
|||
static {
|
||||
eventTypeStringMap.put(OnlineEvent,"online_0_unix_l");
|
||||
eventTypeStringMap.put(UserActivityEvent,"activity_4");
|
||||
eventTypeStringMap.put(UserItemEvent,"currency_3_l");
|
||||
eventTypeStringMap.put(UserCurrencyEvent,"item_3_l");
|
||||
eventTypeStringMap.put(UserItemEvent,"item_3_l");
|
||||
eventTypeStringMap.put(UserCurrencyEvent,"currency_3_l");
|
||||
eventTypeStringMap.put(UserLoginOutEvent,"login_1");
|
||||
eventTypeStringMap.put(UserStoreEvent,"mall_3_l_d_d");
|
||||
eventTypeStringMap.put(UserPayEvent,"pay_3_d");
|
||||
|
|
|
@ -40,6 +40,7 @@ public class ItemUtil {
|
|||
equipQulityNameMap.put(6,"史诗");
|
||||
currencyMap.add(Global.GEM);
|
||||
currencyMap.add(Global.GOLD);
|
||||
currencyMap.add(Global.SOULCRYSTAL);
|
||||
}
|
||||
|
||||
//指定道具掉落(如:邮件,初始化物品)
|
||||
|
|
|
@ -37,7 +37,6 @@ public class HttpPool {
|
|||
|
||||
}
|
||||
public static void sendPost(String url, String info) {
|
||||
System.out.println(info);
|
||||
HttpPost httpPost = new HttpPost(url);
|
||||
HttpResponse httpResponse;
|
||||
int sendTimes = 0;
|
||||
|
|
Loading…
Reference in New Issue