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

@ -31,7 +31,8 @@ class OcrLicense
$data['risk_warn'] = 'true'; $data['risk_warn'] = 'true';
$url = self::LICENSEURL . '?access_token=' . $token; $url = self::LICENSEURL . '?access_token=' . $token;
$result = $this->post($url, $data); $result = $this->post($url, $data);
$this->validateData($result); $this->msg = json_encode($result);
// $this->validateData($result);
return $this->resultHandle(); return $this->resultHandle();
} }

Loading…
Cancel
Save