@wrcb/cb-common 1.0.704 → 1.0.706
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7,7 +7,7 @@ export declare class RedisService {
|
|
|
7
7
|
static withdrawSettingsKey(tenant: Tenant): string;
|
|
8
8
|
static maintenanceSettingsKey(tenant: Tenant): string;
|
|
9
9
|
static userBalanceKey(tenant: Tenant, userId: string): string;
|
|
10
|
-
static
|
|
10
|
+
static sellerProductDataKey(tenant: Tenant, productId: string): string;
|
|
11
11
|
static bannedViewerKey(streamerId: string, viewerId: string): string;
|
|
12
12
|
static promotionByIdKey(tenant: Tenant, promotionId: string): string;
|
|
13
13
|
static sellerProfileKey(tenant: Tenant, sellerId: string): string;
|
|
@@ -23,8 +23,8 @@ class RedisService {
|
|
|
23
23
|
static userBalanceKey(tenant, userId) {
|
|
24
24
|
return tenant + ':' + userId + ':balance';
|
|
25
25
|
}
|
|
26
|
-
static
|
|
27
|
-
return tenant + ':' + productId + ':product:data';
|
|
26
|
+
static sellerProductDataKey(tenant, productId) {
|
|
27
|
+
return tenant + ':' + productId + 'seller:product:data';
|
|
28
28
|
}
|
|
29
29
|
static bannedViewerKey(streamerId, viewerId) {
|
|
30
30
|
return `banned:${streamerId}:${viewerId}`;
|