From 2d25ee0c40f5255119aa1c4a4459ea4e4c16f839 Mon Sep 17 00:00:00 2001 From: tk Date: Mon, 22 Jul 2024 17:50:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Line=5FHome?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Line_Home.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Line_Home.md b/Line_Home.md index 51485ab..4f16dcd 100644 --- a/Line_Home.md +++ b/Line_Home.md @@ -7,11 +7,11 @@ 正式环境:http://sdk.ol.line92.com -测试环境:http://test.sdk.ol.line92.com +测试环境:http://test-sdk.ol.line92.com ## 阅读 API 功能文档 -http://test.sdk.ol.line92.com +http://test-sdk.ol.line92.com ## 商家身份鉴权 @@ -22,7 +22,7 @@ ## 获取机器人帐号列表 -您可以定期调用此接口,将划分给您的机器人账号同步到您自己的数据库:查看接口文档 +您可以定期调用此接口,将划分给您的机器人账号同步到您自己的数据库:查看接口文档 此接口参数较多,如无特殊需求,只需要传递以下简要参数即可: ``` json @@ -67,7 +67,7 @@ | Request Method | Request Url | Request Header | Request Body | |-|-|-|-| -| POST | 设置用于接收异步任务结果的 URL 地址 | Merchant-Token: 您的商家Token
Content-Type: application/json | 参见 API 文档的响应示例章节 | +| POST | 设置用于接收异步任务结果的 URL 地址 | Merchant-Token: 您的商家Token
Content-Type: application/json | 参见 API 文档的响应示例章节 | ### 超时约定 @@ -85,18 +85,18 @@ | Request Method | Request Url | Request Header | Request Body | |-|-|-|-| -| POST | 设置用于接收变更事件推送的 URL 地址 | Merchant-Token: 您的商家Token
Content-Type: application/json | { type: PushTypes , data: 推送数据 } | +| POST | 设置用于接收变更事件推送的 URL 地址 | Merchant-Token: 您的商家Token
Content-Type: application/json | { type: PushTypes , data: 推送数据 } | ### 推送事件 | 事件类型 | 类型描述 | 推送数据 | |-|-|-| -| 2000 - RobotHeart | 机器人心跳 | QueryRobotRsp | -| 2001 - RobotOffline | 机器人离线 | QueryRobotRsp | +| 2000 - RobotHeart | 机器人心跳 | QueryRobotRsp | +| 2001 - RobotOffline | 机器人离线 | QueryRobotRsp | | 2002 - ReceiveMessage | 收到消息 | ReceiveMessage | | 2003 - ReadMessage | 对方已读 | ReadMessage | | 2004 - InviteMemberToGroup | 邀请成员入群 | InviteMemberToGroup | -| 2005 - RobotOnline | 机器人上线 | QueryRobotRsp | +| 2005 - RobotOnline | 机器人上线 | QueryRobotRsp | | 2008 - FriendPassed | 对方通过好友 | FriendPassed | | 2009 - AddMe | 对方添加好友 | AddMe | | 2010 - FriendCreateGroup| 好友创建群聊 | FriendCreateGroup |