@ -31,7 +31,8 @@ class OcrLicense
$data['risk_warn'] = 'true';
$url = self::LICENSEURL . '?access_token=' . $token;
$result = $this->post($url, $data);
$this->validateData($result);
$this->msg = json_encode($result);
// $this->validateData($result);
return $this->resultHandle();
}
@ -105,7 +106,7 @@ class OcrLicense
curl_close($curl);
return json_decode($response);
/**
* @notes:获取token
* @return mixed|string