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