Commit 4681a8ecfb18dbbc0b055344e0e2ce4fd5217d35

Authored by 娄高锋
1 parent 0871ab1e

http协议改成https协议

src/main/java/com/bsth/realschedule/DataUpload.java
... ... @@ -205,7 +205,7 @@ public class DataUpload {
205 205 listGroup.add(newList);
206 206 }
207 207  
208   - String json= getHttpInterface("http://180.167.126.126:8992/api/getcode");
  208 + String json= getHttpInterface("https://180.167.126.126:8992/api/getcode");
209 209 Map<String, Object> map=(Map<String, Object>) JSONObject.parse(json);
210 210 String token = encrypt(accessToken, map.get("result").toString());
211 211 String deleteAll = "TRUE";
... ... @@ -218,7 +218,7 @@ public class DataUpload {
218 218 // param.put("DeleteAll", deleteAll);
219 219 // param.put("DataList", JSON.toJSONString(list));
220 220 param.put("list", URLEncoder.encode(JSON.toJSONStringWithDateFormat(list, "yyyy-MM-dd HH:mm:ss"), "UTF-8"));
221   - HttpUtils.request("http://180.167.126.126:8992/api/todaybuslinescheduleinfo/addEntityList",
  221 + HttpUtils.request("https://180.167.126.126:8992/api/todaybuslinescheduleinfo/addEntityList",
222 222 new BackClass(), "POST", header, param);
223 223 deleteAll = "FALSE";
224 224 }
... ... @@ -377,7 +377,7 @@ public class DataUpload {
377 377 listGroup.add(newList);
378 378 }
379 379  
380   - String json= getHttpInterface("http://180.167.126.126:8992/api/getcode");
  380 + String json= getHttpInterface("https://180.167.126.126:8992/api/getcode");
381 381 Map<String, Object> map=(Map<String, Object>) JSONObject.parse(json);
382 382 String token = encrypt(accessToken, map.get("result").toString());
383 383 String deleteAll = "TRUE";
... ... @@ -390,7 +390,7 @@ public class DataUpload {
390 390 // param.put("DeleteAll", deleteAll);
391 391 // param.put("DataList", JSON.toJSONString(list));
392 392 // param.put("list", URLEncoder.encode(JSON.toJSONStringWithDateFormat(list, "yyyy-MM-dd HH:mm:ss"), "UTF-8"));
393   - HttpUtils.request("http://180.167.126.126:8992/api/busdispatchuncarrymileage/addEntityList",
  393 + HttpUtils.request("https://180.167.126.126:8992/api/busdispatchuncarrymileage/addEntityList",
394 394 new BackClass(), "POST", header, param);
395 395 deleteAll = "FALSE";
396 396 }
... ... @@ -568,7 +568,7 @@ public class DataUpload {
568 568 listGroup.add(newList);
569 569 }
570 570  
571   - String json= getHttpInterface("http://180.167.126.126:8992/api/getcode");
  571 + String json= getHttpInterface("https://180.167.126.126:8992/api/getcode");
572 572 Map<String, Object> map=(Map<String, Object>) JSONObject.parse(json);
573 573 String token = encrypt(accessToken, map.get("result").toString());
574 574 String deleteAll = "TRUE";
... ... @@ -581,7 +581,7 @@ public class DataUpload {
581 581 // param.put("DeleteAll", deleteAll);
582 582 // param.put("DataList", JSON.toJSONString(list));
583 583 // param.put("list", URLEncoder.encode(JSON.toJSONStringWithDateFormat(list, "yyyy-MM-dd HH:mm:ss"), "UTF-8"));
584   - HttpUtils.request("http://180.167.126.126:8992/api/busdispatchundonemileage/addEntityList",
  584 + HttpUtils.request("https://180.167.126.126:8992/api/busdispatchundonemileage/addEntityList",
585 585 new BackClass(), "POST", header, param);
586 586 deleteAll = "FALSE";
587 587 }
... ...
src/main/java/com/bsth/serviec_jk/JkToken.java
1   -package com.bsth.serviec_jk;
2   -
3   -import com.fasterxml.jackson.databind.ObjectMapper;
4   -import org.apache.tomcat.util.http.fileupload.IOUtils;
5   -
6   -import java.io.*;
7   -import java.net.HttpURLConnection;
8   -import java.net.MalformedURLException;
9   -import java.net.URL;
10   -import java.net.URLEncoder;
11   -import java.util.*;
12   -
13   -public class JkToken {
14   - //加密的token码
15   - public static String jkdata() {
16   - try {
17   - String token ="abfed98867c64fde99f7f88a4532efa8";
18   - String endpoint = "http://180.167.126.126:8992/api/getcode";
19   - InputStream in = null;
20   - try {
21   - HttpURLConnection con = (HttpURLConnection) new URL(endpoint).openConnection();
22   - con.setDoInput(true);
23   - con.setDoOutput(true);
24   - con.setRequestMethod("GET");
25   - con.setConnectTimeout(10000);
26   - con.setReadTimeout(10000);
27   - con.setRequestProperty("keep-alive", "true");
28   - con.setRequestProperty("accept", "application/json");
29   - con.setRequestProperty("content-type", "application/json");
30   -
31   - if (con.getResponseCode() == 200) {
32   - in = con.getInputStream();
33   - ByteArrayOutputStream bout = new ByteArrayOutputStream();
34   - IOUtils.copy(in, bout);
35   - Map map = new ObjectMapper().readValue(bout.toByteArray(), Map.class);
36   - String sd = encrypt(token,(String)map.get("result"));
37   - return sd;
38   - }
39   -
40   -
41   -
42   - } catch (MalformedURLException e) {
43   - // TODO Auto-generated catch block
44   - e.printStackTrace();
45   - } catch (IOException e) {
46   - // TODO Auto-generated catch block
47   - e.printStackTrace();
48   - }
49   - } catch (Exception e) {
50   - e.printStackTrace();
51   - }
52   - return null;
53   - }
54   -
55   -
56   - public static String encrypt(String token, String code) throws Exception {
57   - if (token.length() != 32) throw new Exception("token 长度不正确");
58   - code = padRight(code, 16, '0');
59   -
60   - String tmpToken = "";
61   - for (int i = 0; i < 8; i++){
62   - String subString = code.substring(i * 2, (i + 1) * 2);
63   - tmpToken += subString + token.substring(i * 4, (i + 1) * 4);
64   - }
65   - int pos = tmpToken.length() / 2;
66   - tmpToken = tmpToken.substring(pos) + tmpToken.substring(0, pos);
67   -
68   - pos = tmpToken.length() / 4;
69   - tmpToken = tmpToken.substring(pos * 3) + tmpToken.substring(pos, pos * 3) + tmpToken.substring(0, pos);
70   - return URLEncoder.encode(tmpToken, "GBK");
71   - }
72   -
73   -
74   - public static String padRight(String s, int len, char ch){
75   - int diff = len - s.length();
76   - if (diff <= 0) {
77   - return s;
78   - }
79   -
80   - char[] charr = new char[len];
81   - System.arraycopy(s.toCharArray(), 0, charr, 0, s.length());
82   - for (int i = s.length(); i < len; i++) {
83   - charr[i] = ch;
84   - }
85   - return new String(charr);
86   - }
87   -
88   - public static void main(String[] args) {
89   - jkdata();
90   - }
91   -
92   -}
  1 +package com.bsth.serviec_jk;
  2 +
  3 +import com.fasterxml.jackson.databind.ObjectMapper;
  4 +import org.apache.tomcat.util.http.fileupload.IOUtils;
  5 +
  6 +import java.io.*;
  7 +import java.net.HttpURLConnection;
  8 +import java.net.MalformedURLException;
  9 +import java.net.URL;
  10 +import java.net.URLEncoder;
  11 +import java.util.*;
  12 +
  13 +public class JkToken {
  14 + //加密的token码
  15 + public static String jkdata() {
  16 + try {
  17 + String token ="abfed98867c64fde99f7f88a4532efa8";
  18 + String endpoint = "https://180.167.126.126:8992/api/getcode";
  19 + InputStream in = null;
  20 + try {
  21 + HttpURLConnection con = (HttpURLConnection) new URL(endpoint).openConnection();
  22 + con.setDoInput(true);
  23 + con.setDoOutput(true);
  24 + con.setRequestMethod("GET");
  25 + con.setConnectTimeout(10000);
  26 + con.setReadTimeout(10000);
  27 + con.setRequestProperty("keep-alive", "true");
  28 + con.setRequestProperty("accept", "application/json");
  29 + con.setRequestProperty("content-type", "application/json");
  30 +
  31 + if (con.getResponseCode() == 200) {
  32 + in = con.getInputStream();
  33 + ByteArrayOutputStream bout = new ByteArrayOutputStream();
  34 + IOUtils.copy(in, bout);
  35 + Map map = new ObjectMapper().readValue(bout.toByteArray(), Map.class);
  36 + String sd = encrypt(token,(String)map.get("result"));
  37 + return sd;
  38 + }
  39 +
  40 +
  41 +
  42 + } catch (MalformedURLException e) {
  43 + // TODO Auto-generated catch block
  44 + e.printStackTrace();
  45 + } catch (IOException e) {
  46 + // TODO Auto-generated catch block
  47 + e.printStackTrace();
  48 + }
  49 + } catch (Exception e) {
  50 + e.printStackTrace();
  51 + }
  52 + return null;
  53 + }
  54 +
  55 +
  56 + public static String encrypt(String token, String code) throws Exception {
  57 + if (token.length() != 32) throw new Exception("token 长度不正确");
  58 + code = padRight(code, 16, '0');
  59 +
  60 + String tmpToken = "";
  61 + for (int i = 0; i < 8; i++){
  62 + String subString = code.substring(i * 2, (i + 1) * 2);
  63 + tmpToken += subString + token.substring(i * 4, (i + 1) * 4);
  64 + }
  65 + int pos = tmpToken.length() / 2;
  66 + tmpToken = tmpToken.substring(pos) + tmpToken.substring(0, pos);
  67 +
  68 + pos = tmpToken.length() / 4;
  69 + tmpToken = tmpToken.substring(pos * 3) + tmpToken.substring(pos, pos * 3) + tmpToken.substring(0, pos);
  70 + return URLEncoder.encode(tmpToken, "GBK");
  71 + }
  72 +
  73 +
  74 + public static String padRight(String s, int len, char ch){
  75 + int diff = len - s.length();
  76 + if (diff <= 0) {
  77 + return s;
  78 + }
  79 +
  80 + char[] charr = new char[len];
  81 + System.arraycopy(s.toCharArray(), 0, charr, 0, s.length());
  82 + for (int i = s.length(); i < len; i++) {
  83 + charr[i] = ch;
  84 + }
  85 + return new String(charr);
  86 + }
  87 +
  88 + public static void main(String[] args) {
  89 + jkdata();
  90 + }
  91 +
  92 +}
... ...
src/main/java/com/bsth/serviec_jk/car_start/CarStartService.java
1   -package com.bsth.serviec_jk.car_start;
2   -
3   -import com.alibaba.fastjson.JSON;
4   -import com.bsth.entity.Clfcxxb;
5   -import com.bsth.serviec_jk.JkToken;
6   -import com.bsth.serviec_jk.xl_basic.HttpService;
7   -import com.bsth.utils.HttpUtils;
8   -import org.slf4j.Logger;
9   -import org.slf4j.LoggerFactory;
10   -import org.springframework.beans.factory.annotation.Autowired;
11   -import org.springframework.jdbc.core.BeanPropertyRowMapper;
12   -import org.springframework.jdbc.core.JdbcTemplate;
13   -import org.springframework.scheduling.annotation.EnableScheduling;
14   -import org.springframework.scheduling.annotation.Scheduled;
15   -import org.springframework.stereotype.Service;
16   -import org.springframework.transaction.annotation.Transactional;
17   -
18   -import java.io.UnsupportedEncodingException;
19   -import java.net.URLEncoder;
20   -import java.util.*;
21   -
22   -@Service
23   -@EnableScheduling
24   -public class CarStartService {
25   -
26   - @Autowired
27   - JdbcTemplate jdbcTemplate;
28   -
29   - private final static Logger log = LoggerFactory.getLogger(HttpUtils.class);
30   - //车辆发车信息
31   - @Transactional()
32   - @Scheduled(cron = "0 */1 * * * ?") //每分钟执行一回
33   - public void listall() throws UnsupportedEncodingException {
34   - log.info("调用车辆发车信息接口开始---------------");
35   - long startTime=System.currentTimeMillis();
36   - String url="http://180.167.126.126:8992/api/todaybuslinescheduleshiftinfo/addEntityList";
37   - Map<String,Object> map = new HashMap<>();
38   - //不走缓存,暂时直连数据库
39   - List<Clfcxxb> list = jdbcTemplate.query("select * from bsth_t_clfcxxb", BeanPropertyRowMapper.newInstance(Clfcxxb.class));
40   - Map<String,Object> numap = new LinkedHashMap<>();
41   - List numlist = new ArrayList();
42   - for (Clfcxxb x:list) {
43   - //数据整理
44   - numap.put("ScheduleDate",x.getRq());
45   - numap.put("BusLineCode",x.getLineCode());
46   - numap.put("MainBusID",null);
47   - numap.put("GuideBoardID",null);
48   - numap.put("ShiftSN",null);
49   - numap.put("BusLineName",x.getLineName());
50   - numap.put("MainBusCode",x.getNbbm());
51   - numap.put("MainBusNumber",x.getCph());
52   - numap.put("MainBusCompanyNumber",null);
53   - numap.put("TerminalCode",null);
54   - numap.put("TemplateID",0);
55   - numap.put("GuideBoardName",null);
56   - numap.put("DriverEmpCode",null);
57   - numap.put("DriverEmpName",x.getJName());
58   - numap.put("DriverEmpNumber",x.getjGh());
59   - numap.put("ConductorEmpCode",null);
60   - numap.put("ConductorEmpName",null);
61   - numap.put("ConductorEmpNumber",null);
62   - numap.put("CompanyCode",null);
63   - numap.put("CompanyName",null);
64   - numap.put("SubCompanyCode",null);
65   - numap.put("SubCompanyName",null);
66   - numap.put("ShiftTypeCode",x.getBcType());
67   - numap.put("ShiftStateCode",null);
68   - numap.put("NondoTypeCode",null);
69   - numap.put("ShiftDirectionCode",null);
70   - numap.put("ShiftStartPlanTime",null);
71   - numap.put("ShiftStartWaitTime",x.getDfsj());
72   - numap.put("ShiftStartWaitNote",null);
73   - numap.put("ShiftStartFinishTime",null);
74   - numap.put("ShiftStartPlanStationCode",x.getSn());
75   - numap.put("ShiftStartAutoCode",null);
76   - numap.put("ShiftStartNote",null);
77   - numap.put("ShiftEndPlanStationCode",null);
78   - numap.put("ShiftEndPlanTime",null);
79   - numap.put("ShiftEndFinishTime",null);
80   - numap.put("ShiftEndAutoCode",null);
81   - numap.put("ShiftEndNote",null);
82   - numap.put("PlanKilometer",null);
83   - numap.put("FinishKilometer",null);
84   - numap.put("GPSKilometer",null);
85   - numap.put("PlanFinishTime",null);
86   - numap.put("FinishFinishTime",null);
87   - numap.put("KilometerFinishRate",null);
88   - numap.put("ShiftNumberFinishRate",null);
89   - numap.put("ReplaceBusLineCode",null);
90   - numap.put("ReplaceText",null);
91   - numap.put("DispathUserName",null);
92   - numap.put("DispathDatetime",null);
93   - numap.put("MessageID",null);
94   - numap.put("MessageDatetime",null);
95   - numap.put("TerminalReceiveCode",null);
96   - numap.put("TerminalReceiveDatetime",null);
97   - numap.put("DriverConfirmCode",null);
98   - numap.put("DriverConfirmDatetime",null);
99   - numlist.add(numap);
100   - numap = new LinkedHashMap<>();
101   -
102   - }
103   -
104   - String token = JkToken.jkdata();
105   - map.put("list",numlist);
106   - int count = 1;
107   - if(numlist.size()==0){
108   - return;
109   - }
110   - if(null !=numlist && numlist.size()>1000){
111   -
112   - for (int i = 0; i <numlist.size() ; ) {
113   -
114   - if(numlist.size()> i + 1000){
115   - log.info("第"+count+"次调用-----------");
116   - String json = "list=" + URLEncoder.encode(JSON.toJSONStringWithDateFormat(numlist.subList(i,i+1000), "yyyy-MM-dd HH:mm:ss"), "UTF-8");
117   - int resultCount= HttpService.httpRequestResulty(json,token,url,count);
118   - }else {
119   - log.info("第"+count+"次调用-----------");
120   - String json = "list=" + URLEncoder.encode(JSON.toJSONStringWithDateFormat(numlist.subList(i,numlist.size()), "yyyy-MM-dd HH:mm:ss"), "UTF-8");
121   - int resultCount= HttpService.httpRequestResulty(json,token,url,count);
122   - }
123   - i=i+1000;
124   - count++;
125   - }
126   - }else {
127   - String json = "list=" + URLEncoder.encode(JSON.toJSONStringWithDateFormat(numlist.subList(0,numlist.size()), "yyyy-MM-dd HH:mm:ss"), "UTF-8");
128   - int resultCount= HttpService.httpRequestResulty(json,token,url,count);
129   - }
130   - long endTime=System.currentTimeMillis();
131   - log.info("调用车辆发车信息接口结束---------------共计执行时间:"+(endTime-startTime));
132   - }
133   -
134   -}
  1 +package com.bsth.serviec_jk.car_start;
  2 +
  3 +import com.alibaba.fastjson.JSON;
  4 +import com.bsth.entity.Clfcxxb;
  5 +import com.bsth.serviec_jk.JkToken;
  6 +import com.bsth.serviec_jk.xl_basic.HttpService;
  7 +import com.bsth.utils.HttpUtils;
  8 +import org.slf4j.Logger;
  9 +import org.slf4j.LoggerFactory;
  10 +import org.springframework.beans.factory.annotation.Autowired;
  11 +import org.springframework.jdbc.core.BeanPropertyRowMapper;
  12 +import org.springframework.jdbc.core.JdbcTemplate;
  13 +import org.springframework.scheduling.annotation.EnableScheduling;
  14 +import org.springframework.scheduling.annotation.Scheduled;
  15 +import org.springframework.stereotype.Service;
  16 +import org.springframework.transaction.annotation.Transactional;
  17 +
  18 +import java.io.UnsupportedEncodingException;
  19 +import java.net.URLEncoder;
  20 +import java.util.*;
  21 +
  22 +@Service
  23 +@EnableScheduling
  24 +public class CarStartService {
  25 +
  26 + @Autowired
  27 + JdbcTemplate jdbcTemplate;
  28 +
  29 + private final static Logger log = LoggerFactory.getLogger(HttpUtils.class);
  30 + //车辆发车信息
  31 + @Transactional()
  32 + @Scheduled(cron = "0 */1 * * * ?") //每分钟执行一回
  33 + public void listall() throws UnsupportedEncodingException {
  34 + log.info("调用车辆发车信息接口开始---------------");
  35 + long startTime=System.currentTimeMillis();
  36 + String url="https://180.167.126.126:8992/api/todaybuslinescheduleshiftinfo/addEntityList";
  37 + Map<String,Object> map = new HashMap<>();
  38 + //不走缓存,暂时直连数据库
  39 + List<Clfcxxb> list = jdbcTemplate.query("select * from bsth_t_clfcxxb", BeanPropertyRowMapper.newInstance(Clfcxxb.class));
  40 + Map<String,Object> numap = new LinkedHashMap<>();
  41 + List numlist = new ArrayList();
  42 + for (Clfcxxb x:list) {
  43 + //数据整理
  44 + numap.put("ScheduleDate",x.getRq());
  45 + numap.put("BusLineCode",x.getLineCode());
  46 + numap.put("MainBusID",null);
  47 + numap.put("GuideBoardID",null);
  48 + numap.put("ShiftSN",null);
  49 + numap.put("BusLineName",x.getLineName());
  50 + numap.put("MainBusCode",x.getNbbm());
  51 + numap.put("MainBusNumber",x.getCph());
  52 + numap.put("MainBusCompanyNumber",null);
  53 + numap.put("TerminalCode",null);
  54 + numap.put("TemplateID",0);
  55 + numap.put("GuideBoardName",null);
  56 + numap.put("DriverEmpCode",null);
  57 + numap.put("DriverEmpName",x.getJName());
  58 + numap.put("DriverEmpNumber",x.getjGh());
  59 + numap.put("ConductorEmpCode",null);
  60 + numap.put("ConductorEmpName",null);
  61 + numap.put("ConductorEmpNumber",null);
  62 + numap.put("CompanyCode",null);
  63 + numap.put("CompanyName",null);
  64 + numap.put("SubCompanyCode",null);
  65 + numap.put("SubCompanyName",null);
  66 + numap.put("ShiftTypeCode",x.getBcType());
  67 + numap.put("ShiftStateCode",null);
  68 + numap.put("NondoTypeCode",null);
  69 + numap.put("ShiftDirectionCode",null);
  70 + numap.put("ShiftStartPlanTime",null);
  71 + numap.put("ShiftStartWaitTime",x.getDfsj());
  72 + numap.put("ShiftStartWaitNote",null);
  73 + numap.put("ShiftStartFinishTime",null);
  74 + numap.put("ShiftStartPlanStationCode",x.getSn());
  75 + numap.put("ShiftStartAutoCode",null);
  76 + numap.put("ShiftStartNote",null);
  77 + numap.put("ShiftEndPlanStationCode",null);
  78 + numap.put("ShiftEndPlanTime",null);
  79 + numap.put("ShiftEndFinishTime",null);
  80 + numap.put("ShiftEndAutoCode",null);
  81 + numap.put("ShiftEndNote",null);
  82 + numap.put("PlanKilometer",null);
  83 + numap.put("FinishKilometer",null);
  84 + numap.put("GPSKilometer",null);
  85 + numap.put("PlanFinishTime",null);
  86 + numap.put("FinishFinishTime",null);
  87 + numap.put("KilometerFinishRate",null);
  88 + numap.put("ShiftNumberFinishRate",null);
  89 + numap.put("ReplaceBusLineCode",null);
  90 + numap.put("ReplaceText",null);
  91 + numap.put("DispathUserName",null);
  92 + numap.put("DispathDatetime",null);
  93 + numap.put("MessageID",null);
  94 + numap.put("MessageDatetime",null);
  95 + numap.put("TerminalReceiveCode",null);
  96 + numap.put("TerminalReceiveDatetime",null);
  97 + numap.put("DriverConfirmCode",null);
  98 + numap.put("DriverConfirmDatetime",null);
  99 + numlist.add(numap);
  100 + numap = new LinkedHashMap<>();
  101 +
  102 + }
  103 +
  104 + String token = JkToken.jkdata();
  105 + map.put("list",numlist);
  106 + int count = 1;
  107 + if(numlist.size()==0){
  108 + return;
  109 + }
  110 + if(null !=numlist && numlist.size()>1000){
  111 +
  112 + for (int i = 0; i <numlist.size() ; ) {
  113 +
  114 + if(numlist.size()> i + 1000){
  115 + log.info("第"+count+"次调用-----------");
  116 + String json = "list=" + URLEncoder.encode(JSON.toJSONStringWithDateFormat(numlist.subList(i,i+1000), "yyyy-MM-dd HH:mm:ss"), "UTF-8");
  117 + int resultCount= HttpService.httpRequestResulty(json,token,url,count);
  118 + }else {
  119 + log.info("第"+count+"次调用-----------");
  120 + String json = "list=" + URLEncoder.encode(JSON.toJSONStringWithDateFormat(numlist.subList(i,numlist.size()), "yyyy-MM-dd HH:mm:ss"), "UTF-8");
  121 + int resultCount= HttpService.httpRequestResulty(json,token,url,count);
  122 + }
  123 + i=i+1000;
  124 + count++;
  125 + }
  126 + }else {
  127 + String json = "list=" + URLEncoder.encode(JSON.toJSONStringWithDateFormat(numlist.subList(0,numlist.size()), "yyyy-MM-dd HH:mm:ss"), "UTF-8");
  128 + int resultCount= HttpService.httpRequestResulty(json,token,url,count);
  129 + }
  130 + long endTime=System.currentTimeMillis();
  131 + log.info("调用车辆发车信息接口结束---------------共计执行时间:"+(endTime-startTime));
  132 + }
  133 +
  134 +}
... ...
src/main/java/com/bsth/serviec_jk/xl_basic/XlBasicService.java
... ... @@ -37,7 +37,7 @@ public class XlBasicService {
37 37 log.info("调用线路基本信息接口开始---------------");
38 38 long startTime=System.currentTimeMillis();
39 39 Map<String,Object> xlmap = new LinkedHashMap<>();
40   - String url = "http://180.167.126.126:8992/api/buslineinfo/insertlist";
  40 + String url = "https://180.167.126.126:8992/api/buslineinfo/insertlist";
41 41 try{
42 42 String password = "6DABD12209BEDAB0808CF7DC967EC2B4C6748277";
43 43 String timestamp = String.valueOf(System.currentTimeMillis());
... ... @@ -171,7 +171,7 @@ public class XlBasicService {
171 171 public void xlparameter(){
172 172 log.info("调用线路参数信息接口开始---------------");
173 173 long startTime=System.currentTimeMillis();
174   - String url = "http://180.167.126.126:8992/api/buslineparmterinfo/insertlist";
  174 + String url = "https://180.167.126.126:8992/api/buslineparmterinfo/insertlist";
175 175 Map<String,Object> xlmap = new HashMap<>();
176 176 try{
177 177 String password = "6DABD12209BEDAB0808CF7DC967EC2B4C6748277";
... ... @@ -306,7 +306,7 @@ public class XlBasicService {
306 306 long startTime=System.currentTimeMillis();
307 307 Map<String,Object> xlmap = new HashMap<>();
308 308 List numlist = new ArrayList();
309   - String url="http://180.167.126.126:8992/api/stationnetpoints/insertlist";
  309 + String url="https://180.167.126.126:8992/api/stationnetpoints/insertlist";
310 310 try{
311 311 String password = "6DABD12209BEDAB0808CF7DC967EC2B4C6748277";
312 312 String timestamp = String.valueOf(System.currentTimeMillis());
... ... @@ -420,7 +420,7 @@ public class XlBasicService {
420 420 long startTime=System.currentTimeMillis();
421 421 Map<String,Object> xlmap = new HashMap<>();
422 422 List numlist = new ArrayList();
423   - String url="http://180.167.126.126:8992/api/buslinenetstation/insertlist";
  423 + String url="https://180.167.126.126:8992/api/buslinenetstation/insertlist";
424 424 try{
425 425 String password = "6DABD12209BEDAB0808CF7DC967EC2B4C6748277";
426 426 String timestamp = String.valueOf(System.currentTimeMillis());
... ...