ソースを参照

Merge branch 'master' into feature/v4.8.4

lianbingjie 2 年 前
コミット
5968636515

+ 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
 }