Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_goodmoney
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
android_goodmoney
Commits
4434c354
Commit
4434c354
authored
Mar 20, 2021
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
797a007a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
OkHttpInterceptor.java
.../main/java/com/mints/goodmoney/net/OkHttpInterceptor.java
+2
-1
No files found.
GoodMoney/app/src/main/java/com/mints/goodmoney/net/OkHttpInterceptor.java
View file @
4434c354
...
...
@@ -185,7 +185,8 @@ public class OkHttpInterceptor implements Interceptor {
rspString
=
AESUtils
.
detrypt
(
data
.
toString
(),
aesKey
);
JSONObject
jsonArray
=
new
JSONObject
(
rspString
);
json
.
put
(
"data"
,
jsonArray
);
rspString
=
json
.
toString
().
replace
(
"\\"
,
""
);
rspString
=
json
.
toString
();
// rspString = json.toString().replace("\\", "");
}
}
catch
(
Exception
e
)
{
LogUtil
.
d
(
"OkHttpInterceptor"
,
"json解密失败。url:"
+
response
.
request
().
url
().
toString
()
+
"\n\n 响应报文:"
+
buffer
.
clone
().
readString
(
charset
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment