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

76 lines
2.4 KiB
JSON

{
"type": "think-admin-plugin",
"name": "zoujingli/think-plugs-wechat-service",
"version": "8.0.x-dev",
"license": "proprietary",
"homepage": "https://thinkadmin.top",
"description": "WeChat Open Platform Plugin for ThinkAdmin",
"authors": [
{
"name": "Anyon",
"email": "zoujingli@qq.com"
}
],
"require": {
"php": "^8.1",
"ext-json": "*",
"ext-openssl": "*",
"ext-mbstring": "*",
"zoujingli/think-library": "^8.0",
"zoujingli/think-plugs-system": "^8.0",
"zoujingli/weopen-developer": "^1.0"
},
"autoload": {
"psr-4": {
"plugin\\wechat\\service\\": "src"
}
},
"extra": {
"think": {
"services": [
"plugin\\wechat\\service\\Service"
]
},
"xadmin": {
"migrate": {
"file": "20241010000009_install_wechat_service20241010.php",
"class": "InstallWechatService20241010",
"name": "WechatServicePlugin"
},
"menu": {
"items": [
{
"name": "平台配置",
"subs": [
{
"name": "开放平台配置",
"icon": "layui-icon layui-icon-set",
"node": "wechat-service/config/index"
},
{
"name": "公众号授权管理",
"icon": "layui-icon layui-icon-dialogue",
"node": "wechat-service/wechat/index"
}
]
}
]
},
"app": {
"name": "微信开放平台",
"description": "公众号开放平台插件,提供第三方平台配置、授权接入与远程接口能力。",
"document": "https://thinkadmin.top/plugin/think-plugs-wechat-service.html",
"license": [
"VIP"
],
"platforms": [
"wxapp",
"wechat"
],
"code": "wechat-service",
"prefix": "wechat-service"
}
}
}
}