正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -46,7 +46,7 @@ class Validate | @@ -46,7 +46,7 @@ class Validate | ||
| 46 | try { | 46 | try { |
| 47 | $res = HttpUtils::get('https://fob.ai.cc/api/check_phone', ['phone' => $email]); | 47 | $res = HttpUtils::get('https://fob.ai.cc/api/check_phone', ['phone' => $email]); |
| 48 | $res = Arr::s2a($res); | 48 | $res = Arr::s2a($res); |
| 49 | - $status = $res['data']['status'] ?? 0; | 49 | + $status = $res['data']['valid_status'] ?? 0; |
| 50 | } catch (\Exception | GuzzleException $e) { | 50 | } catch (\Exception | GuzzleException $e) { |
| 51 | $status = 0; | 51 | $status = 0; |
| 52 | } | 52 | } |
-
请 注册 或 登录 后发表评论