|
|
@@ -1,52 +0,0 @@
|
|
|
-<?php
|
|
|
-// +----------------------------------------------------------------------
|
|
|
-// | Laravel框架 [ Laravel ]
|
|
|
-// +----------------------------------------------------------------------
|
|
|
-// | 版权所有 2017~2020 南京Laravel研发中心
|
|
|
-// +----------------------------------------------------------------------
|
|
|
-// | 官方网站: http://www.laravel.cn
|
|
|
-// +----------------------------------------------------------------------
|
|
|
-// | Author: wesmiler <12345678@qq.com>
|
|
|
-// +----------------------------------------------------------------------
|
|
|
-
|
|
|
-namespace App\Http\Controllers;
|
|
|
-
|
|
|
-
|
|
|
-use App\Services\Demo3Service;
|
|
|
-
|
|
|
-/**
|
|
|
- * 演示管理-控制器
|
|
|
- * @author wesmiler
|
|
|
- * @since: 2021/04/10
|
|
|
- * Class Demo3Controller
|
|
|
- * @package App\Http\Controllers
|
|
|
- */
|
|
|
-class Demo3Controller extends Backend
|
|
|
-{
|
|
|
- /**
|
|
|
- * 构造函数
|
|
|
- * @param Request $request
|
|
|
- * @since 2021/04/10
|
|
|
- * LevelController constructor.
|
|
|
- * @author wesmiler
|
|
|
- */
|
|
|
- public function __construct()
|
|
|
- {
|
|
|
- parent::__construct();
|
|
|
- $this->service = new Demo3Service();
|
|
|
- }
|
|
|
-
|
|
|
-
|
|
|
- /**
|
|
|
- * 设置是否VIP
|
|
|
- * @return mixed
|
|
|
- * @since 2021/04/10
|
|
|
- * @author wesmiler
|
|
|
- */
|
|
|
- public function setIsVip()
|
|
|
- {
|
|
|
- $result = $this->service->setIsVip();
|
|
|
- return $result;
|
|
|
- }
|
|
|
-
|
|
|
-}
|