@be-link/ecommerce-client-backend-service-node-sdk 0.1.95 → 0.1.96
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.
|
@@ -11,6 +11,7 @@ declare class RoomServiceClass extends BaseService implements RoomService.BaseCo
|
|
|
11
11
|
getShareCover(request: RoomService.Request.GetShareCover): Promise<RoomService.Response.GetShareCover>;
|
|
12
12
|
settle(request: RoomService.Request.settle): Promise<RoomService.Response.settle>;
|
|
13
13
|
roomStatus(request: RoomService.Request.RoomStatus): Promise<RoomService.Response.RoomStatus>;
|
|
14
|
+
listQuickCommentContent(request: RoomService.Request.ListQuickCommentContent): Promise<RoomService.Response.ListQuickCommentContent>;
|
|
14
15
|
getBindStore(request: RoomService.Request.GetBindStore): Promise<RoomService.Response.GetBindStore>;
|
|
15
16
|
bindStore(request: RoomService.Request.BindStore): Promise<void>;
|
|
16
17
|
/** 根据门店绑定关系查询直播间列表 */
|
package/modules/room/service.js
CHANGED
|
@@ -45,6 +45,9 @@ let RoomServiceClass = class RoomServiceClass extends BaseService_1.default {
|
|
|
45
45
|
roomStatus(request) {
|
|
46
46
|
return (0, http_1.callApi)(this.getApiUrl(this.roomStatus), request);
|
|
47
47
|
}
|
|
48
|
+
listQuickCommentContent(request) {
|
|
49
|
+
return (0, http_1.callApi)(this.getApiUrl(this.listQuickCommentContent), request);
|
|
50
|
+
}
|
|
48
51
|
getBindStore(request) {
|
|
49
52
|
return (0, http_1.callApi)(this.getApiUrl(this.getBindStore), request);
|
|
50
53
|
}
|
|
@@ -122,6 +125,11 @@ __decorate([
|
|
|
122
125
|
(0, tsoa_1.Post)('room-status'),
|
|
123
126
|
__param(0, (0, tsoa_1.Body)())
|
|
124
127
|
], RoomServiceClass.prototype, "roomStatus", null);
|
|
128
|
+
__decorate([
|
|
129
|
+
(0, tsoa_1.OperationId)('获取直播间快捷评论内容'),
|
|
130
|
+
(0, tsoa_1.Post)('list-quick-comment-content'),
|
|
131
|
+
__param(0, (0, tsoa_1.Body)())
|
|
132
|
+
], RoomServiceClass.prototype, "listQuickCommentContent", null);
|
|
125
133
|
__decorate([
|
|
126
134
|
(0, tsoa_1.OperationId)('绑定门店列表查询'),
|
|
127
135
|
(0, tsoa_1.Post)('get-bind-store'),
|
package/modules/room/types.d.ts
CHANGED
|
@@ -54,6 +54,13 @@ export declare namespace RoomService {
|
|
|
54
54
|
interface RoomStatus {
|
|
55
55
|
id: string;
|
|
56
56
|
}
|
|
57
|
+
/**
|
|
58
|
+
* 获取直播间快捷评论内容
|
|
59
|
+
*/
|
|
60
|
+
interface ListQuickCommentContent {
|
|
61
|
+
/** 直播间ID */
|
|
62
|
+
liveStreamRoomId: string;
|
|
63
|
+
}
|
|
57
64
|
/**
|
|
58
65
|
* 绑定门店列表查询
|
|
59
66
|
*/
|
|
@@ -236,6 +243,12 @@ export declare namespace RoomService {
|
|
|
236
243
|
id: string;
|
|
237
244
|
status: ENUM.ROOM.STATUS;
|
|
238
245
|
}
|
|
246
|
+
/**
|
|
247
|
+
* 直播间快捷评论内容
|
|
248
|
+
*/
|
|
249
|
+
interface ListQuickCommentContent {
|
|
250
|
+
quickComments: string[];
|
|
251
|
+
}
|
|
239
252
|
/**
|
|
240
253
|
* 绑定门店列表响应
|
|
241
254
|
*/
|
|
@@ -369,6 +382,7 @@ export declare namespace RoomService {
|
|
|
369
382
|
uploadShareCover(request: Request.UploadShareCover, req?: FastifyRequest): Promise<Response.UploadShareCover>;
|
|
370
383
|
settle(request: Request.settle, req?: FastifyRequest): Promise<Response.settle>;
|
|
371
384
|
roomStatus(request: Request.RoomStatus, req?: FastifyRequest): Promise<Response.RoomStatus>;
|
|
385
|
+
listQuickCommentContent(request: Request.ListQuickCommentContent, req?: FastifyRequest): Promise<Response.ListQuickCommentContent>;
|
|
372
386
|
getBindStore(request: Request.GetBindStore, req?: FastifyRequest): Promise<Response.GetBindStore>;
|
|
373
387
|
bindStore(request: Request.BindStore, req?: FastifyRequest): Promise<void>;
|
|
374
388
|
/**
|