Commit abaae597 by sikang

取消http403预处理

parent aae5124b
...@@ -90,10 +90,10 @@ public abstract class HttpObserver<T> implements Observer<T> { ...@@ -90,10 +90,10 @@ public abstract class HttpObserver<T> implements Observer<T> {
case 401://Token失效 case 401://Token失效
LoginManager.get().tokenInvalid(); LoginManager.get().tokenInvalid();
return true; return true;
case 403: // case 403:
// 短信发送失败 // // 短信发送失败
onError(Error.SERVER_ERROR, LibConfig.getContext().getString(R.string.sms_code_error)); // onError(Error.SERVER_ERROR, LibConfig.getContext().getString(R.string.sms_code_error));
return true; // return true;
case 409: case 409:
if (exception.response().body() != null) { if (exception.response().body() != null) {
Gson gson = new Gson(); Gson gson = new Gson();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment