|
|
@@ -8,6 +8,7 @@ import cn.hutool.http.HttpUtil;
|
|
|
import cn.hutool.json.JSONObject;
|
|
|
import cn.hutool.json.JSONUtil;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
+import org.dromara.common.log.annotation.Log;
|
|
|
|
|
|
import java.util.HashMap;
|
|
|
import java.util.List;
|
|
|
@@ -44,6 +45,7 @@ public class SPlatUtils {
|
|
|
params.put("deviceLatitude",i.getStr("location").split(",")[1]);
|
|
|
HttpResponse response = HttpUtil.createPost(url).header("satoken",token).body(JSONUtil.toJsonStr( params))
|
|
|
.execute();
|
|
|
+ log.info(response.body());
|
|
|
}
|
|
|
|
|
|
}
|