@be-link/ecommerce-product-service-node-sdk 0.1.36 → 0.1.38
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.
|
@@ -15,7 +15,7 @@ export declare namespace ProductService {
|
|
|
15
15
|
供应商: string;
|
|
16
16
|
产品经理: string;
|
|
17
17
|
直播分组: string;
|
|
18
|
-
|
|
18
|
+
商品上下架状态: string;
|
|
19
19
|
起售数量: number;
|
|
20
20
|
限购数量: number | string;
|
|
21
21
|
商品类型: string;
|
|
@@ -23,6 +23,7 @@ export declare namespace ProductService {
|
|
|
23
23
|
规格明细: string;
|
|
24
24
|
/** SKU ID(需求 163 新增) */
|
|
25
25
|
'SKU ID': string;
|
|
26
|
+
SKU上下架状态: string;
|
|
26
27
|
规格编码: string;
|
|
27
28
|
库存: number;
|
|
28
29
|
划线价: number;
|
|
@@ -490,6 +491,8 @@ export declare namespace ProductService {
|
|
|
490
491
|
pickType?: string;
|
|
491
492
|
/** 商品图片列表 */
|
|
492
493
|
imgList?: string[];
|
|
494
|
+
/** 是否套餐 */
|
|
495
|
+
isCombo?: number;
|
|
493
496
|
}[];
|
|
494
497
|
}
|
|
495
498
|
interface queryProductSkuList {
|
|
@@ -531,6 +534,8 @@ export declare namespace ProductService {
|
|
|
531
534
|
pickType?: string;
|
|
532
535
|
/** 商品图片列表 */
|
|
533
536
|
imgList?: string[];
|
|
537
|
+
/** 是否套餐 */
|
|
538
|
+
isCombo?: number;
|
|
534
539
|
}[];
|
|
535
540
|
}
|
|
536
541
|
interface querySkuBaseInfo extends Partial<SkuField> {
|
|
@@ -2,6 +2,7 @@ import { ProductExpService as Service } from './types';
|
|
|
2
2
|
import BaseService from '../BaseService';
|
|
3
3
|
declare class ProductExpService extends BaseService implements Service.ProductExpController {
|
|
4
4
|
protected prefixUrl: string;
|
|
5
|
+
queryPurePointsSalesTopList(request: Service.Request.queryPurePointsSalesTopList): Promise<Service.Response.queryPurePointsSalesTopList>;
|
|
5
6
|
getSupplierList(request: Service.Request.getSupplierList): Promise<Service.Response.getSupplierList>;
|
|
6
7
|
addSupplier(request: Service.Request.addSupplier): Promise<Service.Response.addSupplier>;
|
|
7
8
|
getLiveGroupList(request: Service.Request.getLiveGroupList): Promise<Service.Response.getLiveGroupList>;
|
|
@@ -21,6 +21,9 @@ let ProductExpService = class ProductExpService extends BaseService_1.default {
|
|
|
21
21
|
super(...arguments);
|
|
22
22
|
this.prefixUrl = '/product-exp';
|
|
23
23
|
}
|
|
24
|
+
queryPurePointsSalesTopList(request) {
|
|
25
|
+
return (0, http_1.callApi)(this.getApiUrl(this.queryPurePointsSalesTopList), request);
|
|
26
|
+
}
|
|
24
27
|
getSupplierList(request) {
|
|
25
28
|
return (0, http_1.callApi)(this.getApiUrl(this.getSupplierList), request);
|
|
26
29
|
}
|
|
@@ -58,6 +61,11 @@ let ProductExpService = class ProductExpService extends BaseService_1.default {
|
|
|
58
61
|
return (0, http_1.callApi)(this.getApiUrl(this.queryProductExpList), request);
|
|
59
62
|
}
|
|
60
63
|
};
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, tsoa_1.OperationId)('查询积分商城纯积分兑换销量 Top10'),
|
|
66
|
+
(0, tsoa_1.Post)('query-pure-points-sales-top-list'),
|
|
67
|
+
__param(0, (0, tsoa_1.Body)())
|
|
68
|
+
], ProductExpService.prototype, "queryPurePointsSalesTopList", null);
|
|
61
69
|
__decorate([
|
|
62
70
|
(0, tsoa_1.OperationId)('获取供应商列表'),
|
|
63
71
|
(0, tsoa_1.Post)('get-supplier-list'),
|
|
@@ -37,6 +37,9 @@ export declare namespace ProductExpService {
|
|
|
37
37
|
categoryName: string;
|
|
38
38
|
}
|
|
39
39
|
namespace Request {
|
|
40
|
+
/** 查询积分商城纯积分兑换销量 Top10 */
|
|
41
|
+
interface queryPurePointsSalesTopList {
|
|
42
|
+
}
|
|
40
43
|
interface getSupplierList {
|
|
41
44
|
/** 页码,0开始 */
|
|
42
45
|
pageIndex: number;
|
|
@@ -120,6 +123,19 @@ export declare namespace ProductExpService {
|
|
|
120
123
|
}
|
|
121
124
|
}
|
|
122
125
|
namespace Response {
|
|
126
|
+
/** 查询积分商城纯积分兑换销量 Top10 响应 */
|
|
127
|
+
interface queryPurePointsSalesTopList {
|
|
128
|
+
list: {
|
|
129
|
+
/** 商品ID */
|
|
130
|
+
productId: string;
|
|
131
|
+
/** 商品名称 */
|
|
132
|
+
productName: string;
|
|
133
|
+
/** 商品图片 */
|
|
134
|
+
productImage: string;
|
|
135
|
+
/** 销量 */
|
|
136
|
+
salesQuantity: number;
|
|
137
|
+
}[];
|
|
138
|
+
}
|
|
123
139
|
interface addSupplier {
|
|
124
140
|
/** 供应商Id */
|
|
125
141
|
supplierId: string;
|
|
@@ -224,6 +240,10 @@ export declare namespace ProductExpService {
|
|
|
224
240
|
* ProductLive Controller 接口定义
|
|
225
241
|
*/
|
|
226
242
|
interface ProductExpController {
|
|
243
|
+
/**
|
|
244
|
+
* 查询积分商城纯积分兑换销量 Top10
|
|
245
|
+
*/
|
|
246
|
+
queryPurePointsSalesTopList(request: ProductExpService.Request.queryPurePointsSalesTopList): Promise<ProductExpService.Response.queryPurePointsSalesTopList>;
|
|
227
247
|
/**
|
|
228
248
|
* 获取供应商列表
|
|
229
249
|
*/
|