解决tplink文件名保存错误

This commit is contained in:
1378012178@qq.com 2026-05-13 14:45:49 +08:00
parent ccc41e1eba
commit 5638903b38
2 changed files with 3 additions and 3 deletions

View File

@ -136,7 +136,7 @@ public class TplinkUploadJob implements Job {
cn.hutool.json.JSONObject result = jsonObject.getJSONObject("result");
tplinkUploadLogEntity.setTplinkTaskStatus("0");
tplinkUploadLogEntity.setTplinkTaskId(result.getStr("taskId"));
tplinkUploadLogEntity.setTplinkPath(ftpUploadpath + "/" + fileName);
tplinkUploadLogEntity.setTplinkPath(ftpUploadpath + "/" + fileName + ".mp4");
} else {
String errorMsg = "";
try {

View File

@ -227,8 +227,8 @@ spring:
password:
#rabbitmq 配置
rabbitmq:
host: 192.168.2.199
# host: localhost
# host: 192.168.2.199
host: localhost
prot: 5672
username: hldy
password: hldy