Commit 40a06b20 by lzxry

更改report请求路径+open

parent a9806f4e
......@@ -172,7 +172,7 @@ public class AppServiceImpl implements AppService
Map<String, String> conditions = new HashedMap();
String url = Constant.reportUrl + "/api/tkio/report/dmp/newdevicebypkgname/test/fd7ee4f73ea9d9619471aacc2ced1357";
String url = Constant.reportUrl + "/api/tkio/report/dmp/open/newdevicebypkgname/test/fd7ee4f73ea9d9619471aacc2ced1357";
conditions.put("datatype", "list");
conditions.put("startdate", startDate);
conditions.put("enddate", endDate);
......
......@@ -288,7 +288,7 @@ public class SyncAppDataTask
public List<String> findReyunPkgList() {
Map<String, String> conditions = new HashedMap();
String url = Constant.reportUrl + "/api/tkio/report/manager/bysql/fd7ee4f73ea9d9619471aacc2ced1357";
String url = Constant.reportUrl + "/api/tkio/report/manager/open/bysql/fd7ee4f73ea9d9619471aacc2ced1357";
String sql = "select distinct pkgname from tkio.tkio_app_pkgname where pkgname!='NULL'";
conditions.put("sql", sql);
conditions.put("dbtype", "mysql");
......
......@@ -221,7 +221,7 @@ public class AccountFlowRestrictServiceImpl implements AccountFlowRestrictServic
conditions.put("enddate", pastDate);
conditions.put("datatype", "list");
conditions.put("iscache", "0");
String url = Constant.reportUrl + "/api/tkio/report/trackingio/" + reportName + "/" + appId+"/fd7ee4f73ea9d9619471aacc2ced1357";
String url = Constant.reportUrl + "/api/tkio/report/trackingio/open/" + reportName + "/" + appId+"/fd7ee4f73ea9d9619471aacc2ced1357";
String responseJson = HttpClientUtil.doHttpPostRequest(url, "trackingio", conditions);
//System.out.println(reportName + "===========================" + responseJson);
HashMap<String, String> resultValMap = new HashMap<>();
......
......@@ -42,7 +42,7 @@ import java.util.*;
public class TkioAccountServiceImpl implements TkioAccountService {
private static final Logger logger = LoggerFactory.getLogger(TkioAccountServiceImpl.class);
//查询URI
private final static String URI_REPORT_BY_SQL = "/api/tkio/report/trackingio/bysql";
private final static String URI_REPORT_BY_SQL = "/api/tkio/report/trackingio/open/bysql";
@Autowired
Account4WebRepository account4WebRepository;
......
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