1
0
您可以更改发送到/notification/${user_id}/${notification_id}节点的内容,以包括允许您在云函数中识别和创建不同通知的字段。 例如,可以添加一个类型字段,然后:
然后,您可以根据类型生成通知:
添加有效载荷所需的任何字段,并根据需要扩展控制结构。 |
AlaaKudo810 · 无法更新猫鼬中的对象 1 年前 |
Foobar · 如何在Fastify中为请求附加“项目”密钥? 1 年前 |
chrispytoes · 从服务器端获取登录用户 1 年前 |