浏览代码

feat:我的页面 app信息红色提示

wangshan 2 年之前
父节点
当前提交
2a88d4c1a0
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 1 1
      src/jfw/modules/app/src/app/front/front.go
  2. 2 1
      src/jfw/modules/app/src/config.json

+ 1 - 1
src/jfw/modules/app/src/app/front/front.go

@@ -573,7 +573,7 @@ func (s *Front) ShowRedSpotOnMenu() {
 	}
 	s.ServeJson(map[string]interface{}{
 		"subscribe":      subscribe,
-		"my":             project + ent + notice,
+		"my":             util.If(config.Sysconfig["keepShowRedSpot"].(bool), 0, project+ent+notice),
 		"notice":         notice,
 		"follow_project": project,
 		"follow_ent":     ent,

+ 2 - 1
src/jfw/modules/app/src/config.json

@@ -215,5 +215,6 @@
     "reserved_amount":true,
     "expurasingtime":true,
     "winnerMap":true
-  }
+  },
+  "keepShowRedSpot": true
 }