fixed NewMusicIntroduction

This commit is contained in:
2026-09-06 22:40:16 +08:00
parent 8415b821fc
commit caff3bfb69

View File

@@ -808,7 +808,8 @@ func get(c *fiber.Ctx) error {
"userNewMusicIntroductionMap": func() map[string]any {
result := map[string]any{}
if nm, ok := m["masterNewMusicIntroductionMap"].(map[string]any); ok {
for _, v := range nm["entries"].(map[string]any) {
if entries, ok := nm["entries"].(map[string]any); ok {
for _, v := range entries {
item := v.(map[string]any)
id := fmt.Sprintf("%v", item["newMusicIntroductionId"])
result[id] = map[string]any{
@@ -816,6 +817,7 @@ func get(c *fiber.Ctx) error {
}
}
}
}
return map[string]any{"entries": result}
}(),
"userNewSituationIntroductionMap": func() map[string]any {