zmw 4 hónapja
szülő
commit
d4555a0e3e
1 módosított fájl, 1 hozzáadás és 1 törlés
  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;