12345678910111213141516171819202122232425262728293031323334 |
- <?php
- // +----------------------------------------------------------------------
- // | Niucloud-admin 企业快速开发的saas管理平台
- // +----------------------------------------------------------------------
- // | 官方网址:https://www.niucloud.com
- // +----------------------------------------------------------------------
- // | niucloud团队 版权所有 开源版本可自由商用
- // +----------------------------------------------------------------------
- // | Author: Niucloud Team
- // +----------------------------------------------------------------------
- namespace app\adminapi\controller\weapp;
- use app\service\admin\weapp\WeappDeliveryService;
- use core\base\BaseAdminController;
- use think\Response;
- /**
- * 小程序发货信息管理服务
- */
- class Delivery extends BaseAdminController
- {
- /**
- * 查询小程序是否已开通发货信息管理服务
- * @return Response
- * @throws \EasyWeChat\Kernel\Exceptions\InvalidArgumentException
- */
- public function getIsTradeManaged()
- {
- return success((new WeappDeliveryService())->getIsTradeManaged());
- }
- }
|