fixed NewMusicIntroduction
This commit is contained in:
@@ -808,7 +808,8 @@ func get(c *fiber.Ctx) error {
|
|||||||
"userNewMusicIntroductionMap": func() map[string]any {
|
"userNewMusicIntroductionMap": func() map[string]any {
|
||||||
result := map[string]any{}
|
result := map[string]any{}
|
||||||
if nm, ok := m["masterNewMusicIntroductionMap"].(map[string]any); ok {
|
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)
|
item := v.(map[string]any)
|
||||||
id := fmt.Sprintf("%v", item["newMusicIntroductionId"])
|
id := fmt.Sprintf("%v", item["newMusicIntroductionId"])
|
||||||
result[id] = map[string]any{
|
result[id] = map[string]any{
|
||||||
@@ -816,6 +817,7 @@ func get(c *fiber.Ctx) error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return map[string]any{"entries": result}
|
return map[string]any{"entries": result}
|
||||||
}(),
|
}(),
|
||||||
"userNewSituationIntroductionMap": func() map[string]any {
|
"userNewSituationIntroductionMap": func() map[string]any {
|
||||||
|
|||||||
Reference in New Issue
Block a user