|
|
@@ -91,7 +91,7 @@ public class VollyRequest {
|
|
|
index++;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+ MyLog.d("aaa","*************************" + "\n" + "接口地址:" + url);
|
|
|
PdaApplication.mRequestQueue.cancelAll(httpParams.getUrl());
|
|
|
|
|
|
stringRequest = new StringRequest(httpParams.getMethod(), url,
|
|
|
@@ -99,7 +99,8 @@ public class VollyRequest {
|
|
|
@Override
|
|
|
public void onResponse(String s) {
|
|
|
try {
|
|
|
- LogUtil.prinlnLongMsg("responseSucc", s);
|
|
|
+ //LogUtil.prinlnLongMsg("responseSucc", s);
|
|
|
+ MyLog.d("aaa","响应成功:" + s);
|
|
|
httpCallback.onSuccess(httpParams.getFlag(), s);
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
@@ -111,7 +112,7 @@ public class VollyRequest {
|
|
|
public void onErrorResponse(VolleyError volleyError) {
|
|
|
String errorToast = CommonUtil.showErrorToast(volleyError, false);
|
|
|
try {
|
|
|
- LogUtil.e("responErr", errorToast);
|
|
|
+ //LogUtil.e("responErr", errorToast);
|
|
|
if (errorToast.length() >= 200) {
|
|
|
httpCallback.onFail(httpParams.getFlag(), "请求异常");
|
|
|
} else {
|