日志输出预览地址
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 io.swagger.v3.oas.annotations.media.Schema;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.experimental.Accessors;
|
import lombok.experimental.Accessors;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
|
||||||
import java.nio.charset.StandardCharsets;
|
import java.nio.charset.StandardCharsets;
|
||||||
import java.time.LocalDateTime;
|
import java.time.LocalDateTime;
|
||||||
@@ -18,6 +19,7 @@ import java.util.Date;
|
|||||||
/**
|
/**
|
||||||
* @author chenbowen
|
* @author chenbowen
|
||||||
*/
|
*/
|
||||||
|
@Slf4j
|
||||||
@Schema(description = "管理后台 - 文件 Response VO,不返回 content 字段,太大")
|
@Schema(description = "管理后台 - 文件 Response VO,不返回 content 字段,太大")
|
||||||
@Data
|
@Data
|
||||||
@Accessors(chain = true)
|
@Accessors(chain = true)
|
||||||
@@ -87,6 +89,7 @@ public class FileRespVO {
|
|||||||
if (presignedUrl == null || presignedUrl.isEmpty()) {
|
if (presignedUrl == null || presignedUrl.isEmpty()) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
log.info("presignedUrl:{}", presignedUrl);
|
||||||
String base64PresignedUrl = Base64.getEncoder().encodeToString(presignedUrl.getBytes(StandardCharsets.UTF_8));
|
String base64PresignedUrl = Base64.getEncoder().encodeToString(presignedUrl.getBytes(StandardCharsets.UTF_8));
|
||||||
String timestamp = String.valueOf(System.currentTimeMillis());
|
String timestamp = String.valueOf(System.currentTimeMillis());
|
||||||
String loginUserNickname = SecurityFrameworkUtils.getLoginUserNickname();
|
String loginUserNickname = SecurityFrameworkUtils.getLoginUserNickname();
|
||||||
|
|||||||
Reference in New Issue
Block a user