| 123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- namespace App\Http\Controllers\Api;
- use App\Helpers\Jwt;
- use App\Models\UserModel;
- use App\Services\SnapshotService;
- use Illuminate\Support\Facades\Session;
- /**
- * 后台控制器基类
- * @author wesmiler
- * @since 2020/11/10
- * Class Backend
- * @package App\Http\Controllers
- */
- class TestController extends BaseController
- {
- /**
- * 构造函数
- * @author wesmiler
- * @since 2020/11/11
- * LevelController constructor.
- */
- public function __construct()
- {
- parent::__construct();
- }
- public function index(){
- echo 666;
- echo SnapshotService::make()->makeSign(5);
- }
- }
|