收藏
回答

微信模板调用消息提示40037,提示参数为空,为什么?

{"touser":"owUcE5fYSiLsRk54V3iKSyL3-HNs","template_id":"Lr954ulgNS5PuEWkjBATSiAevkrwF2BGUA4WlYKa0ig","data":{"time10":"{value=15:05}","thing6":"{value=b}","thing3":"{value=a}"},"page":"pages/index/index","miniprogram_state":"developer"}

16:05:46.999 [main] INFO com.ruoyi.common.utils.http.HttpUtils - sendPost - https://api.weixin.qq.com/cgi-bin/message/subscribe/send?access_token=45_gVgyfxVDBNj8xvKV7We8zCx9e9Xk4e_oaxCSsA4kv9ul0cvg2BagIwkW7eyMuJ_-PqS43NAr85l0x5e33l5vgsofDWEGrGP-IQNOv7iwawAEV0q41S0VuuXSaTUDL23ckRyyMl07l7siLpEkHBLgAEAPJT

16:05:47.644 [main] INFO com.ruoyi.common.utils.http.HttpUtils - recv - {"errcode":47003,"errmsg":"argument invalid! data.thing3.value is emtpy rid: 60b5ea5b-1eaf9a45-6bcfedd8"}

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

1 个回答

  • momo
    momo
    2021-06-01

    "{value=b}","thing3" 模板参数不准确,可能为空或者不满足规则,errmsg会提示具体是哪个字段出错

    2021-06-01
    有用
    回复
登录 后发表内容