@be-link/pos-cli-nodejs 0.0.56 → 0.0.59
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/package.json
CHANGED
|
@@ -14,6 +14,7 @@ declare class QueryByCommodityService extends BaseService implements Service.Que
|
|
|
14
14
|
queryPeriodTradeOrderList(request: Service.Request.queryPeriodTradeOrderList): Promise<Service.Response.queryPeriodTradeOrderList[]>;
|
|
15
15
|
queryPeriodTradeOrderOperatorList(request: Service.Request.queryPeriodTradeOrderOperatorList): Promise<Service.Response.queryPeriodTradeOrderOperatorList[]>;
|
|
16
16
|
queryRollingSalesStatistics(request: Service.Request.queryRollingSalesStatistics): Promise<Service.Response.queryRollingSalesStatistics[]>;
|
|
17
|
+
queryItemSalesInfoInDays(request: Service.Request.IQueryItemSaleInfoInDays): Promise<Service.Response.IQueryItemSaleInfoInDays[]>;
|
|
17
18
|
}
|
|
18
19
|
declare const queryByCommodityService: QueryByCommodityService;
|
|
19
20
|
export default queryByCommodityService;
|
|
@@ -43,6 +43,9 @@ class QueryByCommodityService extends service_1.default {
|
|
|
43
43
|
queryRollingSalesStatistics(request) {
|
|
44
44
|
return (0, http_1.callApi)(this.getApiUrl(this.queryRollingSalesStatistics), request);
|
|
45
45
|
}
|
|
46
|
+
queryItemSalesInfoInDays(request) {
|
|
47
|
+
return (0, http_1.callApi)(this.getApiUrl(this.queryItemSalesInfoInDays), request);
|
|
48
|
+
}
|
|
46
49
|
}
|
|
47
50
|
const queryByCommodityService = new QueryByCommodityService();
|
|
48
51
|
exports.default = queryByCommodityService;
|
|
@@ -387,6 +387,12 @@ export declare namespace Service {
|
|
|
387
387
|
/** 订单Id */
|
|
388
388
|
orderIdList: string[];
|
|
389
389
|
}
|
|
390
|
+
interface IQueryItemSaleInfoInDays {
|
|
391
|
+
categoryTwoList: string[];
|
|
392
|
+
days: number;
|
|
393
|
+
pageSize?: number;
|
|
394
|
+
pageIndex?: number;
|
|
395
|
+
}
|
|
390
396
|
}
|
|
391
397
|
namespace Response {
|
|
392
398
|
interface mgetUserOrderCountList {
|
|
@@ -487,6 +493,10 @@ export declare namespace Service {
|
|
|
487
493
|
cnt: number;
|
|
488
494
|
fee: number;
|
|
489
495
|
}[];
|
|
496
|
+
interface IQueryItemSaleInfoInDays {
|
|
497
|
+
itemId: string;
|
|
498
|
+
saleCount: number;
|
|
499
|
+
}
|
|
490
500
|
}
|
|
491
501
|
/** 用户维度查询 */
|
|
492
502
|
interface QueryByUserController {
|
|
@@ -632,5 +642,10 @@ export declare namespace Service {
|
|
|
632
642
|
* @path /query/commodity/query-rolling-sales-statistics
|
|
633
643
|
*/
|
|
634
644
|
queryRollingSalesStatistics(request: Request.queryRollingSalesStatistics): Promise<Response.queryRollingSalesStatistics[]>;
|
|
645
|
+
/**
|
|
646
|
+
* 查询近N天的商品售卖信息
|
|
647
|
+
* @path /query/commodity/query-item-sales-info-in-days
|
|
648
|
+
*/
|
|
649
|
+
queryItemSalesInfoInDays(request: Request.IQueryItemSaleInfoInDays): Promise<Response.IQueryItemSaleInfoInDays[]>;
|
|
635
650
|
}
|
|
636
651
|
}
|