瀏覽代碼

更新验证码

zmw 4 月之前
父節點
當前提交
d4555a0e3e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Services/Common/TencentCaptchaService.php

+ 1 - 1
app/Services/Common/TencentCaptchaService.php

@@ -42,7 +42,7 @@ class TencentCaptchaService{
 
         $res = $this->client->post("https://api.253.com/open/txyzm/yzm-v2",$data);
 
-        if($res->code == '200000' && $res->data['CaptchaMsg'] == "OK"){
+        if($res->code == '200000' && $res->data->CaptchaMsg == "OK"){
             return true;
         }else{
             return false;