Commit Graph

244 Commits

Author SHA1 Message Date
d41f69045f feat(product): add product schedule management api
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 46s
2026-02-21 11:46:55 +08:00
ad65ef3bf6 feat(product): add product label management backend
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 43s
2026-02-21 10:18:48 +08:00
93bc072b8d feat: 新增加料管理接口与模板能力
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 43s
2026-02-21 08:44:26 +08:00
848778b8b5 fix: 修复规格模板查询并发DbContext异常
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 44s
2026-02-21 07:42:02 +08:00
392d9f03a1 feat: 新增规格做法模板管理接口与数据模型
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 45s
2026-02-20 20:08:34 +08:00
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
eea8a53da3 chore(api): align tenant storage config with admin
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 46s
2026-02-20 16:45:54 +08:00
237e0a1a9f fix(api): register storage services in tenant api
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 46s
2026-02-20 16:33:46 +08:00
750346fdb2 feat(api): add tenant files upload endpoint
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 49s
2026-02-20 16:23:29 +08:00
48cf852d46 feat(project): 新增包装费模式切换接口
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 44s
2026-02-20 10:39:34 +08:00
adac05521a feat(store): add dedicated pickup mode save endpoint
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 46s
2026-02-20 10:09:33 +08:00
8a6fc867c2 refactor(store): remove fallback config behavior and expose isConfigured
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 43s
2026-02-20 09:55:11 +08:00
938da7469c fix: 排班替换删除时忽略软删过滤
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 42s
2026-02-20 09:21:43 +08:00
f2142de407 fix: 排班事务兼容ef重试策略
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 42s
2026-02-20 09:17:48 +08:00
9651022261 refactor: 排班替换改为事务内先删后增
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 43s
2026-02-20 09:14:39 +08:00
669db14f64 fix: 修复员工排班保存唯一键冲突
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 43s
2026-02-20 09:12:21 +08:00
069d7de05e fix: 员工排班移除mock与兜底逻辑
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 43s
2026-02-20 09:02:52 +08:00
145be01bfc fix(store-fees): 保留包装费配置避免阶梯刷新丢失
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 45s
2026-02-20 08:28:41 +08:00
787ebe6b73 fix(pickup): remove mocked fine-slot reservation preview
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 43s
2026-02-19 18:21:06 +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
d5b22a8d85 fix: 配送地图地理编码改为后端签名代理
Some checks failed
Build and Deploy TenantApi / build-and-deploy (push) Failing after 36s
2026-02-19 16:05:57 +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
c853fd8edf fix(store-hours): reject overlapping holiday date ranges
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 42s
2026-02-18 20:36:33 +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
dfa2b3ee52 feat(store): add quick business toggle endpoint and auto-approve creation
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 42s
2026-02-18 10:03:27 +08:00
be701d8cf6 fix(store): default new store business status to resting
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 42s
2026-02-18 08:44:14 +08:00
b3429e2a0d feat(store): auto-generate store code on create and make update code optional
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 44s
2026-02-18 08:27:37 +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
f61554fc08 fix: 移除商户中心租户信息兜底返回
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 38s
2026-02-06 14:01:05 +08:00
76ba5a4748 fix: 移除商户中心商户查询兜底逻辑
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 38s
2026-02-06 13:59:40 +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
5f2064324d feat: 新增租户端商户中心聚合接口
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 40s
提供 /merchant/info 聚合查询,返回商户主体、资质、合同、员工与日志信息,满足租户端商户中心页面一次加载全部相关数据。
2026-02-06 13:45:20 +08:00
a0e0848af7 feat: profile 返回当前套餐名称
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 38s
在认证档案中增加 packageName 字段,并基于租户当前有效订阅从套餐表读取名称返回给前端,便于头像下拉直接展示真实套餐信息。
2026-02-06 13:03:41 +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
f10319d96b feat: 添加 Gitea Actions 自动部署工作流
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 40s
2026-02-05 21:31:55 +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
MSuMshk
cfacbf8363 feat: 补全租户端认证接口
- 新增 GET /api/tenant/v1/auth/profile 获取当前用户信息
- 新增 GET /api/tenant/v1/auth/permissions 获取当前用户权限码
- 新增 GET /api/tenant/v1/auth/menu 获取当前用户菜单树
- 移除 MeController,功能合并至 AuthController

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 12:39:23 +08:00
MSuMshk
286e6e9acb refactor: 移除租户端简化登录接口及相关依赖
- 移除 /api/tenant/v1/auth/login/simple 接口
- 移除 IAdminAuthService.LoginSimpleAsync 方法
- 移除 AdminAuthService.LoginSimpleAsync 实现
- 移除 IsLikelyPhone 辅助方法
- 清理未使用的 ITenantContextAccessor 和 ITenantRepository 依赖
- 添加 CLAUDE.md 开发规范文件

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 11:38:32 +08:00
MSuMshk
5338eb5434 chore: 更新开发和生产环境配置文件
- 更新 appsettings.Development.json 配置
- 更新 appsettings.Production.json 配置

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 09:11:55 +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