mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-06-07 04:28:11 +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 占位,保证安装发布流程可复现。
113 lines
4.0 KiB
JSON
113 lines
4.0 KiB
JSON
{
|
|
"type": "think-admin-plugin",
|
|
"name": "zoujingli/think-plugs-payment",
|
|
"version": "8.0.x-dev",
|
|
"license": "proprietary",
|
|
"homepage": "https://thinkadmin.top",
|
|
"description": "Payment Plugin for ThinkAdmin",
|
|
"authors": [
|
|
{
|
|
"name": "Anyon",
|
|
"email": "zoujingli@qq.com"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": "^8.1",
|
|
"ext-json": "*",
|
|
"zoujingli/think-plugs-account": "^8.0",
|
|
"zoujingli/think-plugs-system": "^8.0",
|
|
"zoujingli/think-plugs-worker": "^8.0"
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^9.5|^10.0"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"plugin\\payment\\": "src"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"think\\admin\\tests\\": "tests/"
|
|
}
|
|
},
|
|
"extra": {
|
|
"think": {
|
|
"services": [
|
|
"plugin\\payment\\Service"
|
|
]
|
|
},
|
|
"xadmin": {
|
|
"migrate": {
|
|
"file": "20241010000006_install_payment20241010.php",
|
|
"class": "InstallPayment20241010",
|
|
"name": "PaymentPlugin"
|
|
},
|
|
"menu": {
|
|
"items": [
|
|
{
|
|
"name": "用户管理",
|
|
"subs": [
|
|
{
|
|
"name": "用户账号管理",
|
|
"icon": "layui-icon layui-icon-user",
|
|
"node": "account/master/index"
|
|
},
|
|
{
|
|
"name": "终端账号管理",
|
|
"icon": "layui-icon layui-icon-cellphone",
|
|
"node": "account/device/index"
|
|
},
|
|
{
|
|
"name": "手机短信管理",
|
|
"icon": "layui-icon layui-icon-email",
|
|
"node": "account/message/index"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "支付管理",
|
|
"subs": [
|
|
{
|
|
"name": "支付配置管理",
|
|
"icon": "layui-icon layui-icon-set",
|
|
"node": "payment/config/index"
|
|
},
|
|
{
|
|
"name": "支付行为管理",
|
|
"icon": "layui-icon layui-icon-edge",
|
|
"node": "payment/record/index"
|
|
},
|
|
{
|
|
"name": "支付退款管理",
|
|
"icon": "layui-icon layui-icon-firefox",
|
|
"node": "payment/refund/index"
|
|
},
|
|
{
|
|
"name": "余额明细管理",
|
|
"icon": "layui-icon layui-icon-rmb",
|
|
"node": "payment/balance/index"
|
|
},
|
|
{
|
|
"name": "积分明细管理",
|
|
"icon": "layui-icon layui-icon-diamond",
|
|
"node": "payment/integral/index"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"app": {
|
|
"name": "支付管理",
|
|
"document": "https://thinkadmin.top/plugin/think-plugs-payment.html",
|
|
"description": "提供支付配置、支付行为、支付退款和余额积分管理功能。",
|
|
"license": [
|
|
"VIP"
|
|
],
|
|
"code": "payment",
|
|
"prefix": "payment"
|
|
}
|
|
}
|
|
}
|
|
}
|