feat:(hotfix1010) 临时授权下载接口-扩大fileKeys尺寸大小

This commit is contained in:
xudawei 2024-10-10 10:39:30 +08:00
parent 90e4eb06cc
commit 66828cb6c3

View File

@ -62,6 +62,7 @@ import cn.azxo.framework.common.model.CommonResponse;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.collection.CollectionUtil;
import cn.hutool.core.lang.Pair;
import com.alibaba.fastjson.JSON;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import lombok.extern.slf4j.Slf4j;
@ -898,7 +899,7 @@ public class FileServiceImpl implements FileService {
throw new BizException(CodeEnum.SIGN_URL_DOWNLOAD_FILEKEYS_EXCEEDS_MAXSIZE, "signUrlDownload fileKeys 大小超过" + SIGN_URL_DOWNLOAD_MAXSIZE);
}
if (dto.getFileKeys().size() > 1000) {
log.info("fileservice#signUrlDownload,fileKeys-size > 1000");
log.info("fileservice#signUrlDownload,fileKeys-size > 1000,dto:{},size:{}", JSON.toJSONString(dto), dto.getFileKeys().size());
}
}