人员定位
parent
4d91d260be
commit
a616c94df9
|
@ -524,7 +524,7 @@ public class MapController extends BaseController {
|
|||
PageData pd = this.getPageData();
|
||||
String errInfo = "success";
|
||||
HashMap<String, Object> param = new HashMap<>();
|
||||
String result = HttpUtil.get("https://badge.hongchuankeji.com:7812/mapi/v1/queryWorkCardLocation", param);
|
||||
String result = HttpUtil.get("http://172.16.11.145:8888/mapi/v1/queryWorkCardLocation", param);
|
||||
Map<String,Object> resultMap = (Map<String, Object>) JSON.parse(result);
|
||||
String data = resultMap.get("data").toString();
|
||||
List<PageData> dataList = JSONArray.parseArray(data,PageData.class);
|
||||
|
|
|
@ -28,7 +28,7 @@ public class PositioningScheduled {
|
|||
}
|
||||
}
|
||||
|
||||
// @Scheduled(cron ="0 0 2 * * ? ") // 凌晨两点
|
||||
@Scheduled(cron ="0 0 2 * * ? ") // 凌晨两点
|
||||
// @Scheduled(cron = "0/10 * * * * ?")
|
||||
public void syncCardNo(){
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue