app/src/main/java/com/moral/yunfushao/httputils/HttpUtils.java
@@ -137,6 +137,7 @@ XLog.e("result:" + s); try { JSONObject resJosn= new JSONObject(s); if(resJosn.has("data")) { JSONObject jsonObject = resJosn.getJSONObject("data"); int errno = jsonObject.optInt("code"); String message = jsonObject.optString("msg"); @@ -145,6 +146,7 @@ }else{ httpCallBack.onFail(errno,message); } } } catch (JSONException e) { e.printStackTrace(); }