Commit Graph

130 Commits

Author SHA1 Message Date
1b3525862a feat: implement tenant product category management APIs
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 44s
2026-02-20 18:45:48 +08:00
7ecf069efd fix(pickup): prevent null rowversion on settings and slots save
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 43s
2026-02-19 17:57:52 +08:00
53f7c54c82 feat(geo): add tenant/merchant/store geocode fallback and retry workflow
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 43s
2026-02-19 17:13:00 +08:00
ad245078a2 feat: 提交配送中心点与门店地址映射全量变更
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 42s
2026-02-19 16:12:36 +08:00
2c086d1149 fix(infra): auto-apply app and dictionary migrations on startup
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 41s
2026-02-18 20:41:22 +08:00
8139c08b35 fix(store): enforce UTC holiday dates and exclude deleted stores
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 42s
2026-02-18 17:25:34 +08:00
1b185af718 feat: 完成门店管理剩余接口并补齐文档注释
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 46s
2026-02-17 14:54:35 +08:00
3a94348cca fix: 对齐门店仓储接口签名并恢复多租户过滤
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 41s
2026-02-17 12:19:23 +08:00
c032608a57 Revert "refactor: 清理租户API旧模块代码"
This reverts commit 992930a821.
2026-02-17 12:12:01 +08:00
654b1ae3f7 feat: tenant门店管理首批接口落地
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 30s
2026-02-17 11:10:06 +08:00
992930a821 refactor: 清理租户API旧模块代码 2026-02-17 09:57:26 +08:00
2711893474 feat: 完成租户个人中心 API 首版实现 2026-02-09 20:01:11 +08:00
b02950e465 fix: 修复商户中心查询 RowVersion 列不存在问题
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 38s
2026-02-06 13:56:08 +08:00
ec5293d892 fix: identity 登录并发改为 xmin
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 8s
移除 identity_users 对 RowVersion 列的依赖,改用 PostgreSQL xmin 作为并发令牌,修复线上登录因缺失 RowVersion 列导致的 500 错误。
2026-02-06 12:11:52 +08:00
MSuMshk
5a26f82628 refactor: 将 Permission 和 MenuDefinition 改为系统级实体
- Permission 和 MenuDefinition 改为继承 AuditableEntityBase(移除 TenantId)
- 添加 PortalType 枚举区分平台端/租户端
- Repository 使用 IgnoreQueryFilters() 查询系统级数据
- 更新所有相关 Handler 和 DTO,移除 TenantId 引用
- 与 AdminApi 保持一致的设计

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 14:49:27 +08:00
MSuMshk
e88c41c11e feat: 实现动态租户解析与移除菜单回退逻辑
1. 新增 ITenantCodeResolver 接口和 DatabaseTenantCodeResolver 实现
2. 修改 TenantResolutionMiddleware 支持从数据库动态解析租户编码
3. ITenantRepository 新增 FindIdByCodeAsync 方法
4. 移除 EfMenuRepository 中危险的系统菜单回退逻辑
5. 调整服务注册顺序确保依赖正确注入

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 13:05:52 +08:00
root
8e315e4f17 fix: 租户端启动补齐字典与消息依赖 2026-01-30 02:42:22 +00:00
root
cf697b3889 fix: 统一逐租户上下文执行 2026-01-30 01:04:51 +00:00
root
41cfd2e2e8 refactor: 收紧角色与商户跨租户能力 2026-01-29 14:52:25 +00:00
root
a0b77d4847 fix: 禁止账单跨租户查询 2026-01-29 14:51:56 +00:00
root
1622c38043 refactor: 订阅任务按租户上下文执行 2026-01-29 14:51:21 +00:00
root
f9053356c2 refactor: 移除门店跨租户访问入口 2026-01-29 14:50:49 +00:00
root
52fb4fde72 refactor: 清理平台表述并统一为系统 2026-01-29 13:49:03 +00:00
root
b3d611304b refactor: 移除身份跨租户忽略租户过滤 2026-01-29 13:48:31 +00:00
root
8276174526 refactor: 删除超级管理员相关迁移 2026-01-29 13:47:57 +00:00
root
1ee9aa8435 refactor: 移除菜单平台根租户读取 2026-01-29 13:47:32 +00:00
root
bc1c4cc41b refactor: 禁止 TenantId=0 并改为系统租户 2026-01-29 13:16:15 +00:00
root
77836e270f refactor: 移除平台公告与跨租户目标 2026-01-29 13:15:53 +00:00
root
0d9402d204 refactor: 移除平台管理员残留定义 2026-01-29 12:25:54 +00:00
root
c7307c1942 refactor: 移除租户审核领取模型 2026-01-29 12:15:19 +00:00
root
86ef0d6033 feat: 新增租户管理端 TenantApi 并移除旧 API 2026-01-29 11:39:57 +00:00
root
06981838a6 fix: 修复 DeliveryZoneService 可空警告 2026-01-29 03:07:25 +00:00
root
c5e2501e1a refactor: 抽离 Docs/BuildingBlocks 子模块 2026-01-29 03:07:01 +00:00
725f89ae24 feat: Add tiered packaging fee support for stores
Introduces tiered packaging fee configuration for stores by adding OrderPackagingFeeMode and PackagingFeeTiers fields to StoreFee. Updates DTOs, validators, handlers, and mapping logic to support both fixed and tiered packaging fee modes. Adds StoreFeeTierHelper for tier normalization and serialization, and includes a database migration to persist the new fields.
2026-01-26 09:26:49 +08:00
36abd83e83 chore: update store delivery zone handlers 2026-01-21 11:27:13 +08:00
8bde1a6440 fix: 门店时段与临时调整跨租户处理 2026-01-20 20:38:05 +08:00
32f5bbbd43 feat(store): 扩展临时时段配置 2026-01-20 18:41:34 +08:00
3385674490 fix: 门店资质日期字段改为date 2026-01-20 13:09:06 +08:00
30e54e2bea fix: 修复门店租户写入与跨租户查看 2026-01-19 20:43:27 +08:00
a042c7ef82 Merge branch 'dev' of https://github.com/msumshk/TakeoutAPI into dev 2026-01-05 19:11:16 +08:00
398c716734 fix:修复注释错误 2026-01-04 21:22:26 +08:00
aa42a635e4 feat: 提交后端其余改动 2026-01-01 07:41:57 +08:00
fc55003d3d 完成门店管理后端接口与任务 2026-01-01 07:26:14 +08:00
dc9f6136d6 feat: 实现字典管理后端 2025-12-30 19:56:24 +08:00
dd91c1010a feat:商户管理 2025-12-29 16:40:27 +08:00
57f4c2d394 fix: 公告模块第一次修复 2025-12-27 18:22:30 +08:00
bc09d9ca2e fix: 权限固定为全局 2025-12-27 16:47:38 +08:00
dd58cc2ed0 fix: 菜单固定为全局 2025-12-27 16:47:15 +08:00
3d6e2f02b4 fix: 升级依赖并适配消息模块 2025-12-27 12:32:54 +08:00
9df54d620d fix: 修复用户角色替换的软删除冲突 2025-12-27 12:32:53 +08:00