|
@@ -1,6 +1,7 @@
|
|
|
package com.boman.file.service;
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
+import org.springframework.cloud.context.config.annotation.RefreshScope;
|
|
|
import org.springframework.context.annotation.Primary;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
@@ -13,6 +14,7 @@ import com.boman.file.utils.FileUploadUtils;
|
|
|
*/
|
|
|
@Primary
|
|
|
@Service
|
|
|
+@RefreshScope
|
|
|
public class LocalSysFileServiceImpl implements ISysFileService
|
|
|
{
|
|
|
/**
|