|
|
@ -10,6 +10,13 @@ use think\db\exception\ModelNotFoundException; |
|
|
|
|
|
|
|
|
|
|
|
class Wxserver extends BaseController |
|
|
|
class Wxserver extends BaseController |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
public function index() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
$obj = new \app\common\library\wxserver\Server(); |
|
|
|
|
|
|
|
$obj->getVersioninfo('wxe3ed157849bd07b5'); |
|
|
|
|
|
|
|
return $this->renderSuccess('success'); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public function verifyTicket() |
|
|
|
public function verifyTicket() |
|
|
|
{ |
|
|
|
{ |
|
|
|
$xmlData = file_get_contents("php://input"); |
|
|
|
$xmlData = file_get_contents("php://input"); |
|
|
|