|
@@ -203,7 +203,7 @@ public class Guiji_Housingconstruction extends BaseApi {
|
|
|
JSONObject data = jsonObject.getJSONObject("data");
|
|
|
heat_token = data.getString("token");
|
|
|
head.put("Authorization", heat_token);
|
|
|
- System.out.println("heat_token:" + heat_token);
|
|
|
+// System.out.println("heat_token:" + heat_token);
|
|
|
}
|
|
|
}
|
|
|
return heat_token;
|
|
@@ -214,6 +214,7 @@ public class Guiji_Housingconstruction extends BaseApi {
|
|
|
private String env;
|
|
|
|
|
|
final String scheduTime = "0 0 0-23 * * ?";
|
|
|
+// final String scheduTime = "0 06 22 * * ?";//本地测试使用
|
|
|
|
|
|
@Scheduled(cron = scheduTime)
|
|
|
public ResultModel guiji_housingconstruction_hqhrzzxsjjk() {
|
|
@@ -224,6 +225,7 @@ public class Guiji_Housingconstruction extends BaseApi {
|
|
|
if (env != null && env.equals("internate")) {
|
|
|
try {
|
|
|
HttpUtil.doPost(forward_url + "/api/guiji_housingconstruction_hqhrzzxsjjk_forward", str, null);
|
|
|
+// this.guiji_housingconstruction_hqhrzzxsjjk_forward(str);//本地测试使用
|
|
|
r.setCode(00000);
|
|
|
r.setMessage("成功");
|
|
|
} catch (Exception e) {
|
|
@@ -259,6 +261,7 @@ public class Guiji_Housingconstruction extends BaseApi {
|
|
|
if (env != null && env.equals("internate")) {
|
|
|
try {
|
|
|
HttpUtil.doPost(forward_url + "/api/guiji_housingconstruction_hqryzxsjjk_forward", str, null);
|
|
|
+// this.guiji_housingconstruction_hqryzxsjjk_forward(str);//本地测试使用
|
|
|
r.setCode(00000);
|
|
|
r.setMessage("成功");
|
|
|
} catch (Exception e) {
|