考勤信息转发去除
This commit is contained in:
parent
242d0b4c7d
commit
d203bb2a59
@ -1181,16 +1181,6 @@ status 状态码 String 1表示成功;其余表示失败
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String uploadAttendanceByDev(UploadAttendanceByDevDto dto) {
|
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<UfaceDev>()
|
UfaceDev dev = ufaceDevMapper.selectOne(new LambdaQueryWrapper<UfaceDev>()
|
||||||
.eq(UfaceDev::getDevSn, dto.getDeviceId()));
|
.eq(UfaceDev::getDevSn, dto.getDeviceId()));
|
||||||
if (dev == null) {
|
if (dev == null) {
|
||||||
|
|||||||
@ -168,9 +168,9 @@ is-license=false
|
|||||||
#天气url
|
#天气url
|
||||||
tianqiUrl=http://v1.yiketianqi.com
|
tianqiUrl=http://v1.yiketianqi.com
|
||||||
#天气appid
|
#天气appid
|
||||||
tianqiAppid=98454448
|
tianqiAppid=16337216
|
||||||
#天气appsecret
|
#天气appsecret
|
||||||
tianqiAppsecret=ZIycjw4u
|
tianqiAppsecret=WeF8KCM0
|
||||||
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
|
spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
|
||||||
spring.jackson.time-zone=GMT+8
|
spring.jackson.time-zone=GMT+8
|
||||||
#邮箱配置
|
#邮箱配置
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user