|
All checks were successful
continuous-integration/drone/push Build is passing
- Add ILogger<LoginService> dependency injection to LoginService - Add logging at method entry point with OpenId and PhoneNumber parameters - Add logging for phone number query results and user lookup - Add logging for WeChat record queries by UserId - Add logging for OpenId duplicate detection and reassignment logic - Add logging for new WeChat record creation - Add logging for new user registration flow - Add logging for successful login completion - Improve debugging and monitoring capabilities for WeChat phone login authentication flow |
||
|---|---|---|
| .kiro | ||
| docs | ||
| mcp | ||
| server | ||
| 前端 | ||
| .drone.yml | ||
| .gitignore | ||
| CI-CD部署文档.md | ||
| README.md | ||
LiveForum 论坛社区
直播机构论坛社区平台,连接主播与粉丝。
项目结构
├── server/
│ ├── webapi/LiveForum/ # 小程序 API(.NET 8 + FreeSql + Redis)
│ ├── admin/ZrAdminNetCore/ # 后台管理
│ │ ├── ZR.Admin.WebApi/ # 后台 API(.NET 8 + SqlSugar)
│ │ └── ZR.Vue/ # 后台前端(Vue 3 + Element Plus)
│ ├── crawler/ # 数据爬虫(Python + Playwright)
│ └── k6/ # 压力测试脚本
├── 前端/live-forum/ # 微信小程序(uni-app + Vue 3)
└── docs/ # 需求文档
技术栈
| 模块 | 技术 |
|---|---|
| 小程序 API | .NET 8、FreeSql、Redis、Hangfire、AgileConfig、Serilog |
| 后台管理 API | .NET 8、SqlSugar、Mapster、NLog |
| 后台前端 | Vue 3、Vite、Element Plus、Pinia |
| 小程序前端 | uni-app、Vue 3、uview-plus |
| 数据库 | SQL Server、Redis |
| 文件存储 | 腾讯云 COS |
| 配置中心 | AgileConfig |
本地开发
小程序 API
cd server/webapi/LiveForum
dotnet restore LiveForum.sln
dotnet run --project LiveForum.WebApi
后台管理 API
cd server/admin/ZrAdminNetCore
dotnet restore ZRAdmin.sln
dotnet run --project ZR.Admin.WebApi
后台前端
cd server/admin/ZrAdminNetCore/ZR.Vue
npm install
npm run dev
CI/CD
基于 Drone CI + Docker + Harbor,推送 main 分支自动触发构建和部署。
详见 CI-CD部署文档.md