mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-07-08 09:11:05 +08:00
Compare commits
No commits in common. "0a51f6bb78fe22bf163d27d360245ff9108546d9" and "c8f0343c2c956db321341fd6d0970c1905423840" have entirely different histories.
0a51f6bb78
...
c8f0343c2c
34
app/center/controller/Index.php
Normal file
34
app/center/controller/Index.php
Normal file
@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
namespace app\center\controller;
|
||||
|
||||
use think\admin\Controller;
|
||||
|
||||
/**
|
||||
* 应用插件中心
|
||||
* Class Index
|
||||
* @package app\center\contrller
|
||||
*/
|
||||
class Index extends Controller
|
||||
{
|
||||
/**
|
||||
* 显示插件中心
|
||||
* @auth true
|
||||
* @menu true
|
||||
* @return void
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
$this->fetch();
|
||||
}
|
||||
|
||||
/**
|
||||
* 显示我的插件
|
||||
* @auth true
|
||||
* @return void
|
||||
*/
|
||||
public function plugin()
|
||||
{
|
||||
$this->fetch();
|
||||
}
|
||||
}
|
||||
24
app/center/controller/Plugin.php
Normal file
24
app/center/controller/Plugin.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace app\center\controller;
|
||||
|
||||
use think\admin\Controller;
|
||||
|
||||
/**
|
||||
* 在线插件管理
|
||||
* Class Plugin
|
||||
* @package app\center\controller
|
||||
*/
|
||||
class Plugin extends Controller
|
||||
{
|
||||
/**
|
||||
* 在线插件管理
|
||||
* @auth true
|
||||
* @menu true
|
||||
* @return void
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
$this->fetch();
|
||||
}
|
||||
}
|
||||
@ -43,7 +43,8 @@
|
||||
"scripts": {
|
||||
"post-autoload-dump": [
|
||||
"@php think service:discover",
|
||||
"@php think vendor:publish"
|
||||
"@php think vendor:publish",
|
||||
"@php think migrate:run"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user