url添加Timestamp逻辑修改

This commit is contained in:
huangzhuanghua
2016-09-28 18:47:14 +08:00
parent 6546b580e9
commit 09a0eabc48
30 changed files with 181 additions and 179 deletions

View File

@ -10,9 +10,7 @@ import com.android.volley.VolleyError;
import com.gh.base.AppController;
import com.gh.base.DetailActivity;
import com.gh.common.constant.Config;
import com.gh.common.constant.Constants;
import com.gh.common.util.DataUtils;
import com.gh.common.util.TimestampUtils;
import com.gh.gamecenter.entity.GameEntity;
import com.gh.gamecenter.eventbus.EBConcernChanged;
import com.gh.gamecenter.gamedetail.GameDetailAdapter;
@ -138,9 +136,8 @@ public class GameDetailActivity extends DetailActivity implements View.OnClickLi
// 获取游戏摘要
private void getGameDigest() {
String url = TimestampUtils.addTimestamp(Config.HOST + "v2d0/game/" + gameId + "/digest",
Constants.GAME_CD);
JsonObjectExtendedRequest request = new JsonObjectExtendedRequest(url,
JsonObjectExtendedRequest request = new JsonObjectExtendedRequest(
Config.HOST + "v2d0/game/" + gameId + "/digest",
new Response.Listener<JSONObject>() {
@Override
public void onResponse(JSONObject response) {