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");