收藏
回答

微信搜索自定义模板的参数问题

我按照微信官方的返回参数的文档编写的返回参数,但是在微信上搜索测试的时候却一直报错战士不成功




很想知道是因为什么,我返回的参数如下


<xml>

<Encrypt><![CDATA[qhxBb0EFGS1oSbTX28ELlJGNiw4qceTf5M+e499m2x50ZH02Cx3AhuP+4ozyZ5aNm1/vo6p+C7ih7G7tRHGgNrLGvsXoPxTeKPJ8wzJSqyqJFsTP5h2QJxT+cC1Sl2IodBJCzmEegM6sSes0SYgbkJe0dc/aF/ctL4tGFddZmIx9SRsXPVQ9CpKuIHcMtym6lTVJ98AjrgBw4O72uAs16BAjGs1yFfEopbLBrtRNCytuJw7x4d2N8zT3S561rHq7uz+a0XdAOxWhUj6vurO/Eht9M7uB/F6FW6yqdssXWx182hMB74cOJj1dwrRUbtoRUTI0v+Ng02VhKSx+Z7CoT85ybQgoPPJvNClT5qPl8151iA+7NbmAE4tuvZhr5xMMVrB1IrkuQPGCxbkJAnrpZw9ukH0fXDwNLoVZmNxkQyRe+DgsISGUcGwB9DN+lyWEfCPkq6H4/M3ZVEhvvoHWbrrjd9o+9FfTKv1iLNQddlACtU+pIt6OCEIzA6cNX5tnOJEC7Vn55qKYySbAWzklzqOhpzJI/vyG5H/HWFHGZovSzsusD84tLDYc65FukTTV8mwAk3ktFAPuuVA14/htZQY17XNDUwGz1AB6/to0UT5AOe7VeerilLa9lUBWJqR+Lzse6024dKwcQa8EhwXEvHqLQfEh3wADi9iibI9rZf4gVZD9bc5Eac3ECQVBYQRBPivL86JP+/3E7dLRduckTCbQXO0600XvIX9ITf0M0qFWy78RIHOB5ZNXwEaDMamVKIkfP0v6RAuzxkj7N8oZpNzHPziZwBaaxlWkSItrJrgijqMC9yGZap/ujLjt6pDnH1H8QI09aVjKo0jUV5PWsQxRPmO9mq4uryGmwHuo3D8UlqLrnBV/QxSrrVmMK51ykWE1SsmLYEx09I61AgZhd9Onn1weeN38A2d88ZOZaqBK3rimS5KBsBBOrTznCckVpMMHKr3NYAnWSuDCEnicMeC6Px2e0zkxGx9ziNIzsQbNOA6BHKHXyZtTVTXutjspSpA23BL/9Y6uGuFgnTku3rzjiJYmZ1Lcz9xCNxAfNt/PpFB8MdFEgaZjjY7j8QDoo7crVmNubYXg3UthglMUTWpEUWh/67om18Ip7M4yOb/Ce2VSY1lwcp0ZeFbqiFNZdc6o1S18/XaNLYDPCOS83huRNNozn6QIaG54cIQ65Kg=]]></Encrypt>

<MsgSignature>ba323e0dde29b7961f08885574d2439ac9081b43</MsgSignature>

<TimeStamp>1551929036</TimeStamp>

<Nonce>1810472107</Nonce>

</xml>


请教一下官方是什么原因,问客服就一直让我看文档,说实话文档都快背下来了!!

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

1 个回答

  • 2019-03-07

    这是我跟着微信官方文档上面写的第五步的参数   求解惑


    {"data":"{\"cover\":\"http://XXXXXXXXX\",\"difficulty\":\"普通\",\"sub\":\"油,白糖,料酒,盐\",\"jump_url\":\"/page/index/index\",\"jump_more\":\"/page/index/index\",\"err_msg\":\"成功\",\"err_code\":0,\"main\":\"鸡蛋,番茄,小葱,清水\",\"title\":\"西红柿炒鸡蛋\"}","lifespan":60,"query":"\"{\\\"type\\\":11068,\\\"slot_list\\\":[{\\\"key\\\":\\\"dish_name\\\",\\\"value\\\":\\\"西红柿炒鸡蛋\\\"}],\\\"search_id\\\":\\\"18129528674534909688\\\"}\"","scene":1}


    2019-03-07
    有用
    回复 3
    • Cson
      Cson
      2019-03-07

      query部分多转义了一层吧

      2019-03-07
      回复
    • 2019-03-08回复Cson

      已经解决了  谢谢回复

      2019-03-08
      回复
    • 木兮
      木兮
      2019-07-10回复

      亲,咋写的啊可以教教我不


      2019-07-10
      回复
登录 后发表内容