@@ -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;