update 重写水印图片获取逻辑
parent
42408657be
commit
96d38ce0a8
@ -0,0 +1,29 @@
|
||||
package com.ruoyi.file;
|
||||
|
||||
import com.ruoyi.file.config.SpringFileStorageProperties;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.boot.ApplicationArguments;
|
||||
import org.springframework.boot.ApplicationRunner;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* <pre>
|
||||
* - 文件图片上传下载模块启动器
|
||||
* </pre>
|
||||
* @author J.L.Zhou<12020042> - <151 1104 7708>
|
||||
* @since 2024-11-13 11:08
|
||||
* @version 1.0
|
||||
*/
|
||||
@Configuration
|
||||
@Slf4j
|
||||
@RequiredArgsConstructor
|
||||
public class FileRunner implements ApplicationRunner {
|
||||
|
||||
private final SpringFileStorageProperties properties;
|
||||
@Override
|
||||
public void run(ApplicationArguments args) throws Exception {
|
||||
log.info("文件图片上传下载模块(File)模块启动成功");
|
||||
properties.init();
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue