Browse Source

今日热点的热点搜索词bug修复

pull/3/head
wangyi15124 3 years ago
parent
commit
03dca25fce
3 changed files with 4 additions and 7 deletions
  1. +1
    -1
      src/main/java/com/stonedt/intelligence/quartz/SynthesizeSchedule.java
  2. +0
    -4
      src/main/resources/static/dist/displayboard/displayboard.js
  3. +3
    -2
      src/main/resources/templates/displayboard/displayboard.html

+ 1
- 1
src/main/java/com/stonedt/intelligence/quartz/SynthesizeSchedule.java View File

@@ -94,7 +94,7 @@ public class SynthesizeSchedule {
* 模板消息 * 模板消息
*/ */


//@PostConstruct
// @PostConstruct
// @Scheduled(cron = "0 30 4 * * ?") // @Scheduled(cron = "0 30 4 * * ?")
//@Scheduled(fixedDelay = 1000*60*2) //@Scheduled(fixedDelay = 1000*60*2)
// //


+ 0
- 4
src/main/resources/static/dist/displayboard/displayboard.js View File

@@ -135,7 +135,6 @@ function reprintPO(){
for (let i = 0; i < 5; i++) { for (let i = 0; i < 5; i++) {
let reprint = reprintPO[i] let reprint = reprintPO[i]
// console.log(reprint) // console.log(reprint)
debugger;
let emotionalIndex let emotionalIndex
switch(reprint.emotionalIndex){ switch(reprint.emotionalIndex){
case 1:emotionalIndex = '<span class="emotion zm">正面</span>';break; case 1:emotionalIndex = '<span class="emotion zm">正面</span>';break;
@@ -163,9 +162,7 @@ $("#search-tab li").on("click", function () {
function showPushPO(type){ function showPushPO(type){
// console.log(push_PO) // console.log(push_PO)
debugger;
// console.log(escape2Html(push_PO)) // console.log(escape2Html(push_PO))
debugger;
let pushPO = JSON.parse(escape2Html(push_PO)) let pushPO = JSON.parse(escape2Html(push_PO))
let list let list
if(type == 1){ if(type == 1){
@@ -735,7 +732,6 @@ function tecentvedio(){
* @returns * @returns
*/ */
function wexin(){ function wexin(){
debugger;
loading('#weixin'); loading('#weixin');
if(!(!hot_wechat)){ if(!(!hot_wechat)){
let wechat = JSON.parse(escape2Html(hot_wechat)) let wechat = JSON.parse(escape2Html(hot_wechat))


+ 3
- 2
src/main/resources/templates/displayboard/displayboard.html View File

@@ -1283,17 +1283,18 @@
}, },
{ {
x: "切身利益", x: "切身利益",
value: 94721"src/main/java/com/stonedt/intelligence/util/HotWordsUtil.java"
value: 94721
}, },
{ {
x: "社会", x: "社会",
value: 440721 value: 440721
}, },
] ]
debugger;
if(!(!hot_search_terms)){ if(!(!hot_search_terms)){
a = JSON.parse(escape2Html(hot_search_terms)) a = JSON.parse(escape2Html(hot_search_terms))
} }
debugger;
anychart.onDocumentReady(function() { anychart.onDocumentReady(function() {
var chart = anychart.tagCloud(a); var chart = anychart.tagCloud(a);
chart.container("keywords"); chart.container("keywords");


Loading…
Cancel
Save