Commit 39d5572e authored by liuzhaoce's avatar liuzhaoce

report

parent c9a614ba
......@@ -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'
......
......@@ -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));
......
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