소스 검색

获取配置信息接口返回json结果

guo00guo 4 년 전
부모
커밋
1f9beaccb7

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
site/src/main/java/com/mooctest/crowd/site/controller/CommonController.java


+ 1 - 1
site/src/main/java/com/mooctest/crowd/site/service/CommonService.java

@@ -57,5 +57,5 @@ public interface CommonService {
 
     List<Map.Entry<String, Long>> getAgencyProjectCount();
 
-    ConfigurationVO getConfigurationList();
+    Map<String, String> getConfigurationList();
 }

+ 2 - 2
site/src/main/java/com/mooctest/crowd/site/service/impl/CommonServiceImpl.java

@@ -319,8 +319,8 @@ public class CommonServiceImpl implements CommonService {
     }
 
     @Override
-    public ConfigurationVO getConfigurationList() {
-        return new ConfigurationVO(commonRepo.getConfigurationList());
+    public Map<String, String> getConfigurationList() {
+        return commonRepo.getConfigurationList();
     }
 
     Pageable getPageable(SearchConditionVO searchConditionVO) {

+ 2 - 2
site/src/main/resources/application.yml

@@ -1,7 +1,7 @@
 spring:
   profiles:
-    active: private-cloud-localhost
-#    active: private-cloud-localhost
+    active: dev-localhost
+#    active: private-cloud
   cache:
     guava:
       spec: expireAfterWrite=30s

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.