Anyon e634118a22 refactor(plugin): 迁移 v8 插件化组件体系
将 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 占位,保证安装发布流程可复现。
2026-05-08 15:30:46 +08:00

131 lines
4.8 KiB
JSON

{
"type": "think-admin-plugin",
"name": "zoujingli/think-plugs-wechat-client",
"version": "8.0.x-dev",
"license": "MIT",
"homepage": "https://thinkadmin.top",
"description": "WeChat Client Plugin for ThinkAdmin",
"authors": [
{
"name": "Anyon",
"email": "zoujingli@qq.com"
}
],
"require": {
"php": "^8.1",
"ext-json": "*",
"ext-openssl": "*",
"ext-mbstring": "*",
"zoujingli/qrcode": "^1.0",
"zoujingli/think-library": "^8.0",
"zoujingli/think-plugs-system": "^8.0",
"zoujingli/think-plugs-worker": "^8.0",
"zoujingli/wechat-developer": "^1.2"
},
"autoload": {
"psr-4": {
"plugin\\wechat\\client\\": "src"
}
},
"extra": {
"think": {
"services": [
"plugin\\wechat\\client\\Service"
]
},
"xadmin": {
"menu": {
"root": {
"name": "公众号平台",
"sort": 200
},
"exists": {
"url|node": "wechat-client/fans/index"
},
"items": [
{
"name": "公众号平台",
"subs": [
{
"name": "微信接口配置",
"icon": "layui-icon layui-icon-set",
"node": "wechat-client/config/options"
},
{
"name": "微信支付配置",
"icon": "layui-icon layui-icon-rmb",
"node": "wechat-client/config/payment"
}
]
},
{
"name": "微信定制",
"subs": [
{
"name": "微信粉丝管理",
"icon": "layui-icon layui-icon-username",
"node": "wechat-client/fans/index"
},
{
"name": "微信图文管理",
"icon": "layui-icon layui-icon-template-1",
"node": "wechat-client/news/index"
},
{
"name": "微信菜单配置",
"icon": "layui-icon layui-icon-cellphone",
"node": "wechat-client/menu/index"
},
{
"name": "回复规则管理",
"icon": "layui-icon layui-icon-engine",
"node": "wechat-client/keys/index"
},
{
"name": "关注自动回复",
"icon": "layui-icon layui-icon-release",
"node": "wechat-client/auto/index"
}
]
},
{
"name": "微信支付",
"subs": [
{
"name": "微信支付行为",
"icon": "layui-icon layui-icon-rmb",
"node": "wechat-client/payment.record/index"
},
{
"name": "微信退款管理",
"icon": "layui-icon layui-icon-engine",
"node": "wechat-client/payment.refund/index"
}
]
}
]
},
"migrate": {
"file": "20241010000003_install_wechat20241010.php",
"class": "InstallWechat20241010",
"name": "WechatPlugin"
},
"app": {
"name": "微信公众号管理",
"document": "https://thinkadmin.top/plugin/think-plugs-wechat-client.html",
"description": "公众号标准平台插件,提供公众号配置、粉丝、素材、菜单与支付管理。",
"platforms": [
"wxapp",
"wechat"
],
"code": "wechat-client",
"prefix": "wechat-client"
}
}
},
"minimum-stability": "dev",
"config": {
"sort-packages": true
}
}