fix(cert): 修复证书文件路径问题

- 移除了上传路径末尾的斜杠
- 更新了证书路径相关的文档和脚本
- 调整了开发和生产环境配置中的上传路径
This commit is contained in:
2025-09-09 17:03:07 +08:00
parent a2b3d13571
commit c96bc5efea
6 changed files with 9 additions and 13 deletions

View File

@@ -1,19 +1,15 @@
package com.gxwebsoft.hjm.controller;
import cn.hutool.core.util.StrUtil;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.gxwebsoft.common.core.config.ConfigProperties;
import com.gxwebsoft.common.core.utils.FileServerUtil;
import com.gxwebsoft.common.core.web.BaseController;
import com.gxwebsoft.common.system.entity.FileRecord;
import com.gxwebsoft.common.system.service.FileRecordService;
import com.gxwebsoft.hjm.service.HjmBxLogService;
import com.gxwebsoft.hjm.entity.HjmBxLog;
import com.gxwebsoft.hjm.param.HjmBxLogParam;
import com.gxwebsoft.common.core.web.ApiResult;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.common.core.web.PageParam;
import com.gxwebsoft.common.core.web.BatchParam;
import com.gxwebsoft.common.core.annotation.OperationLog;
import com.gxwebsoft.common.system.entity.User;
@@ -168,7 +164,7 @@ public class HjmBxLogController extends BaseController {
* 文件上传位置(服务器)
*/
private String getUploadDir() {
return config.getUploadPath() + "file/";
return config.getUploadPath();
}
}