delete:冗余模块

This commit is contained in:
JaguarJack 2020-09-28 11:14:02 +08:00
parent 4b8d5aa507
commit bece4dac86
4 changed files with 0 additions and 72 deletions

View File

@ -1,13 +0,0 @@
<?php
namespace catchAdmin\cms;
use catcher\ModuleService;
class CmsService extends ModuleService
{
public function loadRouteFrom()
{
// TODO: Implement loadRouteFrom() method.
return __DIR__ . DIRECTORY_SEPARATOR . 'route.php';
}
}

View File

@ -1,30 +0,0 @@
<?php
// +----------------------------------------------------------------------
// | CatchAdmin [Just Like ]
// +----------------------------------------------------------------------
// | Copyright (c) 2017~2020 http://catchadmin.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt )
// +----------------------------------------------------------------------
// | Author: JaguarJack [ njphper@gmail.com ]
// +----------------------------------------------------------------------
namespace catchAdmin\cms\model;
use catcher\base\CatchModel as Model;
class Hello extends Model
{
protected $name = 'hello';
protected $field = [
'id', //
'good', //
'creator_id', // 创建人ID
'created_at', // 创建时间
'updated_at', // 更新时间
'deleted_at', // 软删除
];
}

View File

@ -1,15 +0,0 @@
{
"name": "内容管理",
"alias": "cms",
"description": "cms,博客,企业站点,内容管理",
"version": "1.0.0",
"keywords": [],
"order": 0,
"services": [
"\\catchAdmin\\cms\\CmsService"
],
"aliases": {},
"files": [],
"requires": [],
"enable": true
}

View File

@ -1,14 +0,0 @@
<?php
// you should user `$router`
$router->group(function () use ($router){
});
//hello路由
$router->resource('hello', '\catchAdmin\cms\controller\Hello')->middleware('auth');
//hello路由
$router->resource('hello', '\catchAdmin\cms\controller\Hello')->middleware('auth');