@@ -40,9 +40,9 @@ import retrofit2.converter.scalars.ScalarsConverterFactory; | |||
public class MyRetrofit { | |||
//是否设置缓存 | |||
private static final boolean Cache = false; | |||
// private final String BaseUrl = "http://192.168.100.63:8087/ifzt/api/"; | |||
private final String BaseUrl = "http://192.168.100.63:8087/ifzt/api/"; | |||
// private final String BaseUrl = "http://58.16.58.161:19002/ifzt/api/"; | |||
private final String BaseUrl = "http://222.85.144.89:19002/ifzt/api/"; | |||
// private final String BaseUrl = "http://222.85.144.89:19002/ifzt/api/"; | |||
private final String appId = "admin001"; | |||
private final String IFCODE = ""; | |||
private final String bizContent = ""; |
@@ -125,7 +125,7 @@ public class ObuActivateRequester implements ToastAction { | |||
} | |||
/** | |||
* 安装确认 | |||
* 安装确认 有用的 | |||
*/ | |||
public void obuSetConfirm() { | |||
// 获取写卡指令,开卡申请后,逐步获取写卡指令 |
@@ -279,7 +279,7 @@ public class HomeListInfo extends AppActivity implements StatusAction { | |||
public void BluetoothLinkIsSuccessful(BoxManagers boxManagers) { | |||
boolean cardId = TextUtils.isEmpty(bizContent1.getCardId()); | |||
String cardStatus = bizContent1.getCardStatus() == null ? "0" : bizContent1.getCardStatus(); | |||
boolean obuId = TextUtils.isEmpty(bizContent1.getCardId()); | |||
boolean obuId = TextUtils.isEmpty(bizContent1.getObuId()); | |||
//0 未安装 11 已发行 -> 走激活 9 发行申请 -> 发行 | |||
String obuStatus = bizContent1.getObuStatus() == null ? "9" : bizContent1.getObuStatus(); | |||
//OBU状态为 -> 1 2 3 4 5 6 7(直接走激活) 且卡状态不为 0 9 99 |