| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <?php
- // +----------------------------------------------------------------------
- // | Laravel框架 [ Laravel ]
- // +----------------------------------------------------------------------
- // | 版权所有 2017~2021 Laravel研发中心
- // +----------------------------------------------------------------------
- // | 官方网站: http://www.laravel.cn
- // +----------------------------------------------------------------------
- // | Author: wesmiler <12345678@qq.com>
- // +----------------------------------------------------------------------
- namespace App\Http\Controllers;
- use App\Services\ArticleService;
- use App\Services\CardService;
- /**
- * 卡管理-控制器
- * @author wesmiler
- * @since 2020/11/11
- * Class CardController
- * @package App\Http\Controllers
- */
- class CardController extends Backend
- {
- /**
- * 构造函数
- * @author wesmiler
- * @since 2020/11/11
- * CardController constructor.
- */
- public function __construct()
- {
- parent::__construct();
- $this->service = new CardService();
- }
- /**
- * 额度调整
- * @return mixed
- */
- public function quota(){
- return $this->service->quota($this->userId);
- }
- }
|