Commit ae0ef339 by ddx

解析token异常不影响正常文本展示

parent 3707f3a4
...@@ -75,6 +75,7 @@ public class QueryManager implements IQueryManager { ...@@ -75,6 +75,7 @@ public class QueryManager implements IQueryManager {
JSONObject requestParam = new JSONObject(); JSONObject requestParam = new JSONObject();
JSONObject cookie = new JSONObject(); JSONObject cookie = new JSONObject();
String reqContext = incomeInvoiceApply.getReqContext(); String reqContext = incomeInvoiceApply.getReqContext();
try {
if (StringUtil.isNotEmpty(reqContext)) { if (StringUtil.isNotEmpty(reqContext)) {
if(reqContext.contains("token")) { if(reqContext.contains("token")) {
String preReqContext = reqContext.substring(reqContext.indexOf("T1C2K3")); String preReqContext = reqContext.substring(reqContext.indexOf("T1C2K3"));
...@@ -86,7 +87,10 @@ public class QueryManager implements IQueryManager { ...@@ -86,7 +87,10 @@ public class QueryManager implements IQueryManager {
} }
} }
} }
JSONObject responseResult = null; } catch(Exception e) {
e.printStackTrace();
}
IncomeCompletePeriod incomeCompletePeriod = IncomeCompletePeriod.builder() IncomeCompletePeriod incomeCompletePeriod = IncomeCompletePeriod.builder()
.cookie(cookie) .cookie(cookie)
.requestParam(requestParam) .requestParam(requestParam)
......
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