feat(tenant): 按租户隔离支付退款与商户配置

This commit is contained in:
yml
2026-11-15 16:06:30 +08:00
parent 6d2affa15f
commit c7dacfa025
33 changed files with 767 additions and 233 deletions
@@ -346,7 +346,7 @@ func TestDashboardCacheKeyAndSingleflight(t *testing.T) {
StartDate: time.Date(2026, 9, 1, 0, 0, 0, 0, time.UTC),
EndDate: time.Date(2026, 9, 7, 0, 0, 0, 0, time.UTC),
}
key := repo.dashboardCacheKey(q)
key := repo.dashboardCacheKey(t.Context(), q)
if key == "" {
t.Fatal("cache key should not be empty")
}