|
|
@@ -4,7 +4,9 @@ import android.content.Context;
|
|
|
import android.content.Intent;
|
|
|
import android.content.IntentFilter;
|
|
|
import android.text.TextUtils;
|
|
|
+import android.util.Log;
|
|
|
|
|
|
+import com.alibaba.fastjson.JSON;
|
|
|
import com.android.volley.Response;
|
|
|
import com.android.volley.VolleyError;
|
|
|
import com.xzjmyk.pm.activity.AppConfig;
|
|
|
@@ -299,6 +301,7 @@ public class LoginHelper {
|
|
|
public void onResponse(ObjectResult<LoginAuto> result) {
|
|
|
boolean success = Result.defaultParser(activity, result, false);
|
|
|
if (success && result.getData() != null) {
|
|
|
+ Log.i("Arison","设备登陆信息:"+ JSON.toJSONString(result));
|
|
|
MyApplication.getInstance().mUserStatusChecked = true;// 检测Token成功
|
|
|
int tokenExists = result.getData().getTokenExists();// 1=令牌存在、0=令牌不存在
|
|
|
int serialStatus = result.getData().getSerialStatus();// 1=没有设备号、2=设备号一致、3=设备号不一致
|