|
@@ -82,6 +82,12 @@ public class HttpUtils {
|
|
if (Constants.CODE_0.equals(body.getCode())) {
|
|
if (Constants.CODE_0.equals(body.getCode())) {
|
|
return new Result().error(body.getErrorMsg());
|
|
return new Result().error(body.getErrorMsg());
|
|
}
|
|
}
|
|
|
|
+ if (Constants.CODE_P001012.equals(body.getCode())) {
|
|
|
|
+ return new Result().noAuthError();
|
|
|
|
+ }
|
|
|
|
+ if (Constants.CODE_B001012.equals(body.getCode())) {
|
|
|
|
+ return new Result().noAuthError();
|
|
|
|
+ }
|
|
return new Result().error(body.getDesc());
|
|
return new Result().error(body.getDesc());
|
|
}
|
|
}
|
|
return new Result().error(bodyStr);
|
|
return new Result().error(bodyStr);
|