12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?php
- namespace app\service\api\wechat;
- use app\service\core\wechat\CoreWechatServeService;
- use core\base\BaseApiService;
- use EasyWeChat\Kernel\Exceptions\BadRequestException;
- use EasyWeChat\Kernel\Exceptions\InvalidArgumentException;
- use ReflectionException;
- use Symfony\Component\HttpFoundation\Response;
- use Throwable;
- class WechatServeService extends BaseApiService
- {
- public $core_wechat_serve_service;
- public function __construct()
- {
- parent::__construct();
- $this->core_wechat_serve_service = new CoreWechatServeService();
- }
-
- public function serve(){
- return $this->core_wechat_serve_service->serve($this->request->defaultSiteId());
- }
- }
|