From d8b86a4f3a510cb989854fb0d8ecb1108fb964f4 Mon Sep 17 00:00:00 2001 From: zpc Date: Sun, 25 Jan 2026 15:44:07 +0800 Subject: [PATCH] 231 --- .gitignore | 1 + honey_box/common/env.js | 5 +- .../detail-button/detail-button.vue | 42 ++++ honey_box/manifest.json | 4 +- honey_box/pages/guize/guize.vue | 13 +- .../Controllers/InvitationController.cs | 4 +- .../Controllers/UserController.cs | 6 +- .../Properties/launchSettings.json | 4 +- .../HoneyBox.Core/Services/GoodsService.cs | 156 ++++++++++++-- .../HoneyBox.Core/Services/WechatService.cs | 124 ++++++++++- .../HoneyBox.Model/Data/HoneyBoxDbContext.cs | 48 +++++ .../HoneyBox.Model/Entities/GoodsKingRank.cs | 54 +++++ .../Models/Goods/GoodsModels.cs | 2 +- server/scripts/create_goods_king_ranks.sql | 48 +++++ server/scripts/migrate_goods_king_rank.js | 197 ++++++++++++++++++ 15 files changed, 671 insertions(+), 37 deletions(-) create mode 100644 server/HoneyBox/src/HoneyBox.Model/Entities/GoodsKingRank.cs create mode 100644 server/scripts/create_goods_king_ranks.sql create mode 100644 server/scripts/migrate_goods_king_rank.js diff --git a/.gitignore b/.gitignore index 7b6d4765..c8ee779d 100644 --- a/.gitignore +++ b/.gitignore @@ -279,3 +279,4 @@ dist .yarn/install-state.gz .pnp.* server/C#/HoneyBox/src/HoneyBox.Api/bin/* +.kiro/settings/mcp.json diff --git a/honey_box/common/env.js b/honey_box/common/env.js index b220327a..13f1ca9d 100644 --- a/honey_box/common/env.js +++ b/honey_box/common/env.js @@ -4,14 +4,15 @@ * * 更新说明: * - 2026年迁移至 .NET 10 后端 - * - 开发环境:http://localhost:5238 + * - 开发环境:http://localhost:5238 http://192.168.195.15:2822 * - 测试环境: * - 生产环境: */ // 测试环境配置 - .NET 10 后端 const testing = { - baseUrl: 'http://localhost:5238', + // baseUrl: 'https://app.zpc-xy.com/honey/api', + baseUrl: 'http://192.168.1.24:5238', imageUrl: 'https://youdas-1308826010.cos.ap-shanghai.myqcloud.com', loginPage: '', wxAppId: '' diff --git a/honey_box/components/detail-button/detail-button.vue b/honey_box/components/detail-button/detail-button.vue index 07cbc3e0..1f2bd440 100644 --- a/honey_box/components/detail-button/detail-button.vue +++ b/honey_box/components/detail-button/detail-button.vue @@ -44,6 +44,8 @@