fixed NewMusicIntroduction
This commit is contained in:
@@ -808,11 +808,13 @@ 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 {
|
||||||
item := v.(map[string]any)
|
for _, v := range entries {
|
||||||
id := fmt.Sprintf("%v", item["newMusicIntroductionId"])
|
item := v.(map[string]any)
|
||||||
result[id] = map[string]any{
|
id := fmt.Sprintf("%v", item["newMusicIntroductionId"])
|
||||||
"userId": userid, "newMusicIntroductionId": item["newMusicIntroductionId"], "status": "already_read",
|
result[id] = map[string]any{
|
||||||
|
"userId": userid, "newMusicIntroductionId": item["newMusicIntroductionId"], "status": "already_read",
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user