1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- namespace app\controller;
- use ln\basic\BaseController;
- use ln\services\WechatService;
- use EasyWeChat\Core\Exceptions\InvalidArgumentException;
- use EasyWeChat\Server\BadRequestException;
- use think\Response;
- /**
- * Class WechatNotice
- * @package app\controller
- * @author zfy
- * @day 2020-04-26
- */
- class WechatNotice extends BaseController
- {
- /**
- * @return Response
- * @throws InvalidArgumentException
- * @throws BadRequestException
- * @author zfy
- * @day 2020-04-26
- */
- public function serve()
- {
- ob_clean();
- return WechatService::create()->serve($this->request);
- }
- }
|