lyhzzz 1 年之前
父節點
當前提交
2319fc3378

+ 1 - 1
src/main/java/com/fdkankan/tk/service/impl/RoomServiceImpl.java

@@ -65,7 +65,7 @@ public class RoomServiceImpl extends ServiceImpl<IRoomMapper, Room> implements I
     FYunFileServiceInterface uploadToOssUtil;
     @Autowired
     IWxService wxService;
-    @Value("${upload.query-path}")
+    @Value("${fyun.host}")
     private String queryPath;
     @Autowired
     RedisUtil redisUtil;

+ 1 - 1
src/main/java/com/fdkankan/tk/service/impl/UploadService.java

@@ -18,7 +18,7 @@ public class UploadService {
     @Resource
     private FYunFileServiceInterface uploadToOssUtil;
 
-    @Value("${upload.query-path}")
+    @Value("${fyun.host}")
     private String queryPath;
 
     public String uploadFile(MultipartFile file, boolean newName, String filePathAdd) {