feat(tenant): 按租户隔离支付退款与商户配置
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user