去除volley 中TAG的滥用导致无法重复加载同一url,项目整理

This commit is contained in:
huangzhuanghua
2016-11-29 10:49:45 +08:00
parent 47f978a4fa
commit a31d2cd28b
80 changed files with 461 additions and 610 deletions

View File

@ -2,14 +2,15 @@ package com.gh.gamecenter.changeskin;
/**
* Created by khy on 2016/11/16.
*
*/
public class SkinConfig {
public static int PG_STATE = 1;
/*
pageNum : 页数
perPage : 请求数量
* pageNum : 页数
* perPage : 请求数量
*/
public static int perPage = 300;
@ -26,10 +27,11 @@ public class SkinConfig {
public static final int MSG_MD5_OVER = 104;
public static final int MSG_NETWORK_ERROR = 200;
public static String GAME_ID = "57ce84f88ab49e83728b4572";
public static final String GAME_ID = "57ce84f88ab49e83728b4572";
// http://api.ghzhushou.com/v2d2/game/57ce84f88ab49e83728b4572/skin/data?page=1&per_page=1000
public static String JSON_PATCHURL = "http://api.ghzhushou.com/v2d2/game/" + GAME_ID + "/skin/data?page=*&per_page=" + perPage;
// http://api.ghzhushou.com/v2d2/game/57ce84f88ab49e83728b4572/skin/data?per_page=1000&page=1
public static final String JSON_PATCHURL = "http://api.ghzhushou.com/v2d2/game/"
+ GAME_ID + "/skin/data?per_page=" + perPage + "&page=";
// ewan.anfeng 安峰
public static String patchVersion = "com.netease.ma.ewan.anfeng";