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()