feat: 初始化 Wails + React + Go 桌面应用模板

- Wails v2.16.0 + React 19 + TypeScript + Vite 7
- 插件系统(build tag 控制编译,plugin.json 运行时配置)
- 支付插件(授权、账号、订单、退款、账单)
- 高并发基础设施(任务池、批量处理器、限流器、环形缓冲、管道)
- Windows 系统托盘(Win32 API)
- CodeGraph 索引 + .memory 记忆包
- 默认图标 assets/icon.png
This commit is contained in:
2026-09-17 19:31:17 +08:00
commit 1ea8c9da9c
57 changed files with 6305 additions and 0 deletions

27
config/plugin.json Normal file
View File

@@ -0,0 +1,27 @@
{
"version": "1.0.0",
"plugins": {
"iconfont": {
"enabled": false,
"description": "阿里IconFont图标库,支持在React中使用字体图标"
},
"ai": {
"enabled": false,
"description": "AI大模型集成,支持对话、分析等功能"
},
"concurrent": {
"enabled": true,
"description": "高并发工具集,包含任务池、批量处理、限流器等"
},
"payment": {
"enabled": true,
"description": "支付授权与订单管理,支持登录、查授权、查账号、查订单、退款、账单",
"params": {
"app_id": "your_app_id",
"mch_id": "",
"api_key": "your_api_key",
"base_url": "https://api.example.com"
}
}
}
}