From 97cf940e23aed44baabd8daee8c6ed15b0ad42c5 Mon Sep 17 00:00:00 2001 From: wang hou sheng <76928547+wanghousheng@users.noreply.github.com> Date: Wed, 10 Apr 2024 08:47:42 +0800 Subject: [PATCH] 1 --- app/api/controller/Wxserver.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/api/controller/Wxserver.php b/app/api/controller/Wxserver.php index 81ea7cac..795d65dd 100644 --- a/app/api/controller/Wxserver.php +++ b/app/api/controller/Wxserver.php @@ -10,6 +10,13 @@ use think\db\exception\ModelNotFoundException; class Wxserver extends BaseController { + public function index() + { + $obj = new \app\common\library\wxserver\Server(); + $obj->getVersioninfo('wxe3ed157849bd07b5'); + return $this->renderSuccess('success'); + } + public function verifyTicket() { $xmlData = file_get_contents("php://input");