diff --git a/src/main/java/com/zhgd/xmgl/modules/worker/service/impl/WorkerAttendanceServiceImpl.java b/src/main/java/com/zhgd/xmgl/modules/worker/service/impl/WorkerAttendanceServiceImpl.java index c61e04b99..8e2240943 100644 --- a/src/main/java/com/zhgd/xmgl/modules/worker/service/impl/WorkerAttendanceServiceImpl.java +++ b/src/main/java/com/zhgd/xmgl/modules/worker/service/impl/WorkerAttendanceServiceImpl.java @@ -1181,16 +1181,6 @@ status 状态码 String 1表示成功;其余表示失败 @Override public String uploadAttendanceByDev(UploadAttendanceByDevDto dto) { - if (EnvironmentUtil.getActiveEnvironment().equals("baise")) { - CompletableFuture.runAsync(() -> { - //木垒转发 - String result2 = HttpRequest.post(PathUtil.getMlTranspondUrl() + "/photo") - .body(JSON.toJSONString(dto)) - .timeout(5000)//超时,毫秒 - .execute().body(); - log.info("木垒转发考勤结果:{}", result2); - }); - } UfaceDev dev = ufaceDevMapper.selectOne(new LambdaQueryWrapper() .eq(UfaceDev::getDevSn, dto.getDeviceId())); if (dev == null) { diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 214b0b824..df23b0f4c 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -168,9 +168,9 @@ is-license=false #天气url tianqiUrl=http://v1.yiketianqi.com #天气appid -tianqiAppid=98454448 +tianqiAppid=16337216 #天气appsecret -tianqiAppsecret=ZIycjw4u +tianqiAppsecret=WeF8KCM0 spring.jackson.date-format=yyyy-MM-dd HH:mm:ss spring.jackson.time-zone=GMT+8 #邮箱配置