zmw před 5 měsíci
rodič
revize
d4555a0e3e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;