小程序统一服务消息报错40013
发布于 6 年前 作者 wxiang 6536 次浏览 来自 问答

https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/uniform-message/uniformMessage.send.html

{“errcode”:40013,“errmsg”:“invalid appid rid: 6002b52b-083707fb-128f06d1”}

代码:

url:https://api.weixin.qq.com/cgi-bin/message/wxopen/template/uniform_send?access_token=41_XNbMv9wB44H6nRQxqTBqS5vhiWtpS4-btK4g-40kboA7—J39oqXPHNNl7xisLqvPHo8ETUrRQ-xWeiMW-Gnm-sPydIJ6uPg55lSOXemrBmkAIMS5_Sym9jRmeY3u3mMBYxwy2HrUnvynhZXEWhADAGNF

{

    "touser""o5IcT5U-LwHEYfZB7TZwzoUa0PXM",

    "mp_template_msg": {

        "data": {

            "remark": {

                "color""#173177",

                "value""为避免影响正常出库,请您尽快确认!"

            },

            "keyword1": {

                "color""#173177",

                "value""2021年1月16日"

            },

            "keyword2": {

                "color""#173177",

                "value""488.00元"

            },

            "first": {

                "color""#173177",

                "value""您有一个新的销售订单,订单编号:SO302021011600391851请确认!"

            },

            "keyword3": {

                "color""#173177",

                "value""肥羊肉片"

            },

            "keyword4": {

                "color""#173177",

                "value""未确认"

            }

        },

        "template_id""5GC-09qpIFIsi-085mpZbKqJd6dsosi7XhSkGKFZpQk",

        "appid""wx819407b63f14fd94",

        "url""http://www.dazhuangyuan.com/",

        "miniprogram": {

            "pagepath""pages/saleInfo_list/saleInfo_list?&pk=1001ZZ100000006HEL28&state=~",

            "appid""wx20cf7cfed645103a"

        }

    }

}

回到顶部