|
@@ -23,6 +23,8 @@ public class ManageApplication implements CommandLineRunner {
|
|
|
private String uploadType;
|
|
|
@Value("${fyun.bucket}")
|
|
|
private String bucket;
|
|
|
+ @Value("${camera.space.unit:GB}")
|
|
|
+ private String cameraUnit;
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
SpringApplication.run(ManageApplication.class, args);
|
|
@@ -32,6 +34,7 @@ public class ManageApplication implements CommandLineRunner {
|
|
|
public void run(String... args) throws Exception {
|
|
|
CacheUtil.uploadType = uploadType;
|
|
|
CacheUtil.bucket = bucket;
|
|
|
+ CacheUtil.cameraUnit = cameraUnit;
|
|
|
|
|
|
}
|
|
|
}
|