Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
g4proxy
Project
Project
Details
Activity
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
Administrator
g4proxy
Commits
39d5572e
Commit
39d5572e
authored
Apr 25, 2019
by
liuzhaoce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
report
parent
c9a614ba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
build.gradle
app/build.gradle
+1
-1
HttpClientUtils.java
...c/main/java/com/virjar/g4proxy/utils/HttpClientUtils.java
+1
-3
No files found.
app/build.gradle
View file @
39d5572e
...
...
@@ -54,7 +54,7 @@ dependencies {
api
'com.google.guava:guava:23.6-android'
api
'com.squareup.okhttp3:okhttp:3.10.0'
implementation
'commons-io:commons-io:2.6'
compile
'com.alibaba:fastjson:1.2.10'
implementation
'com.alibaba:fastjson:1.2.10'
//短信收发
api
'ir.mtajik.android:advancedsmsmanager:1.1.0'
api
'com.google.dagger:dagger:2.7'
...
...
app/src/main/java/com/virjar/g4proxy/utils/HttpClientUtils.java
View file @
39d5572e
...
...
@@ -97,9 +97,7 @@ public class HttpClientUtils {
public
static
Request
postRequest
(
String
url
,
org
.
json
.
JSONObject
data
){
Log
.
e
(
"report msg"
,
String
.
valueOf
(
data
));
String
dataJson
=
JSONObject
.
toJSONString
(
data
);
Log
.
e
(
"report msg"
,
dataJson
);
Log
.
e
(
"post msg"
,
String
.
valueOf
(
data
));
MediaType
JSON
=
MediaType
.
parse
(
"application/json; charset=utf-8"
);
RequestBody
body
=
RequestBody
.
create
(
JSON
,
String
.
valueOf
(
data
));
...
...
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