Merge remote-tracking branch 'ztcloud/test' into dev
This commit is contained in:
@@ -9,6 +9,7 @@ import com.zt.plat.module.infra.service.file.FileConfigService;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.time.LocalDateTime;
|
||||
@@ -18,6 +19,7 @@ import java.util.Date;
|
||||
/**
|
||||
* @author chenbowen
|
||||
*/
|
||||
@Slf4j
|
||||
@Schema(description = "管理后台 - 文件 Response VO,不返回 content 字段,太大")
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
@@ -87,6 +89,7 @@ public class FileRespVO {
|
||||
if (presignedUrl == null || presignedUrl.isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
log.info("presignedUrl:{}", presignedUrl);
|
||||
String base64PresignedUrl = Base64.getEncoder().encodeToString(presignedUrl.getBytes(StandardCharsets.UTF_8));
|
||||
String timestamp = String.valueOf(System.currentTimeMillis());
|
||||
String loginUserNickname = SecurityFrameworkUtils.getLoginUserNickname();
|
||||
|
||||
Reference in New Issue
Block a user