@be-link/ecommerce-backend-bff-service-node-sdk 0.0.118 → 0.1.0
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.
- package/cjs/bff/modules/pandora/orderQuery/types.d.ts +4 -9
- package/cjs/bff/modules/pandora/product/types.d.ts +2 -2
- package/cjs/bff/modules/pandora/room/service.d.ts +0 -6
- package/cjs/bff/modules/pandora/room/service.js +0 -8
- package/cjs/bff/modules/pandora/room/types.d.ts +2 -21
- package/cjs/bff/modules/pandora/user/service.d.ts +0 -1
- package/cjs/bff/modules/pandora/user/service.js +0 -3
- package/cjs/bff/modules/pandora/user/types.d.ts +0 -16
- package/cjs/enums.d.ts +0 -6
- package/cjs/enums.js +5 -21
- package/cjs/index.d.ts +12 -41
- package/cjs/index.js +33 -54
- package/cjs/utils/env.js +2 -2
- package/cjs/utils/http.js +1 -1
- package/esm/bff/modules/pandora/orderQuery/types.d.ts +4 -9
- package/esm/bff/modules/pandora/product/types.d.ts +2 -2
- package/esm/bff/modules/pandora/room/service.d.ts +0 -6
- package/esm/bff/modules/pandora/room/service.mjs +0 -8
- package/esm/bff/modules/pandora/room/types.d.ts +2 -21
- package/esm/bff/modules/pandora/user/service.d.ts +0 -1
- package/esm/bff/modules/pandora/user/service.mjs +0 -3
- package/esm/bff/modules/pandora/user/types.d.ts +0 -16
- package/esm/enums.d.ts +0 -6
- package/esm/enums.mjs +0 -10
- package/esm/index.d.ts +12 -41
- package/esm/index.mjs +12 -33
- package/esm/utils/env.mjs +2 -2
- package/esm/utils/http.mjs +1 -1
- package/package.json +9 -11
- package/cjs/bff/modules/pandora/pointRule/service.d.ts +0 -53
- package/cjs/bff/modules/pandora/pointRule/service.js +0 -75
- package/cjs/bff/modules/pandora/pointRule/types.d.ts +0 -38
- package/cjs/bff/modules/pandora/pointRule/types.js +0 -2
- package/cjs/bff/modules/pandora/pointsMall/service.d.ts +0 -47
- package/cjs/bff/modules/pandora/pointsMall/service.js +0 -67
- package/cjs/bff/modules/pandora/pointsMall/types.d.ts +0 -177
- package/cjs/bff/modules/pandora/pointsMall/types.js +0 -2
- package/cjs/bff/modules/pandora/store/service.d.ts +0 -95
- package/cjs/bff/modules/pandora/store/service.js +0 -131
- package/cjs/bff/modules/pandora/store/types.d.ts +0 -879
- package/cjs/bff/modules/pandora/store/types.js +0 -2
- package/cjs/bff/modules/pandora/task/service.d.ts +0 -65
- package/cjs/bff/modules/pandora/task/service.js +0 -91
- package/cjs/bff/modules/pandora/task/types.d.ts +0 -36
- package/cjs/bff/modules/pandora/task/types.js +0 -2
- package/cjs/bff/modules/pandora/taskWatch/service.d.ts +0 -23
- package/cjs/bff/modules/pandora/taskWatch/service.js +0 -35
- package/cjs/bff/modules/pandora/taskWatch/types.d.ts +0 -15
- package/cjs/bff/modules/pandora/taskWatch/types.js +0 -2
- package/cjs/bff/modules/pandora/userManager/service/address.service.d.ts +0 -12
- package/cjs/bff/modules/pandora/userManager/service/address.service.js +0 -32
- package/cjs/bff/modules/pandora/userManager/service/coupon.service.d.ts +0 -11
- package/cjs/bff/modules/pandora/userManager/service/coupon.service.js +0 -29
- package/cjs/bff/modules/pandora/userManager/service/index.d.ts +0 -5
- package/cjs/bff/modules/pandora/userManager/service/index.js +0 -21
- package/cjs/bff/modules/pandora/userManager/service/point.service.d.ts +0 -13
- package/cjs/bff/modules/pandora/userManager/service/point.service.js +0 -35
- package/cjs/bff/modules/pandora/userManager/service/region.service.d.ts +0 -14
- package/cjs/bff/modules/pandora/userManager/service/region.service.js +0 -38
- package/cjs/bff/modules/pandora/userManager/service/user.service.d.ts +0 -12
- package/cjs/bff/modules/pandora/userManager/service/user.service.js +0 -32
- package/cjs/bff/modules/pandora/userManager/types/address.types.d.ts +0 -18
- package/cjs/bff/modules/pandora/userManager/types/address.types.js +0 -6
- package/cjs/bff/modules/pandora/userManager/types/coupon.types.d.ts +0 -17
- package/cjs/bff/modules/pandora/userManager/types/coupon.types.js +0 -6
- package/cjs/bff/modules/pandora/userManager/types/index.d.ts +0 -5
- package/cjs/bff/modules/pandora/userManager/types/index.js +0 -21
- package/cjs/bff/modules/pandora/userManager/types/point.types.d.ts +0 -19
- package/cjs/bff/modules/pandora/userManager/types/point.types.js +0 -6
- package/cjs/bff/modules/pandora/userManager/types/region.types.d.ts +0 -20
- package/cjs/bff/modules/pandora/userManager/types/region.types.js +0 -6
- package/cjs/bff/modules/pandora/userManager/types/user.types.d.ts +0 -18
- package/cjs/bff/modules/pandora/userManager/types/user.types.js +0 -6
- package/esm/bff/modules/pandora/pointRule/service.d.ts +0 -53
- package/esm/bff/modules/pandora/pointRule/service.mjs +0 -68
- package/esm/bff/modules/pandora/pointRule/types.d.ts +0 -38
- package/esm/bff/modules/pandora/pointRule/types.mjs +0 -1
- package/esm/bff/modules/pandora/pointsMall/service.d.ts +0 -47
- package/esm/bff/modules/pandora/pointsMall/service.mjs +0 -60
- package/esm/bff/modules/pandora/pointsMall/types.d.ts +0 -177
- package/esm/bff/modules/pandora/pointsMall/types.mjs +0 -1
- package/esm/bff/modules/pandora/store/service.d.ts +0 -95
- package/esm/bff/modules/pandora/store/service.mjs +0 -124
- package/esm/bff/modules/pandora/store/types.d.ts +0 -879
- package/esm/bff/modules/pandora/store/types.mjs +0 -1
- package/esm/bff/modules/pandora/task/service.d.ts +0 -65
- package/esm/bff/modules/pandora/task/service.mjs +0 -84
- package/esm/bff/modules/pandora/task/types.d.ts +0 -36
- package/esm/bff/modules/pandora/task/types.mjs +0 -1
- package/esm/bff/modules/pandora/taskWatch/service.d.ts +0 -23
- package/esm/bff/modules/pandora/taskWatch/service.mjs +0 -28
- package/esm/bff/modules/pandora/taskWatch/types.d.ts +0 -15
- package/esm/bff/modules/pandora/taskWatch/types.mjs +0 -1
- package/esm/bff/modules/pandora/userManager/service/address.service.d.ts +0 -12
- package/esm/bff/modules/pandora/userManager/service/address.service.mjs +0 -25
- package/esm/bff/modules/pandora/userManager/service/coupon.service.d.ts +0 -11
- package/esm/bff/modules/pandora/userManager/service/coupon.service.mjs +0 -22
- package/esm/bff/modules/pandora/userManager/service/index.d.ts +0 -5
- package/esm/bff/modules/pandora/userManager/service/index.mjs +0 -5
- package/esm/bff/modules/pandora/userManager/service/point.service.d.ts +0 -13
- package/esm/bff/modules/pandora/userManager/service/point.service.mjs +0 -28
- package/esm/bff/modules/pandora/userManager/service/region.service.d.ts +0 -14
- package/esm/bff/modules/pandora/userManager/service/region.service.mjs +0 -31
- package/esm/bff/modules/pandora/userManager/service/user.service.d.ts +0 -12
- package/esm/bff/modules/pandora/userManager/service/user.service.mjs +0 -25
- package/esm/bff/modules/pandora/userManager/types/address.types.d.ts +0 -18
- package/esm/bff/modules/pandora/userManager/types/address.types.mjs +0 -3
- package/esm/bff/modules/pandora/userManager/types/coupon.types.d.ts +0 -17
- package/esm/bff/modules/pandora/userManager/types/coupon.types.mjs +0 -3
- package/esm/bff/modules/pandora/userManager/types/index.d.ts +0 -5
- package/esm/bff/modules/pandora/userManager/types/index.mjs +0 -5
- package/esm/bff/modules/pandora/userManager/types/point.types.d.ts +0 -19
- package/esm/bff/modules/pandora/userManager/types/point.types.mjs +0 -3
- package/esm/bff/modules/pandora/userManager/types/region.types.d.ts +0 -20
- package/esm/bff/modules/pandora/userManager/types/region.types.mjs +0 -3
- package/esm/bff/modules/pandora/userManager/types/user.types.d.ts +0 -18
- package/esm/bff/modules/pandora/userManager/types/user.types.mjs +0 -3
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { POS, ROS, DTO } from '@be-link/ecommerce-trade-service-node-sdk';
|
|
2
|
-
import { StandardResponse } from '../../../../types';
|
|
3
2
|
export declare namespace PandoraOrderQueryService {
|
|
4
3
|
namespace Request {
|
|
5
4
|
type list = POS.PosOrderQueryTypes.ByWeb.Request.IOrderList;
|
|
@@ -14,13 +13,9 @@ export declare namespace PandoraOrderQueryService {
|
|
|
14
13
|
type reverseOrderList = DTO.ReverseQueryResult[];
|
|
15
14
|
}
|
|
16
15
|
interface OrderQueryController {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
/** 获取订单地址 */
|
|
22
|
-
getOrderAddress(request: Request.getOrderAddress): Promise<StandardResponse<Response.getOrderAddress>>;
|
|
23
|
-
/** 逆向订单列表(退款订单) */
|
|
24
|
-
reverseOrderList(request: Request.reverseOrderList): Promise<StandardResponse<Response.reverseOrderList>>;
|
|
16
|
+
list(request: Request.list): any;
|
|
17
|
+
orderDetail(request: Request.orderDetail): any;
|
|
18
|
+
getOrderAddress(request: Request.getOrderAddress): any;
|
|
19
|
+
reverseOrderList(request: Request.reverseOrderList): any;
|
|
25
20
|
}
|
|
26
21
|
}
|
|
@@ -378,8 +378,8 @@ export declare namespace PandoraProductService {
|
|
|
378
378
|
storageMethod: string;
|
|
379
379
|
/** 配货方式 */
|
|
380
380
|
dispatchType: string;
|
|
381
|
-
/**
|
|
382
|
-
purchaseLimit
|
|
381
|
+
/** 限购 */
|
|
382
|
+
purchaseLimit: number;
|
|
383
383
|
/** 价格 */
|
|
384
384
|
price: number;
|
|
385
385
|
/** 库存 */
|
|
@@ -56,10 +56,4 @@ export declare class PandoraRoomService extends BaseService implements Service.B
|
|
|
56
56
|
* @returns Promise,解析为标准响应格式
|
|
57
57
|
*/
|
|
58
58
|
bindStore(request: Service.Request.BindStore): Promise<StandardResponse<void>>;
|
|
59
|
-
/**
|
|
60
|
-
* 根据门店绑定关系查询直播间列表
|
|
61
|
-
* @param request - 请求参数
|
|
62
|
-
* @returns Promise,解析为标准响应格式
|
|
63
|
-
*/
|
|
64
|
-
listByStoreBind(request: Service.Request.ListByStoreBind): Promise<StandardResponse<Service.Response.ListByStoreBind>>;
|
|
65
59
|
}
|
|
@@ -79,13 +79,5 @@ class PandoraRoomService extends BaseService_1.default {
|
|
|
79
79
|
bindStore(request) {
|
|
80
80
|
return this.request(this.bindStore, request);
|
|
81
81
|
}
|
|
82
|
-
/**
|
|
83
|
-
* 根据门店绑定关系查询直播间列表
|
|
84
|
-
* @param request - 请求参数
|
|
85
|
-
* @returns Promise,解析为标准响应格式
|
|
86
|
-
*/
|
|
87
|
-
listByStoreBind(request) {
|
|
88
|
-
return this.request(this.listByStoreBind, request);
|
|
89
|
-
}
|
|
90
82
|
}
|
|
91
83
|
exports.PandoraRoomService = PandoraRoomService;
|
|
@@ -80,17 +80,6 @@ export declare namespace RoomService {
|
|
|
80
80
|
/** 门店ID列表 */
|
|
81
81
|
bind: string[];
|
|
82
82
|
}
|
|
83
|
-
/**
|
|
84
|
-
* 根据门店绑定关系查询直播间列表
|
|
85
|
-
*/
|
|
86
|
-
interface ListByStoreBind {
|
|
87
|
-
/** 门店ID */
|
|
88
|
-
storeId: string;
|
|
89
|
-
/** 页码,从0开始 */
|
|
90
|
-
pageIndex: number;
|
|
91
|
-
/** 每页数量,默认20,最大100 */
|
|
92
|
-
pageSize?: number;
|
|
93
|
-
}
|
|
94
83
|
}
|
|
95
84
|
namespace Response {
|
|
96
85
|
/**
|
|
@@ -145,13 +134,6 @@ export declare namespace RoomService {
|
|
|
145
134
|
/** 门店总数 */
|
|
146
135
|
total: number;
|
|
147
136
|
}
|
|
148
|
-
/**
|
|
149
|
-
* 根据门店绑定关系查询直播间列表响应
|
|
150
|
-
*/
|
|
151
|
-
interface ListByStoreBind {
|
|
152
|
-
list: Room[];
|
|
153
|
-
total: number;
|
|
154
|
-
}
|
|
155
137
|
}
|
|
156
138
|
interface BaseController {
|
|
157
139
|
list(request: Request.List): Promise<StandardResponse<Response.List>>;
|
|
@@ -162,7 +144,6 @@ export declare namespace RoomService {
|
|
|
162
144
|
roomStatus(request: Request.RoomStatus): Promise<StandardResponse<Response.RoomStatus>>;
|
|
163
145
|
getBindStore(request: Request.GetBindStore): Promise<StandardResponse<Response.GetBindStore>>;
|
|
164
146
|
bindStore(request: Request.BindStore): Promise<StandardResponse<void>>;
|
|
165
|
-
listByStoreBind(request: Request.ListByStoreBind): Promise<StandardResponse<Response.ListByStoreBind>>;
|
|
166
147
|
}
|
|
167
148
|
}
|
|
168
149
|
/**
|
|
@@ -244,8 +225,8 @@ export interface RoomBindStore {
|
|
|
244
225
|
address: string;
|
|
245
226
|
/** 门店电话 */
|
|
246
227
|
telephone: string;
|
|
247
|
-
/**
|
|
248
|
-
|
|
228
|
+
/** 绑定标签id,根据是否是空字符串表示是否有分组 */
|
|
229
|
+
tagId: string;
|
|
249
230
|
/** 联系人姓名(店长) */
|
|
250
231
|
storeManagerName: string;
|
|
251
232
|
/** 直播间id,根据id是否为空字符串表示是否绑定了本店 */
|
|
@@ -16,5 +16,4 @@ export declare class PandoraUserService extends BaseService implements Service.U
|
|
|
16
16
|
getUserInfoByRole(): Promise<StandardResponse<Service.Response.getUserInfoByRole>>;
|
|
17
17
|
getUserRolePermissions(request: Service.Request.getUserRolePermissions): Promise<StandardResponse<Service.Response.getUserRolePermissions>>;
|
|
18
18
|
getStoreOptions(request: Service.Request.getStoreOptions): Promise<StandardResponse<Service.Response.getStoreOptions>>;
|
|
19
|
-
getUserNamesByIds(request: Service.Request.getUserNamesByIds): Promise<StandardResponse<Service.Response.getUserNamesByIds>>;
|
|
20
19
|
}
|
|
@@ -39,8 +39,5 @@ class PandoraUserService extends BaseService_1.default {
|
|
|
39
39
|
getStoreOptions(request) {
|
|
40
40
|
return this.request(this.getStoreOptions, request);
|
|
41
41
|
}
|
|
42
|
-
getUserNamesByIds(request) {
|
|
43
|
-
return this.request(this.getUserNamesByIds, request);
|
|
44
|
-
}
|
|
45
42
|
}
|
|
46
43
|
exports.PandoraUserService = PandoraUserService;
|
|
@@ -59,12 +59,6 @@ export declare namespace PandoraUserService {
|
|
|
59
59
|
interface getStoreOptions {
|
|
60
60
|
name?: string;
|
|
61
61
|
}
|
|
62
|
-
/**
|
|
63
|
-
* 批量获取用户名称
|
|
64
|
-
*/
|
|
65
|
-
interface getUserNamesByIds {
|
|
66
|
-
ids: string[];
|
|
67
|
-
}
|
|
68
62
|
}
|
|
69
63
|
namespace Response {
|
|
70
64
|
/**
|
|
@@ -167,15 +161,6 @@ export declare namespace PandoraUserService {
|
|
|
167
161
|
name: string;
|
|
168
162
|
}>;
|
|
169
163
|
}
|
|
170
|
-
/**
|
|
171
|
-
* 批量获取用户名称响应
|
|
172
|
-
*/
|
|
173
|
-
interface getUserNamesByIds {
|
|
174
|
-
users: Array<{
|
|
175
|
-
id: string;
|
|
176
|
-
name: string;
|
|
177
|
-
}>;
|
|
178
|
-
}
|
|
179
164
|
}
|
|
180
165
|
/**
|
|
181
166
|
* User Controller 接口定义
|
|
@@ -189,6 +174,5 @@ export declare namespace PandoraUserService {
|
|
|
189
174
|
getUserInfoByRole(): Promise<StandardResponse<Response.getUserInfoByRole>>;
|
|
190
175
|
getUserRolePermissions(request: Request.getUserRolePermissions): Promise<StandardResponse<Response.getUserRolePermissions>>;
|
|
191
176
|
getStoreOptions(request: Request.getStoreOptions): Promise<StandardResponse<Response.getStoreOptions>>;
|
|
192
|
-
getUserNamesByIds(request: Request.getUserNamesByIds): Promise<StandardResponse<Response.getUserNamesByIds>>;
|
|
193
177
|
}
|
|
194
178
|
}
|
package/cjs/enums.d.ts
CHANGED
|
@@ -3,11 +3,5 @@
|
|
|
3
3
|
* 集中管理所有第三方服务 SDK 的枚举和常量
|
|
4
4
|
*/
|
|
5
5
|
export { ENUM as PRODUCT_SERVICE_ENUM } from '@be-link/ecommerce-product-service-node-sdk/enum';
|
|
6
|
-
export { ENUM as STORE_SERVICE_ENUM } from '@be-link/ecommerce-store-service-node-sdk/enums';
|
|
7
|
-
export { ENUM as PROMOTION_ENUM } from '@be-link/ecommerce-promotion-service-node-sdk/enum';
|
|
8
6
|
export { ENUM as ROOM_SERVICE_ENUM } from '@be-link/ecommerce-client-backend-service-node-sdk/enum';
|
|
9
7
|
export { ENUM as PROMOTION_SERVICE_ENUM } from '@be-link/ecommerce-promotion-service-node-sdk/enum';
|
|
10
|
-
export { ENUM as USER_SERVICE_ENUM } from '@be-link/ecommerce-user-service-node-sdk/enum';
|
|
11
|
-
export { ENUM as TRADE_SERVICE_ENUM } from '@be-link/ecommerce-trade-service-node-sdk/enums';
|
|
12
|
-
export { ENUM as TASK_CENTER_ENUM } from '@be-link/ecommerce-task-center-service-node-sdk/enum';
|
|
13
|
-
export { ENUM as BACKEND_SERVICE_ENUM } from '@be-link/ecommerce-backend-user-service-node-sdk/enum';
|
package/cjs/enums.js
CHANGED
|
@@ -4,29 +4,13 @@
|
|
|
4
4
|
* 集中管理所有第三方服务 SDK 的枚举和常量
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
-
exports.
|
|
7
|
+
exports.PROMOTION_SERVICE_ENUM = exports.ROOM_SERVICE_ENUM = exports.PRODUCT_SERVICE_ENUM = void 0;
|
|
8
8
|
// 商品服务枚举
|
|
9
9
|
var enum_1 = require("@be-link/ecommerce-product-service-node-sdk/enum");
|
|
10
10
|
Object.defineProperty(exports, "PRODUCT_SERVICE_ENUM", { enumerable: true, get: function () { return enum_1.ENUM; } });
|
|
11
|
-
var enums_1 = require("@be-link/ecommerce-store-service-node-sdk/enums");
|
|
12
|
-
Object.defineProperty(exports, "STORE_SERVICE_ENUM", { enumerable: true, get: function () { return enums_1.ENUM; } });
|
|
13
|
-
var enum_2 = require("@be-link/ecommerce-promotion-service-node-sdk/enum");
|
|
14
|
-
Object.defineProperty(exports, "PROMOTION_ENUM", { enumerable: true, get: function () { return enum_2.ENUM; } });
|
|
15
11
|
// 直播间枚举
|
|
16
|
-
var
|
|
17
|
-
Object.defineProperty(exports, "ROOM_SERVICE_ENUM", { enumerable: true, get: function () { return
|
|
12
|
+
var enum_2 = require("@be-link/ecommerce-client-backend-service-node-sdk/enum");
|
|
13
|
+
Object.defineProperty(exports, "ROOM_SERVICE_ENUM", { enumerable: true, get: function () { return enum_2.ENUM; } });
|
|
18
14
|
// 优惠券服务枚举
|
|
19
|
-
var
|
|
20
|
-
Object.defineProperty(exports, "PROMOTION_SERVICE_ENUM", { enumerable: true, get: function () { return
|
|
21
|
-
// 用户服务枚举
|
|
22
|
-
var enum_5 = require("@be-link/ecommerce-user-service-node-sdk/enum");
|
|
23
|
-
Object.defineProperty(exports, "USER_SERVICE_ENUM", { enumerable: true, get: function () { return enum_5.ENUM; } });
|
|
24
|
-
// 交易服务枚举
|
|
25
|
-
var enums_2 = require("@be-link/ecommerce-trade-service-node-sdk/enums");
|
|
26
|
-
Object.defineProperty(exports, "TRADE_SERVICE_ENUM", { enumerable: true, get: function () { return enums_2.ENUM; } });
|
|
27
|
-
// 任务中心服务枚举
|
|
28
|
-
var enum_6 = require("@be-link/ecommerce-task-center-service-node-sdk/enum");
|
|
29
|
-
Object.defineProperty(exports, "TASK_CENTER_ENUM", { enumerable: true, get: function () { return enum_6.ENUM; } });
|
|
30
|
-
// 后台用户枚举
|
|
31
|
-
var enum_7 = require("@be-link/ecommerce-backend-user-service-node-sdk/enum");
|
|
32
|
-
Object.defineProperty(exports, "BACKEND_SERVICE_ENUM", { enumerable: true, get: function () { return enum_7.ENUM; } });
|
|
15
|
+
var enum_3 = require("@be-link/ecommerce-promotion-service-node-sdk/enum");
|
|
16
|
+
Object.defineProperty(exports, "PROMOTION_SERVICE_ENUM", { enumerable: true, get: function () { return enum_3.ENUM; } });
|
package/cjs/index.d.ts
CHANGED
|
@@ -1,34 +1,24 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PandoraExampleService } from './bff/modules/pandora/example/service';
|
|
2
2
|
import { MiniProgramDemoService } from './bff/modules/miniprogram/demo/service';
|
|
3
3
|
import { MiniprogramAuthServiceClass } from './bff/modules/miniprogram/auth/service';
|
|
4
4
|
import { PandoraAuthService } from './bff/modules/pandora/auth/service';
|
|
5
5
|
import { PandoraBDService } from './bff/modules/pandora/bd/service';
|
|
6
6
|
import { PandoraBDMService } from './bff/modules/pandora/bdm/service';
|
|
7
7
|
import { PandoraCommonService } from './bff/modules/pandora/common/service';
|
|
8
|
-
import { PandoraCouponService } from './bff/modules/pandora/coupon/service';
|
|
9
|
-
import { PandoraExampleService } from './bff/modules/pandora/example/service';
|
|
10
|
-
import { PandoraProductService } from './bff/modules/pandora/product/service';
|
|
11
|
-
import { PandoraProductExpService } from './bff/modules/pandora/productExp/service';
|
|
12
|
-
import { PandoraProductLiveService } from './bff/modules/pandora/productLive/service';
|
|
13
8
|
import { PandoraRoleService } from './bff/modules/pandora/role/service';
|
|
14
|
-
import { PandoraRoomService } from './bff/modules/pandora/room/service';
|
|
15
9
|
import { PandoraStoreClerkService } from './bff/modules/pandora/storeClerk/service';
|
|
16
10
|
import { PandoraStoreManagerService } from './bff/modules/pandora/storeManager/service';
|
|
17
11
|
import { PandoraUserService } from './bff/modules/pandora/user/service';
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import { PandoraPointsMallService } from './bff/modules/pandora/pointsMall/service';
|
|
24
|
-
import { PandoraOrderQueryService } from './bff/modules/pandora/orderQuery/service';
|
|
25
|
-
import { PandoraOrderCoreService } from './bff/modules/pandora/orderCore/service';
|
|
26
|
-
import { PandoraTaskService } from './bff/modules/pandora/task/service';
|
|
27
|
-
import { PandoraTaskWatchService } from './bff/modules/pandora/taskWatch/service';
|
|
28
|
-
import { PandoraPointRuleService } from './bff/modules/pandora/pointRule/service';
|
|
12
|
+
import { PandoraProductService } from './bff/modules/pandora/product/service';
|
|
13
|
+
import { PandoraProductExpService } from './bff/modules/pandora/productExp/service';
|
|
14
|
+
import { PandoraProductLiveService } from './bff/modules/pandora/productLive/service';
|
|
15
|
+
import { PandoraCouponService } from './bff/modules/pandora/coupon/service';
|
|
16
|
+
import { PandoraRoomService } from './bff/modules/pandora/room/service';
|
|
29
17
|
import { PandoraAwardService } from './bff/modules/pandora/award/service';
|
|
30
18
|
import { PandoraFranchiseeService } from './bff/modules/pandora/franchisee/service';
|
|
31
19
|
import { MiniprogramFranchiseeService } from './bff/modules/miniprogram/franchisee/service';
|
|
20
|
+
import { PandoraOrderQueryService } from './bff/modules/pandora/orderQuery/service';
|
|
21
|
+
import { PandoraOrderCoreService } from './bff/modules/pandora/orderCore/service';
|
|
32
22
|
import { SdkOptions } from './types';
|
|
33
23
|
/**
|
|
34
24
|
* Pandora 平台 SDK(管理后台)
|
|
@@ -51,34 +41,21 @@ export declare class PandoraSDK {
|
|
|
51
41
|
storeClerk: PandoraStoreClerkService;
|
|
52
42
|
storeManager: PandoraStoreManagerService;
|
|
53
43
|
user: PandoraUserService;
|
|
54
|
-
userManagement: PandoraUserManagementService;
|
|
55
|
-
pointManagement: PandoraPointManagementService;
|
|
56
|
-
couponManagement: PandoraCouponManagementService;
|
|
57
|
-
addressManagement: PandoraAddressManagementService;
|
|
58
|
-
regionManagement: PandoraRegionManagementService;
|
|
59
44
|
product: PandoraProductService;
|
|
60
45
|
productExp: PandoraProductExpService;
|
|
61
46
|
productLive: PandoraProductLiveService;
|
|
62
47
|
coupon: PandoraCouponService;
|
|
63
|
-
pointMall: PandoraPointsMallService;
|
|
64
|
-
/**
|
|
65
|
-
* Pandora 门店服务模块
|
|
66
|
-
*/
|
|
67
|
-
store: PandoraStoreService;
|
|
68
48
|
award: PandoraAwardService;
|
|
69
49
|
/**
|
|
70
50
|
* 直播间模块
|
|
71
51
|
*/
|
|
72
52
|
room: PandoraRoomService;
|
|
73
|
-
orderQuery: PandoraOrderQueryService;
|
|
74
|
-
orderCore: PandoraOrderCoreService;
|
|
75
|
-
task: PandoraTaskService;
|
|
76
|
-
taskWatch: PandoraTaskWatchService;
|
|
77
|
-
pointRule: PandoraPointRuleService;
|
|
78
53
|
/**
|
|
79
54
|
* 加盟商模块
|
|
80
55
|
*/
|
|
81
56
|
franchisee: PandoraFranchiseeService;
|
|
57
|
+
orderQuery: PandoraOrderQueryService;
|
|
58
|
+
orderCore: PandoraOrderCoreService;
|
|
82
59
|
/**
|
|
83
60
|
* 使用配置选项初始化 Pandora SDK
|
|
84
61
|
* @param options - SDK 配置,包含凭证回调函数
|
|
@@ -112,13 +89,12 @@ export declare class MiniProgramSDK {
|
|
|
112
89
|
*/
|
|
113
90
|
constructor(options: SdkOptions);
|
|
114
91
|
}
|
|
115
|
-
export {
|
|
116
|
-
export {
|
|
92
|
+
export { SdkError, BizError, SystemError } from './errors';
|
|
93
|
+
export { SdkOptions, IRequestStrategy, StandardResponse } from './types';
|
|
117
94
|
export * from './enums';
|
|
118
95
|
export { Service as MiniProgramDemoTypes } from './bff/modules/miniprogram/demo/types';
|
|
119
96
|
export { MiniprogramAuthService as MiniprogramAuthServiceTypes } from './bff/modules/miniprogram/auth/types';
|
|
120
97
|
export { Service as PandoraExampleTypes } from './bff/modules/pandora/example/types';
|
|
121
|
-
export { StoreService as PandoraStoreServiceTypes } from './bff/modules/pandora/store/types';
|
|
122
98
|
export { PandoraAuthService as PandoraAuthServiceTypes } from './bff/modules/pandora/auth/types';
|
|
123
99
|
export { PandoraBDService as PandoraBDServiceTypes } from './bff/modules/pandora/bd/types';
|
|
124
100
|
export { PandoraBDMService as PandoraBDMServiceTypes } from './bff/modules/pandora/bdm/types';
|
|
@@ -127,18 +103,13 @@ export { PandoraRoleService as PandoraRoleServiceTypes } from './bff/modules/pan
|
|
|
127
103
|
export { PandoraStoreClerkService as PandoraStoreClerkServiceTypes } from './bff/modules/pandora/storeClerk/types';
|
|
128
104
|
export { PandoraStoreManagerService as PandoraStoreManagerServiceTypes } from './bff/modules/pandora/storeManager/types';
|
|
129
105
|
export { PandoraUserService as PandoraUserServiceTypes } from './bff/modules/pandora/user/types';
|
|
130
|
-
export * from './bff/modules/pandora/userManager/types';
|
|
131
106
|
export { PandoraProductService as PandoraProductServiceTypes } from './bff/modules/pandora/product/types';
|
|
132
107
|
export { PandoraProductExpService as PandoraProductExpServiceTypes } from './bff/modules/pandora/productExp/types';
|
|
133
108
|
export { PandoraProductLiveService as PandoraProductLiveServiceTypes } from './bff/modules/pandora/productLive/types';
|
|
134
109
|
export { PandoraOrderQueryService as PandoraOrderQueryServiceTypes } from './bff/modules/pandora/orderQuery/types';
|
|
135
110
|
export { PandoraOrderCoreService as PandoraOrderCoreServiceTypes } from './bff/modules/pandora/orderCore/types';
|
|
136
|
-
export { PandoraTaskService as PandoraTaskServiceTypes } from './bff/modules/pandora/task/types';
|
|
137
|
-
export { PandoraTaskWatchService as PandoraTaskWatchServiceTypes } from './bff/modules/pandora/taskWatch/types';
|
|
138
|
-
export { PandoraPointRuleService as PandoraPointRuleServiceTypes } from './bff/modules/pandora/pointRule/types';
|
|
139
111
|
export { RoomService as PandoraRoomServiceTypes } from './bff/modules/pandora/room/types';
|
|
140
112
|
export { CouponService as PandoraCouponServiceTypes } from './bff/modules/pandora/coupon/types';
|
|
141
|
-
export { PointMallService as PointMallServiceTypes } from './bff/modules/pandora/pointsMall/types';
|
|
142
113
|
export { AwardService as PandoraAwardServiceTypes } from './bff/modules/pandora/award/types';
|
|
143
114
|
export { PandoraFranchiseeService as PandoraFranchiseeServiceTypes } from './bff/modules/pandora/franchisee/types';
|
|
144
115
|
export { MiniprogramFranchiseeService as MiniprogramFranchiseeServiceTypes } from './bff/modules/miniprogram/franchisee/types';
|
package/cjs/index.js
CHANGED
|
@@ -14,39 +14,29 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.SystemError = exports.
|
|
18
|
-
const
|
|
17
|
+
exports.SystemError = exports.BizError = exports.SdkError = exports.MiniProgramSDK = exports.PandoraSDK = void 0;
|
|
18
|
+
const client_1 = require("./bff/request/client");
|
|
19
|
+
const service_1 = require("./bff/modules/pandora/example/service");
|
|
19
20
|
const service_2 = require("./bff/modules/miniprogram/demo/service");
|
|
20
21
|
const service_3 = require("./bff/modules/miniprogram/auth/service");
|
|
21
22
|
const service_4 = require("./bff/modules/pandora/auth/service");
|
|
22
23
|
const service_5 = require("./bff/modules/pandora/bd/service");
|
|
23
24
|
const service_6 = require("./bff/modules/pandora/bdm/service");
|
|
24
25
|
const service_7 = require("./bff/modules/pandora/common/service");
|
|
25
|
-
const service_8 = require("./bff/modules/pandora/
|
|
26
|
-
const service_9 = require("./bff/modules/pandora/
|
|
27
|
-
const service_10 = require("./bff/modules/pandora/
|
|
28
|
-
const service_11 = require("./bff/modules/pandora/
|
|
29
|
-
const service_12 = require("./bff/modules/pandora/
|
|
30
|
-
const service_13 = require("./bff/modules/pandora/
|
|
31
|
-
const service_14 = require("./bff/modules/pandora/
|
|
32
|
-
const service_15 = require("./bff/modules/pandora/
|
|
33
|
-
const service_16 = require("./bff/modules/pandora/
|
|
34
|
-
const service_17 = require("./bff/modules/pandora/
|
|
35
|
-
const
|
|
36
|
-
const
|
|
37
|
-
const
|
|
38
|
-
const
|
|
39
|
-
const region_service_1 = require("./bff/modules/pandora/userManager/service/region.service");
|
|
40
|
-
const client_1 = require("./bff/request/client");
|
|
41
|
-
const service_18 = require("./bff/modules/pandora/pointsMall/service");
|
|
42
|
-
const service_19 = require("./bff/modules/pandora/orderQuery/service");
|
|
43
|
-
const service_20 = require("./bff/modules/pandora/orderCore/service");
|
|
44
|
-
const service_21 = require("./bff/modules/pandora/task/service");
|
|
45
|
-
const service_22 = require("./bff/modules/pandora/taskWatch/service");
|
|
46
|
-
const service_23 = require("./bff/modules/pandora/pointRule/service");
|
|
47
|
-
const service_24 = require("./bff/modules/pandora/award/service");
|
|
48
|
-
const service_25 = require("./bff/modules/pandora/franchisee/service");
|
|
49
|
-
const service_26 = require("./bff/modules/miniprogram/franchisee/service");
|
|
26
|
+
const service_8 = require("./bff/modules/pandora/role/service");
|
|
27
|
+
const service_9 = require("./bff/modules/pandora/storeClerk/service");
|
|
28
|
+
const service_10 = require("./bff/modules/pandora/storeManager/service");
|
|
29
|
+
const service_11 = require("./bff/modules/pandora/user/service");
|
|
30
|
+
const service_12 = require("./bff/modules/pandora/product/service");
|
|
31
|
+
const service_13 = require("./bff/modules/pandora/productExp/service");
|
|
32
|
+
const service_14 = require("./bff/modules/pandora/productLive/service");
|
|
33
|
+
const service_15 = require("./bff/modules/pandora/coupon/service");
|
|
34
|
+
const service_16 = require("./bff/modules/pandora/room/service");
|
|
35
|
+
const service_17 = require("./bff/modules/pandora/award/service");
|
|
36
|
+
const service_18 = require("./bff/modules/pandora/franchisee/service");
|
|
37
|
+
const service_19 = require("./bff/modules/miniprogram/franchisee/service");
|
|
38
|
+
const service_20 = require("./bff/modules/pandora/orderQuery/service");
|
|
39
|
+
const service_21 = require("./bff/modules/pandora/orderCore/service");
|
|
50
40
|
/**
|
|
51
41
|
* Pandora 平台 SDK(管理后台)
|
|
52
42
|
* 包含所有 Pandora 平台相关的服务
|
|
@@ -60,34 +50,24 @@ class PandoraSDK {
|
|
|
60
50
|
// 使用提供的选项初始化 HttpClient
|
|
61
51
|
this.http = new client_1.HttpClient(options);
|
|
62
52
|
// 使用 HttpClient 实例化所有 Pandora 服务模块
|
|
63
|
-
this.example = new
|
|
53
|
+
this.example = new service_1.PandoraExampleService(this.http);
|
|
64
54
|
this.auth = new service_4.PandoraAuthService(this.http);
|
|
65
55
|
this.bd = new service_5.PandoraBDService(this.http);
|
|
66
56
|
this.bdm = new service_6.PandoraBDMService(this.http);
|
|
67
57
|
this.common = new service_7.PandoraCommonService(this.http);
|
|
68
|
-
this.role = new
|
|
69
|
-
this.storeClerk = new
|
|
70
|
-
this.storeManager = new
|
|
71
|
-
this.user = new
|
|
72
|
-
this.product = new
|
|
73
|
-
this.productExp = new
|
|
74
|
-
this.productLive = new
|
|
75
|
-
this.
|
|
76
|
-
this.
|
|
77
|
-
this.
|
|
78
|
-
this.
|
|
79
|
-
this.
|
|
80
|
-
this.
|
|
81
|
-
this.addressManagement = new address_service_1.PandoraAddressManagementService(this.http);
|
|
82
|
-
this.regionManagement = new region_service_1.PandoraRegionManagementService(this.http);
|
|
83
|
-
this.pointMall = new service_18.PandoraPointsMallService(this.http);
|
|
84
|
-
this.orderQuery = new service_19.PandoraOrderQueryService(this.http);
|
|
85
|
-
this.orderCore = new service_20.PandoraOrderCoreService(this.http);
|
|
86
|
-
this.task = new service_21.PandoraTaskService(this.http);
|
|
87
|
-
this.taskWatch = new service_22.PandoraTaskWatchService(this.http);
|
|
88
|
-
this.pointRule = new service_23.PandoraPointRuleService(this.http);
|
|
89
|
-
this.award = new service_24.PandoraAwardService(this.http);
|
|
90
|
-
this.franchisee = new service_25.PandoraFranchiseeService(this.http);
|
|
58
|
+
this.role = new service_8.PandoraRoleService(this.http);
|
|
59
|
+
this.storeClerk = new service_9.PandoraStoreClerkService(this.http);
|
|
60
|
+
this.storeManager = new service_10.PandoraStoreManagerService(this.http);
|
|
61
|
+
this.user = new service_11.PandoraUserService(this.http);
|
|
62
|
+
this.product = new service_12.PandoraProductService(this.http);
|
|
63
|
+
this.productExp = new service_13.PandoraProductExpService(this.http);
|
|
64
|
+
this.productLive = new service_14.PandoraProductLiveService(this.http);
|
|
65
|
+
this.room = new service_16.PandoraRoomService(this.http);
|
|
66
|
+
this.coupon = new service_15.PandoraCouponService(this.http);
|
|
67
|
+
this.award = new service_17.PandoraAwardService(this.http);
|
|
68
|
+
this.franchisee = new service_18.PandoraFranchiseeService(this.http);
|
|
69
|
+
this.orderQuery = new service_20.PandoraOrderQueryService(this.http);
|
|
70
|
+
this.orderCore = new service_21.PandoraOrderCoreService(this.http);
|
|
91
71
|
}
|
|
92
72
|
}
|
|
93
73
|
exports.PandoraSDK = PandoraSDK;
|
|
@@ -106,16 +86,15 @@ class MiniProgramSDK {
|
|
|
106
86
|
// 使用 HttpClient 实例化所有小程序服务模块
|
|
107
87
|
this.demo = new service_2.MiniProgramDemoService(this.http);
|
|
108
88
|
this.auth = new service_3.MiniprogramAuthServiceClass(this.http);
|
|
109
|
-
this.franchisee = new
|
|
89
|
+
this.franchisee = new service_19.MiniprogramFranchiseeService(this.http);
|
|
110
90
|
}
|
|
111
91
|
}
|
|
112
92
|
exports.MiniProgramSDK = MiniProgramSDK;
|
|
113
93
|
// ==================== 导出 ====================
|
|
114
94
|
// 错误类
|
|
115
95
|
var errors_1 = require("./errors");
|
|
116
|
-
Object.defineProperty(exports, "BizError", { enumerable: true, get: function () { return errors_1.BizError; } });
|
|
117
96
|
Object.defineProperty(exports, "SdkError", { enumerable: true, get: function () { return errors_1.SdkError; } });
|
|
97
|
+
Object.defineProperty(exports, "BizError", { enumerable: true, get: function () { return errors_1.BizError; } });
|
|
118
98
|
Object.defineProperty(exports, "SystemError", { enumerable: true, get: function () { return errors_1.SystemError; } });
|
|
119
99
|
// 枚举和常量
|
|
120
100
|
__exportStar(require("./enums"), exports);
|
|
121
|
-
__exportStar(require("./bff/modules/pandora/userManager/types"), exports);
|
package/cjs/utils/env.js
CHANGED
|
@@ -21,8 +21,8 @@ function getContainerHost(environment) {
|
|
|
21
21
|
// 生产环境和测试环境使用不同的主机地址
|
|
22
22
|
// TODO 生产url
|
|
23
23
|
return environment === 'production'
|
|
24
|
-
? '
|
|
25
|
-
: 'https://
|
|
24
|
+
? '' // 生产环境
|
|
25
|
+
: 'https://ecommerce-dev.wejourney.top/b-bff'; // 测试环境
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* 根据环境获取微信云环境标识符
|
package/cjs/utils/http.js
CHANGED
|
@@ -31,7 +31,7 @@ async function callApi(url, request) {
|
|
|
31
31
|
console.error(`ecommerce-backend-bff-service 异常: ${axiosError.message},requestId: ${requestId}`);
|
|
32
32
|
console.info('响应信息', data.message);
|
|
33
33
|
console.error('异常堆栈', JSON.stringify(error.stack));
|
|
34
|
-
throw
|
|
34
|
+
throw error;
|
|
35
35
|
}
|
|
36
36
|
console.error(`ecommerce-backend-bff-service 未知异常: ${axiosError.message}`, error.stack);
|
|
37
37
|
throw error;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { POS, ROS, DTO } from '@be-link/ecommerce-trade-service-node-sdk';
|
|
2
|
-
import { StandardResponse } from '../../../../types';
|
|
3
2
|
export declare namespace PandoraOrderQueryService {
|
|
4
3
|
namespace Request {
|
|
5
4
|
type list = POS.PosOrderQueryTypes.ByWeb.Request.IOrderList;
|
|
@@ -14,13 +13,9 @@ export declare namespace PandoraOrderQueryService {
|
|
|
14
13
|
type reverseOrderList = DTO.ReverseQueryResult[];
|
|
15
14
|
}
|
|
16
15
|
interface OrderQueryController {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
/** 获取订单地址 */
|
|
22
|
-
getOrderAddress(request: Request.getOrderAddress): Promise<StandardResponse<Response.getOrderAddress>>;
|
|
23
|
-
/** 逆向订单列表(退款订单) */
|
|
24
|
-
reverseOrderList(request: Request.reverseOrderList): Promise<StandardResponse<Response.reverseOrderList>>;
|
|
16
|
+
list(request: Request.list): any;
|
|
17
|
+
orderDetail(request: Request.orderDetail): any;
|
|
18
|
+
getOrderAddress(request: Request.getOrderAddress): any;
|
|
19
|
+
reverseOrderList(request: Request.reverseOrderList): any;
|
|
25
20
|
}
|
|
26
21
|
}
|
|
@@ -378,8 +378,8 @@ export declare namespace PandoraProductService {
|
|
|
378
378
|
storageMethod: string;
|
|
379
379
|
/** 配货方式 */
|
|
380
380
|
dispatchType: string;
|
|
381
|
-
/**
|
|
382
|
-
purchaseLimit
|
|
381
|
+
/** 限购 */
|
|
382
|
+
purchaseLimit: number;
|
|
383
383
|
/** 价格 */
|
|
384
384
|
price: number;
|
|
385
385
|
/** 库存 */
|
|
@@ -56,10 +56,4 @@ export declare class PandoraRoomService extends BaseService implements Service.B
|
|
|
56
56
|
* @returns Promise,解析为标准响应格式
|
|
57
57
|
*/
|
|
58
58
|
bindStore(request: Service.Request.BindStore): Promise<StandardResponse<void>>;
|
|
59
|
-
/**
|
|
60
|
-
* 根据门店绑定关系查询直播间列表
|
|
61
|
-
* @param request - 请求参数
|
|
62
|
-
* @returns Promise,解析为标准响应格式
|
|
63
|
-
*/
|
|
64
|
-
listByStoreBind(request: Service.Request.ListByStoreBind): Promise<StandardResponse<Service.Response.ListByStoreBind>>;
|
|
65
59
|
}
|
|
@@ -73,12 +73,4 @@ export class PandoraRoomService extends BaseService {
|
|
|
73
73
|
bindStore(request) {
|
|
74
74
|
return this.request(this.bindStore, request);
|
|
75
75
|
}
|
|
76
|
-
/**
|
|
77
|
-
* 根据门店绑定关系查询直播间列表
|
|
78
|
-
* @param request - 请求参数
|
|
79
|
-
* @returns Promise,解析为标准响应格式
|
|
80
|
-
*/
|
|
81
|
-
listByStoreBind(request) {
|
|
82
|
-
return this.request(this.listByStoreBind, request);
|
|
83
|
-
}
|
|
84
76
|
}
|
|
@@ -80,17 +80,6 @@ export declare namespace RoomService {
|
|
|
80
80
|
/** 门店ID列表 */
|
|
81
81
|
bind: string[];
|
|
82
82
|
}
|
|
83
|
-
/**
|
|
84
|
-
* 根据门店绑定关系查询直播间列表
|
|
85
|
-
*/
|
|
86
|
-
interface ListByStoreBind {
|
|
87
|
-
/** 门店ID */
|
|
88
|
-
storeId: string;
|
|
89
|
-
/** 页码,从0开始 */
|
|
90
|
-
pageIndex: number;
|
|
91
|
-
/** 每页数量,默认20,最大100 */
|
|
92
|
-
pageSize?: number;
|
|
93
|
-
}
|
|
94
83
|
}
|
|
95
84
|
namespace Response {
|
|
96
85
|
/**
|
|
@@ -145,13 +134,6 @@ export declare namespace RoomService {
|
|
|
145
134
|
/** 门店总数 */
|
|
146
135
|
total: number;
|
|
147
136
|
}
|
|
148
|
-
/**
|
|
149
|
-
* 根据门店绑定关系查询直播间列表响应
|
|
150
|
-
*/
|
|
151
|
-
interface ListByStoreBind {
|
|
152
|
-
list: Room[];
|
|
153
|
-
total: number;
|
|
154
|
-
}
|
|
155
137
|
}
|
|
156
138
|
interface BaseController {
|
|
157
139
|
list(request: Request.List): Promise<StandardResponse<Response.List>>;
|
|
@@ -162,7 +144,6 @@ export declare namespace RoomService {
|
|
|
162
144
|
roomStatus(request: Request.RoomStatus): Promise<StandardResponse<Response.RoomStatus>>;
|
|
163
145
|
getBindStore(request: Request.GetBindStore): Promise<StandardResponse<Response.GetBindStore>>;
|
|
164
146
|
bindStore(request: Request.BindStore): Promise<StandardResponse<void>>;
|
|
165
|
-
listByStoreBind(request: Request.ListByStoreBind): Promise<StandardResponse<Response.ListByStoreBind>>;
|
|
166
147
|
}
|
|
167
148
|
}
|
|
168
149
|
/**
|
|
@@ -244,8 +225,8 @@ export interface RoomBindStore {
|
|
|
244
225
|
address: string;
|
|
245
226
|
/** 门店电话 */
|
|
246
227
|
telephone: string;
|
|
247
|
-
/**
|
|
248
|
-
|
|
228
|
+
/** 绑定标签id,根据是否是空字符串表示是否有分组 */
|
|
229
|
+
tagId: string;
|
|
249
230
|
/** 联系人姓名(店长) */
|
|
250
231
|
storeManagerName: string;
|
|
251
232
|
/** 直播间id,根据id是否为空字符串表示是否绑定了本店 */
|
|
@@ -16,5 +16,4 @@ export declare class PandoraUserService extends BaseService implements Service.U
|
|
|
16
16
|
getUserInfoByRole(): Promise<StandardResponse<Service.Response.getUserInfoByRole>>;
|
|
17
17
|
getUserRolePermissions(request: Service.Request.getUserRolePermissions): Promise<StandardResponse<Service.Response.getUserRolePermissions>>;
|
|
18
18
|
getStoreOptions(request: Service.Request.getStoreOptions): Promise<StandardResponse<Service.Response.getStoreOptions>>;
|
|
19
|
-
getUserNamesByIds(request: Service.Request.getUserNamesByIds): Promise<StandardResponse<Service.Response.getUserNamesByIds>>;
|
|
20
19
|
}
|