|
|
|
@ -698,7 +698,7 @@ class Server |
|
|
|
|
return 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public function submitAudit($appid): bool |
|
|
|
|
public function submitAudit($appid) |
|
|
|
|
{ |
|
|
|
|
$access_token = $this->authorizerAccessToken($appid); |
|
|
|
|
if ($access_token) { |
|
|
|
@ -711,6 +711,7 @@ class Server |
|
|
|
|
} |
|
|
|
|
$result = $this->curlPost($url, $data); |
|
|
|
|
$result = json_decode($result, true); |
|
|
|
|
return $result; |
|
|
|
|
if (!empty($result) && intval($result['errcode']) == 0 && !empty($result['auditid'])) { |
|
|
|
|
$model = new WxserverAccount(); |
|
|
|
|
$up['audit_status'] = 1; |
|
|
|
|