fixed NewSituationIntroduction
This commit is contained in:
@@ -825,7 +825,7 @@ func get(c *fiber.Ctx) error {
|
|||||||
if nsi, ok := m["masterNewSituationIntroductionList"].(map[string]any); ok {
|
if nsi, ok := m["masterNewSituationIntroductionList"].(map[string]any); ok {
|
||||||
if entries, ok := nsi["entries"].([]any); ok {
|
if entries, ok := nsi["entries"].([]any); ok {
|
||||||
for _, v := range entries {
|
for _, v := range entries {
|
||||||
item := v.(map[string]any)
|
if item, ok := v.(map[string]any); ok {
|
||||||
id := fmt.Sprintf("%v", item["newSituationIntroductionId"])
|
id := fmt.Sprintf("%v", item["newSituationIntroductionId"])
|
||||||
result[id] = map[string]any{
|
result[id] = map[string]any{
|
||||||
"userId": userid, "newSituationIntroductionId": item["newSituationIntroductionId"], "status": "already_read",
|
"userId": userid, "newSituationIntroductionId": item["newSituationIntroductionId"], "status": "already_read",
|
||||||
@@ -833,6 +833,7 @@ func get(c *fiber.Ctx) error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return map[string]any{"entries": result}
|
return map[string]any{"entries": result}
|
||||||
}(),
|
}(),
|
||||||
"userFriendRelationDetail": map[string]any{
|
"userFriendRelationDetail": map[string]any{
|
||||||
|
|||||||
Reference in New Issue
Block a user