为何统一发送消息发送不了?
发布于 7 年前 作者 wanjuan 2623 次浏览 来自 官方Issues

我在使用统一服务消息接口的时候,小程序还未发布,请求的参数如下

{
    "touser": "oBNK15C2EFd-wS_xIdtRpR_icikU",
    "mp_template_msg": {
        "appid": "wx66242444d5ec7f9c",
        "template_id": "nC-WN0af-fMlPZcqORcMXbTBjkzsY1fWbGGyBWINb3I",
        "miniprogram": {
            "appid": "wx23ec4ab72f15bd9a",
            "pagepath": "pages/repair/repairdetail/index?CaseID=201909021706201"
        },
        "data": {
            "first": {
                "value": "刚刚收到一个新报修单,请及时派单"
            },
            "keyword1": {
                "value": "201909021706201"
            },
            "keyword2": {
                "value": "蔡华舜"
            },
            "keyword3": {
                "value": "福建省福州市仓山区金洲北路7号"
            },
            "keyword4": {
                "value": "测试报修"
            },
            "remark": {
                "value": "请尽快处理"
            }
        }
    }
}

返回的结果

{
    "errcode": 40165,
    "errmsg": "invalid weapp pagepath hint: [zrutYa01824128]"
}

到底是为什么

回到顶部