diff --git a/app/admin/controller/Wxserve.php b/app/admin/controller/Wxserve.php index bffaeaeb..a30d6337 100644 --- a/app/admin/controller/Wxserve.php +++ b/app/admin/controller/Wxserve.php @@ -227,8 +227,8 @@ class Wxserve extends Controller { $appid = $this->request->get('appid'); $obj = new Server(); - $res = $obj->privacyInfo($appid); - if ($res == 'ok') { + $res = $obj->getPrivacySetting($appid); + if ($res) { $result = $obj->submitAuditOne($appid); if ($result['status']) { return $this->renderSuccess('success');