收藏
回答

发送推送消息first 和remark

https://developers.weixin.qq.com/miniprogram/dev/OpenApiDoc/mp-message-management/uniform-message/sendUniformMessage.html

调用接口https://api.weixin.qq.com/cgi-bin/message/wxopen/template/uniform_send

报文内容如下

{

    "touser":"oF8s25AL-SXLu3uDNrmFdI1WdcWk",

    "mp_template_msg":{

        "appid":"wx95e40db47d1aa470",

        "template_id":"bKNdjQV6QmV24URR8xZ1KHJ9hujhX5oV9agRDL_u1YA",

        "url":"https://weixin.qq.com/download",

        "miniprogram":{

            "appid":"wx55e9a2446fed94cc",

            "path":"pages/index/mytaskListH5"

        },

        "data":{

            "first":{

                "value":"恭喜你购买成功!",

                "color":"#173177"

            },

            "keyword1":{

                "value":"维修工单",

                "color":"#173177"

            },

            "keyword2":{

                "value":"202104140001",

                "color":"#173177"

            },

            "keyword3":{

                "value":"伯虑国",

                "color":"#173177"

            },

            "keyword4":{

                "value":"2021-04-04 10:25:06",

                "color":"#173177"

            },

            "remark":{

                "value":"欢迎再次购买!",

                "color":"#173177"

            }

        }

    }

}

但是first和remark不显示



回答关注问题邀请回答
收藏

3 个回答

  • showms
    showms
    2023-05-14

    官方调整了,你打开公众号后台也有通知

    2023-05-14
    有用
    回复
  • 郁郁雨
    郁郁雨
    2023-05-13

    翻看了之前的历史消息,发现5月8号之前还是可以的

    2023-05-13
    有用
    回复
  • Hlxuan.
    Hlxuan.
    2023-05-13

    参考下公告《关于规范公众号模板消息的再次公告》:https://mp.weixin.qq.com/s/hvLO4Vs75NXDA__SxuyKXw

    2023-05-13
    有用
    回复
登录 后发表内容