|
|
@@ -3,23 +3,16 @@ package com.sheep.gamegroup.model.util;
|
|
|
import android.text.TextUtils;
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
-import com.google.gson.Gson;
|
|
|
-import com.google.gson.GsonBuilder;
|
|
|
import com.sheep.gamegroup.model.entity.Ext;
|
|
|
import com.sheep.gamegroup.model.entity.LoginEntity;
|
|
|
import com.sheep.gamegroup.model.entity.UserEntity;
|
|
|
import com.sheep.gamegroup.util.DeviceUtil;
|
|
|
import com.sheep.jiuyan.samllsheep.SheepApp;
|
|
|
|
|
|
-import org.joda.time.DateTime;
|
|
|
-
|
|
|
public final class EntityUtils {
|
|
|
|
|
|
private EntityUtils() {}
|
|
|
|
|
|
- public static final Gson gson = new GsonBuilder()
|
|
|
- .registerTypeAdapter(DateTime.class, new DateTimeTypeAdapter())
|
|
|
- .create();
|
|
|
|
|
|
public static Ext getExtInfo(String ext){
|
|
|
Ext extInfo;
|