@be-link/ecommerce-client-backend-service-node-sdk 0.1.16 → 0.1.17
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.
|
@@ -13,7 +13,7 @@ declare class DataServiceClass extends BaseService implements DataService.BaseCo
|
|
|
13
13
|
/** 直播间商品销量排行查询 */
|
|
14
14
|
getLiveStreamProductTop(request: DataService.Request.LiveStreamProductTop): Promise<DataService.Response.LiveStreamProductTop>;
|
|
15
15
|
/** 观众导出数据 */
|
|
16
|
-
audienceExport(): Promise<DataService.Response.AudienceExport>;
|
|
16
|
+
audienceExport(request: DataService.Request.AudienceList): Promise<DataService.Response.AudienceExport>;
|
|
17
17
|
}
|
|
18
18
|
export declare const dataService: DataServiceClass;
|
|
19
19
|
export default dataService;
|
package/modules/data/service.js
CHANGED
|
@@ -46,8 +46,8 @@ let DataServiceClass = class DataServiceClass extends BaseService_1.default {
|
|
|
46
46
|
return (0, http_1.callApi)(this.getApiUrl(this.getLiveStreamProductTop), request);
|
|
47
47
|
}
|
|
48
48
|
/** 观众导出数据 */
|
|
49
|
-
audienceExport() {
|
|
50
|
-
return (0, http_1.callApi)(this.getApiUrl(this.audienceExport),
|
|
49
|
+
audienceExport(request) {
|
|
50
|
+
return (0, http_1.callApi)(this.getApiUrl(this.audienceExport), request);
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
__decorate([
|
|
@@ -87,7 +87,8 @@ __decorate([
|
|
|
87
87
|
], DataServiceClass.prototype, "getLiveStreamProductTop", null);
|
|
88
88
|
__decorate([
|
|
89
89
|
(0, tsoa_1.OperationId)('观众导出数据'),
|
|
90
|
-
(0, tsoa_1.Post)('audience-export')
|
|
90
|
+
(0, tsoa_1.Post)('audience-export'),
|
|
91
|
+
__param(0, (0, tsoa_1.Body)())
|
|
91
92
|
], DataServiceClass.prototype, "audienceExport", null);
|
|
92
93
|
DataServiceClass = __decorate([
|
|
93
94
|
(0, tsoa_1.Route)('data'),
|