收藏
回答

发送订阅消息报错?

模板id:2ZRx_B8n8bue5HSXmiQIIJZdzb8tdSq3zMD8pEoZQiA

'result' => '{"errcode":47003,"errmsg":"argument invalid! data.character_string13.value  rid: 63919c9c-14be7d2e-409ee39d"}',

返回结果看不出啥问题,只知道参数无效,请大佬们帮忙解答一下。

详细报文:

array (

  'describe' => '发送订阅消息',

  'url' => 'https://api.weixin.qq.com/cgi-bin/message/subscribe/send?access_token=63_QQr2c7drZzbK21QFGVTUKWohnmAmq4C6OXgGvwQIRl1aKYttuoI8ymh3XyBKD7z3s7KjKsqaiPyTKKNNopn9DNA-F1wZXTtlh-9lhXS2oQjV4lGDtTG913VGNOgONKfAHADCZ',

  'params' => 

  array (

    'touser' => 'of4bj5esXYUGgThnJv-ZH19FXd6U',

    'template_id' => '2ZRx_B8n8bue5HSXmiQIIJZdzb8tdSq3zMD8pEoZQiA',

    'page' => 'pages/order/detail?order_id=5',

    'data' => 

    array (

      'character_string1' => 

      array (

        'value' => '2022120853531009',

      ),

      'time2' => 

      array (

        'value' => '2022-12-08 16:13:16',

      ),

      'amount4' => 

      array (

        'value' => '0.01',

      ),

      'thing3' => 

      array (

        'value' => '特价清仓甩卖-荣耀80新品5G手机hon',

      ),

    ),

  ),

  'result' => '{"errcode":47003,"errmsg":"argument invalid! data.character_string13.value  rid: 63919c9c-14be7d2e-409ee39d"}',

)

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

2 个回答

登录 后发表内容