mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-06-06 20:18:10 +08:00
将 v6 中直接放在本地 app 的后台与微信能力迁移为 v8 插件组件,并把运行时基础能力沉淀到独立插件包。 主要内容: - 新增 think-library、system、worker、static、install 等基础插件包。 - 新增 account、payment、wechat-client、wechat-service、wemall、wuma 等业务插件包。 - 移除 v6 的 app/admin 与 app/wechat 本地应用实现,改由插件分发接管。 - 将 Helper 能力彻底并入 System,统一为 plugin\system\helper\* 命名空间。 - 同步插件迁移发布清单与根 route 占位,保证安装发布流程可复现。
149 lines
5.3 KiB
JSON
149 lines
5.3 KiB
JSON
{
|
|
"type": "think-admin-plugin",
|
|
"name": "zoujingli/think-plugs-system",
|
|
"version": "8.0.x-dev",
|
|
"license": "MIT",
|
|
"homepage": "https://thinkadmin.top",
|
|
"description": "System Management Plugin for ThinkAdmin",
|
|
"authors": [
|
|
{
|
|
"name": "Anyon",
|
|
"email": "zoujingli@qq.com"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": "^8.1",
|
|
"ext-json": "*",
|
|
"ext-zlib": "*",
|
|
"doctrine/dbal": "^4.2",
|
|
"topthink/framework": "^8.1",
|
|
"topthink/think-ide-helper": "*",
|
|
"topthink/think-migration": "^3.0",
|
|
"topthink/think-view": "^2.0",
|
|
"zoujingli/ip2region": "^1.0 || ^2.0 || ^3.0",
|
|
"zoujingli/think-library": "^8.0",
|
|
"zoujingli/think-plugs-static": "^8.0",
|
|
"zoujingli/think-plugs-worker": "^8.0"
|
|
},
|
|
"autoload": {
|
|
"files": [
|
|
"src/common.php"
|
|
],
|
|
"psr-4": {
|
|
"plugin\\system\\": "src"
|
|
}
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^10.0"
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"plugin\\system\\tests\\": "tests/"
|
|
}
|
|
},
|
|
"extra": {
|
|
"think": {
|
|
"services": [
|
|
"plugin\\system\\helper\\Service",
|
|
"plugin\\system\\Service"
|
|
]
|
|
},
|
|
"xadmin": {
|
|
"menu": {
|
|
"show": true,
|
|
"root": {
|
|
"name": "系统管理",
|
|
"sort": 100
|
|
},
|
|
"exists": {
|
|
"url|node": "system/config/index"
|
|
},
|
|
"items": [
|
|
{
|
|
"name": "系统配置",
|
|
"subs": [
|
|
{
|
|
"name": "系统参数配置",
|
|
"icon": "layui-icon layui-icon-set",
|
|
"node": "system/config/index"
|
|
},
|
|
{
|
|
"name": "存储配置中心",
|
|
"icon": "layui-icon layui-icon-upload-drag",
|
|
"node": "system/config/storage"
|
|
},
|
|
{
|
|
"name": "系统文件管理",
|
|
"icon": "layui-icon layui-icon-carousel",
|
|
"node": "system/file/index"
|
|
},
|
|
{
|
|
"name": "插件应用中心",
|
|
"icon": "layui-icon layui-icon-app",
|
|
"node": "system/plugin/index"
|
|
},
|
|
{
|
|
"name": "系统菜单管理",
|
|
"icon": "layui-icon layui-icon-layouts",
|
|
"node": "system/menu/index"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "系统数据",
|
|
"subs": [
|
|
{
|
|
"name": "系统任务管理",
|
|
"icon": "layui-icon layui-icon-log",
|
|
"node": "system/queue/index"
|
|
},
|
|
{
|
|
"name": "系统日志管理",
|
|
"icon": "layui-icon layui-icon-form",
|
|
"node": "system/oplog/index"
|
|
},
|
|
{
|
|
"name": "数据字典管理",
|
|
"icon": "layui-icon layui-icon-code-circle",
|
|
"node": "system/base/index"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "权限管理",
|
|
"subs": [
|
|
{
|
|
"name": "系统权限管理",
|
|
"icon": "layui-icon layui-icon-vercode",
|
|
"node": "system/auth/index"
|
|
},
|
|
{
|
|
"name": "系统用户管理",
|
|
"icon": "layui-icon layui-icon-username",
|
|
"node": "system/user/index"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"migrate": {
|
|
"file": "20241010000001_install_system20241010.php",
|
|
"class": "InstallSystem20241010",
|
|
"name": "SystemPlugin"
|
|
},
|
|
"app": {
|
|
"name": "系统管理",
|
|
"document": "https://thinkadmin.top/plugin/think-plugs-system.html",
|
|
"description": "系统后台、权限用户、插件中心与共享配置的一体化管理模块。",
|
|
"code": "system",
|
|
"prefix": "system"
|
|
}
|
|
}
|
|
},
|
|
"prefer-stable": true,
|
|
"minimum-stability": "dev",
|
|
"config": {
|
|
"sort-packages": true
|
|
}
|
|
}
|