From df54ad41aa9a95e2a03fca280df3da51f777d13b Mon Sep 17 00:00:00 2001 From: lingling <1077478963@qq.com> Date: Fri, 7 Mar 2025 13:31:54 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=20SendCode=20?= =?UTF-8?q?=E7=B1=BB=E7=9A=84=E5=9C=A8=E7=BA=BF=E6=A3=80=E6=B5=8B=E6=B3=A8?= =?UTF-8?q?=E9=87=8A=EF=BC=8C=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Utils/API/SendCode.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Utils/API/SendCode.php b/app/Utils/API/SendCode.php index 0aef3b6..67550d8 100644 --- a/app/Utils/API/SendCode.php +++ b/app/Utils/API/SendCode.php @@ -63,8 +63,9 @@ class SendCode /** * 检测是否在线 * https://apifox.com/apidoc/shared-c08671dd-4e9d-44dd-a2a1-ec4b8316a81f - * 0 在线 1不在线 2token无效 3WS号不存在 - * code + * code 0 成功 1token无效 2WS号不存在 + * status 当code=0时返回,0表示在线 1表示离线 + * 返回 0在线 1离线 2 token无效 3 ws号不存在 */ public static function get_ws_status($phone) {