Commit Graph

268 Commits

Author SHA1 Message Date
395ac4da05 feat: 实现克隆租户角色接口
- POST /api/admin/v1/tenants/{tenantId}/roles/{roleId}/clone
- 支持复制角色基本信息和权限

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 08:25:12 +00:00
764661f9e3 fix: 租户列表接口添加分页支持
- 支持 page 和 pageSize 参数
- 返回 PagedResult<TenantListItemDto>

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 08:07:04 +00:00
e15ab4f0be feat: 实现租户列表查询接口
- 获取租户列表:GET /api/admin/v1/tenants
- 用于填充租户下拉选择器

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 08:04:12 +00:00
0bcad8ba7e feat: 实现租户角色列表查询和删除接口
- 获取租户角色列表:GET /api/admin/v1/tenants/{tenantId}/roles
- 删除租户角色:DELETE /api/admin/v1/tenants/{tenantId}/roles/{roleId}

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 07:53:25 +00:00
2dbd004ce0 feat: 实现租户角色管理 API
- 创建角色:POST /api/admin/v1/tenants/{tenantId}/roles
- 更新角色:PUT /api/admin/v1/tenants/{tenantId}/roles/{roleId}
- 获取角色权限:GET /api/admin/v1/tenants/{tenantId}/roles/{roleId}/permissions
- 更新角色权限:PUT /api/admin/v1/tenants/{tenantId}/roles/{roleId}/permissions

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 07:48:35 +00:00
8dff802248 feat: 管理后台登录增加手机号校验 2026-01-30 07:09:35 +00:00
f4ac933716 docs: 添加 CLAUDE.md 2026-01-30 07:02:16 +00:00
4e307feaf0 docs: 更新 TakeoutSaaS.Docs 子模块 2026-01-30 03:51:54 +00:00
69a9adfc25 refactor: 收敛租户领域至最小集 2026-01-30 03:18:41 +00:00
66aebabd87 docs: 更新文档子模块引用 2026-01-30 02:54:32 +00:00
83a4eb0831 refactor: 移除租户侧能力 2026-01-30 02:32:01 +00:00
6143943bf0 refactor: 用户管理仅平台管理员 2026-01-30 02:10:32 +00:00
45d08a79df refactor: 移除租户角色管理CQRS 2026-01-30 01:18:20 +00:00
b2678a27ba refactor: 移除租户端控制器 2026-01-30 01:13:43 +00:00
3b3a29cb91 refactor: 移除 tests 目录 2026-01-30 00:53:58 +00:00
4f8424adb6 refactor: AdminApi 剔除租户侧能力 2026-01-29 23:24:44 +00:00
71e5a9dc29 feat: 门店模块移除租户上下文依赖 2026-01-29 14:27:01 +00:00
010c2b7043 feat: 商品模块移除租户上下文依赖 2026-01-29 14:04:20 +00:00
b5dfb58a8b refactor: 订单写操作移除租户上下文依赖 2026-01-29 13:56:33 +00:00
4dc5b067eb feat: 商户模块移除租户上下文依赖 2026-01-29 13:52:36 +00:00
bb3bb842bc feat: 配送单查询支持tenantId可选过滤 2026-01-29 13:30:49 +00:00
a035334c94 feat: 支付模块支持tenantId可选过滤 2026-01-29 13:11:09 +00:00
63b05da39a feat: 订单商品查询支持tenantId可选过滤 2026-01-29 12:14:43 +00:00
7661c2aea1 fix: 管理后台登录按Portal精确匹配 2026-01-29 11:41:24 +00:00
b90929dfaf feat: Identity库Portal化迁移 2026-01-29 11:18:53 +00:00
b3639ff34b refactor: 管理端去租户过滤并Portal化RBAC菜单 2026-01-29 10:46:49 +00:00
ea9c20d8a9 refactor: 移除 Gateway 子模块挂载 2026-01-29 06:18:46 +00:00
29232ce3c8 docs: 更新 Docs 子模块引用 2026-01-29 05:58:14 +00:00
1543d3f611 refactor: 抽离 Gateway 子模块 2026-01-29 05:42:32 +00:00
be0282af9f refactor: 移除租户头校验并后置租户解析 2026-01-29 05:22:09 +00:00
d7821fa1af refactor: 移除租户兼容并统一路由租户 2026-01-29 04:53:37 +00:00
65c4c00b87 refactor: 引入管理端 DbContext 禁用租户过滤 2026-01-29 03:52:11 +00:00
f7e21db88a refactor: 移除租户端 API 项目 2026-01-29 03:28:29 +00:00
57abfcf07a fix: 修复 DeliveryZoneService 可空警告 2026-01-29 02:42:47 +00:00
467d221022 refactor: 抽离 Docs/BuildingBlocks 子模块 2026-01-29 02:42:38 +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
923856e286 Merge branch 'dev' of github.com:msumshk/TakeoutAPI into dev 2026-01-26 09:22:56 +08:00
9e571f13cf docs: 更新商品模块API设计 2026-01-23 14:23:50 +08:00
187534ecca fix: 允许平台账号跨租户更新门店 2026-01-21 17:21:30 +08:00
41ce8f2ccb refactor: drop tencent map signature endpoint 2026-01-21 14:18:16 +08:00
054beb4a69 fix: adjust tencent map signature encoding 2026-01-21 13:19:14 +08:00
60f12b3e58 feat: add tencent map signature endpoint 2026-01-21 12:35:39 +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
de54b64efc chore: 构建脚本执行完自动关闭 2026-01-20 08:56:24 +08:00
30e54e2bea fix: 修复门店租户写入与跨租户查看 2026-01-19 20:43:27 +08:00
root
abd5752ad1 fix: 兼容swagger旧路径并修复测试构建 2026-01-06 06:46:19 +00:00
root
1273a3b72a feat: 添加dbhub连接配置 2026-01-06 04:11:34 +00:00