From 722afbad17dee0bd41f40a46de63775b8dddce1e Mon Sep 17 00:00:00 2001 From: wang hou sheng <76928547+wanghousheng@users.noreply.github.com> Date: Thu, 11 Apr 2024 12:15:37 +0800 Subject: [PATCH] 1 --- app/admin/controller/Wxserve.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/admin/controller/Wxserve.php b/app/admin/controller/Wxserve.php index a928c98f..9ce326a0 100644 --- a/app/admin/controller/Wxserve.php +++ b/app/admin/controller/Wxserve.php @@ -199,7 +199,7 @@ class Wxserve extends Controller $appid = $this->request->get('appid'); if ($appid) { $obj = new Server(); - if ($obj->getVersioninfo($appid)) { + if ($obj->getPrivacySetting($appid) && $obj->setDomain($appid, $this->request->domain(true))) { return $this->renderSuccess('success'); } }