Optimize live play handler
- Extract shared live setting, notes, and rank helpers - Move constant leader skill and museum buff queries out of the per-unit loop - Batch load deck unit data, accessories, and removable skill metadata - Fix cool attribute removable skill effect type handling Signed-off-by: Sean Du <do4suki@gmail.com>
This commit is contained in:
@@ -14,7 +14,7 @@ const announceContent = `目前开发完毕的主要功能包括:<br><ul><li>
|
||||
|
||||
func index(ctx *gin.Context) {
|
||||
ctx.HTML(http.StatusOK, "common/announce.html", gin.H{
|
||||
"title": "Love Live! 学园偶像祭",
|
||||
"title": "Love Live! 学园偶像祭",
|
||||
"content": template.HTML(announceContent),
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user