7条回复

D꯭e꯭n꯭i꯭s꯭   | 邓鸿华
D꯭e꯭n꯭i꯭s꯭ | 邓鸿华 - 10 months前

自定义回复 > 第三方回复

xiangyu
xiangyu - 10 months前

那个链接该怎么填呢,有没有新的指导

SunriseYDY
SunriseYDY - 5 months前

同问如何填写第三方回复的链接,我用的是小冰机器人

佩
- 5 months前

格式如此 http://www.tuling123.com/openapi/api?key=自己的key,但经常会提示超时导致无法回复信息,应该是加密到解密的过程太长了导致超时而无法返回图灵回复的消息。

xiangyu
xiangyu - 5 months前

不行吗,都是会出现,公众号提供的服务故障

佩
- 5 months前

对的,日志如下:
array (
\'headers\' =>
Requests_Utility_CaseInsensitiveDictionary::__set_state(array(
\'data\' =>
array (
\'date\' => \'Mon, 18 Dec 2017 14:00:51 GMT\',
\'content-type\' => \'text/json; charset=UTF-8\',
\'access-control-allow-origin\' => \'*\',
),
)),
\'body\' => \'{\"code\":40002,\"text\":\"你想说什么就直说,不用藏在心里哈~\"}\',
\'response\' =>
array (
\'code\' => 200,
\'message\' => \'OK\',
),
\'cookies\' =>
array (
),
\'filename\' => NULL,
\'http_response\' =>
WP_HTTP_Requests_Response::__set_state(array(
\'response\' =>
Requests_Response::__set_state(array(
\'body\' => \'{\"code\":40002,\"text\":\"你想说什么就直说,不用藏在心里哈~\"}\',
\'raw\' => \'HTTP/1.1 200 OK
Date: Mon, 18 Dec 2017 14:00:51 GMT
Content-Type: text/json; charset=UTF-8
Transfer-Encoding: chunked
Connection: close
Access-Control-Allow-Origin: *

{\"code\":40002,\"text\":\"你想说什么就直说,不用藏在心里哈~\"}\',
\'headers\' =>
Requests_Response_Headers::__set_state(array(
\'data\' =>
array (
\'date\' =>
array (
0 => \'Mon, 18 Dec 2017 14:00:51 GMT\',
),
\'content-type\' =>
array (
0 => \'text/json; charset=UTF-8\',
),
\'access-control-allow-origin\' =>
array (
0 => \'*\',
),
),
)),
\'status_code\' => 200,
\'protocol_version\' => 1.1,
\'success\' => true,
\'redirects\' => 0,
\'url\' => \'http://www.tuling123.com/openapi/api?key=051db3cb5c154430a75940b6e73e53db×tamp=1513605651&nonce=920186974&signature=ab5a80b2c3f5101f861968d0303d41bc4190632c&msg_signature=ce5761524885ef985923da7ea38bed7728aec4ea&encrypt_type=aes\',
\'history\' =>
array (
),
\'cookies\' =>
Requests_Cookie_Jar::__set_state(array(
\'cookies\' =>
array (
),
)),
)),
\'filename\' => NULL,
\'data\' => NULL,
\'headers\' => NULL,
\'status\' => NULL,
)),
)

蓝影志
蓝影志 - 5 months前

如果添加了自定义回复,会回复两份。。

我要回复

暂时不支持网页回复,请安装 WPJAM-Basic 插件,然后在 WordPress 后台即可参与讨论。