pull/5/head
wanghousheng 5 months ago
parent 4574b264b8
commit e0c8a2a233
  1. 5
      app/common/library/baidu/OcrLicense.php

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

Loading…
Cancel
Save