jinlin
2023-12-12 0dff85a422669f41ef6d8e88fa24bf26ca164cbd
zt/core/src/main/java/com/zt/modules/oss/controller/SysOssController.java
@@ -8,6 +8,7 @@
package com.zt.modules.oss.controller;
import cn.hutool.core.convert.Convert;
import com.zt.common.annotation.LogOperation;
import com.zt.common.annotation.QueryParam;
import com.zt.common.constant.Constant;
@@ -127,7 +128,7 @@
        //String id = fileId;
        String id = request.getParameter("fileId");
        if (StringUtils.isNotEmpty(id)) {
            SysOss oss = sysOssService.getById(Long.parseLong(id));
            SysOss oss = sysOssService.getById(Convert.toLong(id));
            if (CloudChannel.LOCAL.getValue().equals(oss.getChannel())) { // 本地
                System.out.println(CloudChannel.LOCAL.getValue());
                System.out.println(oss.getChannel());