From 1927997ea47fed3d5be376b00a5ce0a646b5583f Mon Sep 17 00:00:00 2001 From: wang hou sheng <76928547+wanghousheng@users.noreply.github.com> Date: Wed, 10 Apr 2024 09:24:13 +0800 Subject: [PATCH] 1 --- app/api/controller/Wxserver.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/api/controller/Wxserver.php b/app/api/controller/Wxserver.php index fea72fc2..b842bbf7 100644 --- a/app/api/controller/Wxserver.php +++ b/app/api/controller/Wxserver.php @@ -12,9 +12,11 @@ class Wxserver extends BaseController { public function index() { - $obj = new \app\common\library\wxserver\Server(); - $obj->getVersioninfo('wxd87b1a7332d974d0'); - return $this->renderSuccess('success'); + $ext_json['extAppid'] = '123456'; + $ext_json['ext']['store_id'] = 1001; + $ext_json['window'] = []; + $data['ext_json'] = $ext_json; + return $this->renderSuccess($data); } public function verifyTicket()