|
|
|
@ -2,6 +2,8 @@ package com.rehome.zhdcoa.ui.activity;
|
|
|
|
|
|
|
|
|
|
|
|
import android.content.ContentValues;
|
|
|
|
import android.content.ContentValues;
|
|
|
|
import android.content.DialogInterface;
|
|
|
|
import android.content.DialogInterface;
|
|
|
|
|
|
|
|
import android.text.TextUtils;
|
|
|
|
|
|
|
|
import android.util.Log;
|
|
|
|
import android.view.View;
|
|
|
|
import android.view.View;
|
|
|
|
import android.widget.AdapterView;
|
|
|
|
import android.widget.AdapterView;
|
|
|
|
import android.widget.Button;
|
|
|
|
import android.widget.Button;
|
|
|
|
@ -11,6 +13,7 @@ import android.widget.TextView;
|
|
|
|
import androidx.appcompat.app.AlertDialog;
|
|
|
|
import androidx.appcompat.app.AlertDialog;
|
|
|
|
|
|
|
|
|
|
|
|
import com.rehome.zhdcoa.App;
|
|
|
|
import com.rehome.zhdcoa.App;
|
|
|
|
|
|
|
|
import com.rehome.zhdcoa.BuildConfig;
|
|
|
|
import com.rehome.zhdcoa.Contans;
|
|
|
|
import com.rehome.zhdcoa.Contans;
|
|
|
|
import com.rehome.zhdcoa.DBModel.Ajhjh;
|
|
|
|
import com.rehome.zhdcoa.DBModel.Ajhjh;
|
|
|
|
import com.rehome.zhdcoa.DBModel.AjhjhxzrwList;
|
|
|
|
import com.rehome.zhdcoa.DBModel.AjhjhxzrwList;
|
|
|
|
@ -255,6 +258,9 @@ public class XzjhFragment extends BaseFragment {
|
|
|
|
Request<String> request = NoHttp.createStringRequest(Contans.IP + Contans.DJJHDLB);
|
|
|
|
Request<String> request = NoHttp.createStringRequest(Contans.IP + Contans.DJJHDLB);
|
|
|
|
request.add("jhid", UiUtlis.encoder(jhid));
|
|
|
|
request.add("jhid", UiUtlis.encoder(jhid));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
showLog("--------->>>>>>>>>>>>");
|
|
|
|
|
|
|
|
showLog(Contans.IP + Contans.DJJHDLB);
|
|
|
|
|
|
|
|
|
|
|
|
if(App.getInstance().getUserInfo()!=null&&App.getInstance().getUserInfo().getToken()!=null){
|
|
|
|
if(App.getInstance().getUserInfo()!=null&&App.getInstance().getUserInfo().getToken()!=null){
|
|
|
|
String token = App.getInstance().getUserInfo().getToken();
|
|
|
|
String token = App.getInstance().getUserInfo().getToken();
|
|
|
|
String credential = "Bearer " + token;
|
|
|
|
String credential = "Bearer " + token;
|
|
|
|
|