删除登陆模块service

This commit is contained in:
JaguarJack 2020-06-20 09:12:19 +08:00
parent f21716d5a6
commit bd21242410
4 changed files with 1 additions and 43 deletions

View File

@ -1,22 +0,0 @@
<?php
namespace catchAdmin\index\controller;
use catcher\base\CatchController;
use think\facade\Db;
class Index extends CatchController
{
/**
*
* @time 2019年12月12日
* @throws \Exception
* @return string
*/
public function dashboard(): string
{
$mysqlVersion = Db::query('select version() as version');
return $this->fetch([
'mysql_version' => $mysqlVersion['0']['version'],
]);
}
}

View File

@ -1,13 +0,0 @@
{
"name": "首页管理",
"alias": "index",
"description": "",
"keywords": [],
"order": 0,
"services": [
"catchAdmin\\index\\IndexService"
],
"aliases": {},
"files": [],
"requires": []
}

View File

@ -1,5 +0,0 @@
<?php
$router->get('/', '\catchAdmin\index\controller\Index@index');
$router->get('theme', '\catchAdmin\index\controller\Index@theme');
$router->get('dashboard', '\catchAdmin\index\controller\Index@dashboard');

View File

@ -4,9 +4,7 @@
"description": "", "description": "",
"keywords": [], "keywords": [],
"order": 1, "order": 1,
"services": [ "services": [],
"catchAdmin\\login\\LoginService"
],
"aliases": {}, "aliases": {},
"files": [], "files": [],
"requires": [] "requires": []