Просмотр исходного кода

项目减负,先取消环信、极光的引入

anderx лет назад: 2
Родитель
Сommit
f29df54ec6

+ 1 - 8
src/main/java/com/goafanti/baiduAI/service/impl/BaiduAiServiceImpl.java

@@ -11,17 +11,10 @@ import com.goafanti.common.model.ErnieBotCommon;
 import com.goafanti.common.utils.*;
 import com.goafanti.common.utils.*;
 import com.goafanti.core.shiro.cache.ShiroRedisCache;
 import com.goafanti.core.shiro.cache.ShiroRedisCache;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.cache.annotation.CacheEvict;
-import org.springframework.cache.annotation.Cacheable;
 import org.springframework.stereotype.Service;
 import org.springframework.stereotype.Service;
-import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;
 
 
-import javax.annotation.Resource;
 import java.io.IOException;
 import java.io.IOException;
-import java.util.Calendar;
-import java.util.HashMap;
 import java.util.List;
 import java.util.List;
-import java.util.Map;
 
 
 @Service
 @Service
 public class BaiduAiServiceImpl implements BaiduAiService {
 public class BaiduAiServiceImpl implements BaiduAiService {
@@ -53,7 +46,7 @@ public class BaiduAiServiceImpl implements BaiduAiService {
     }
     }
 
 
     @Override
     @Override
-    @Cacheable(value = "selectErnieBotCommonAll#300",key = "'page:'+'All'")
+//    @Cacheable(value = "selectErnieBotCommonAll#300",key = "'page:'+'All'")
     public List<ErnieBotCommon> selectErnieBotCommonAll(Integer count) {
     public List<ErnieBotCommon> selectErnieBotCommonAll(Integer count) {
         return ernieBotCommonDao.selectAll(count);
         return ernieBotCommonDao.selectAll(count);
     }
     }

+ 1 - 1
src/main/resources/props/config_local.properties

@@ -39,7 +39,7 @@ app.mobile.website=http://m.jishutao.com/1.0/template/index.html
 template.cacheable=false
 template.cacheable=false
 
 
 static.host=//ss.jishutao.com/client/1.2.11
 static.host=//ss.jishutao.com/client/1.2.11
-portal.host=//ss.jishutao.com/portal/2.2.21
+#portal.host=//ss.jishutao.com/portal/2.2.21
 skjt.host=//ss.jishutao.com/skjt/1.3
 skjt.host=//ss.jishutao.com/skjt/1.3