@be-link/cs-cli-nodejs 0.0.126 → 0.0.128
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.
|
@@ -35,20 +35,15 @@ export declare namespace QueryByItem {
|
|
|
35
35
|
interface QueryCenterForItem {
|
|
36
36
|
/** 搜索条件 */
|
|
37
37
|
condition?: {
|
|
38
|
-
/** 商品关键字 */
|
|
39
|
-
keyword?: string;
|
|
40
38
|
/** 商品维度条件 */
|
|
41
39
|
itemInfo?: {
|
|
40
|
+
idList?: string[];
|
|
41
|
+
name?: string;
|
|
42
42
|
/** 二级类目列表 */
|
|
43
43
|
categoryTwoList?: string[];
|
|
44
|
-
/**
|
|
45
|
-
|
|
46
|
-
/** 是否需要下架商品 */
|
|
47
|
-
needOffSale?: boolean;
|
|
44
|
+
/** 状态 */
|
|
45
|
+
status?: CommodityEnums.ItemStatus;
|
|
48
46
|
isOnlyStaffCanSee?: boolean;
|
|
49
|
-
isPrivateInfo?: boolean;
|
|
50
|
-
idList?: string[];
|
|
51
|
-
minItemSalePrice?: number;
|
|
52
47
|
/** 每日可售卖的最大份数限制 */
|
|
53
48
|
isSetMaxSaleCountLimitPerDay?: boolean;
|
|
54
49
|
/** 是否会员商品 */
|
|
@@ -66,33 +61,22 @@ export declare namespace QueryByItem {
|
|
|
66
61
|
city?: string;
|
|
67
62
|
/** 行政区. 查询全部则不传 */
|
|
68
63
|
district?: string;
|
|
64
|
+
/** 具体名称 */
|
|
65
|
+
address?: string;
|
|
69
66
|
};
|
|
70
67
|
/** 相对人民广场的距离. eg. [[0, 50], [250, 300]] */
|
|
71
|
-
distance?: Array<number[]>;
|
|
72
68
|
/** 钻级 */
|
|
73
|
-
diamond?: number[];
|
|
74
69
|
/** 星级 */
|
|
75
|
-
star?: number[];
|
|
76
70
|
/** 门店设施 */
|
|
77
|
-
|
|
78
|
-
/** 门店IdList */
|
|
71
|
+
/** 供应商ID列表 */
|
|
79
72
|
idList?: string[];
|
|
73
|
+
isStoreCollaborated: boolean;
|
|
80
74
|
};
|
|
81
|
-
/** 商品标签条件 */
|
|
82
|
-
itemTags?: number[];
|
|
83
|
-
/** 是否是会员价商品 */
|
|
84
|
-
isMemberPrice?: boolean;
|
|
85
75
|
};
|
|
86
76
|
/** 排序条件 */
|
|
87
77
|
sort?: {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
/** 售卖价 */
|
|
91
|
-
saleCount?: 'DESC' | 'ASC';
|
|
92
|
-
/** id */
|
|
93
|
-
id?: 'DESC' | 'ASC';
|
|
94
|
-
/** 农家乐 - 门店是否已合作 */
|
|
95
|
-
isStoreCollaborated?: 'DESC' | 'ASC';
|
|
78
|
+
createdAt: 'DESC' | 'ASC';
|
|
79
|
+
updatedAt: 'DESC' | 'ASC';
|
|
96
80
|
};
|
|
97
81
|
/** 页码. 从0起始, 默认0 */
|
|
98
82
|
pageIndex?: number;
|
|
@@ -113,10 +97,11 @@ export declare namespace QueryByItem {
|
|
|
113
97
|
saleCount: number;
|
|
114
98
|
sortType: CommodityEnums.CommodityBizTagSortType;
|
|
115
99
|
}
|
|
116
|
-
interface
|
|
100
|
+
interface QueryCenterForItemItem {
|
|
117
101
|
id: string;
|
|
118
102
|
isNewItem: boolean;
|
|
119
103
|
}
|
|
104
|
+
type QueryCenterForItem = QueryCenterForItemItem[];
|
|
120
105
|
}
|
|
121
106
|
interface Controller {
|
|
122
107
|
get<K extends (keyof GDto.QueryBlockDataMap)[]>(request: Request.IGet<K>): Promise<GDto.QueryDataRes<K>>;
|
|
@@ -1,12 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.QueryByItem = void 0;
|
|
4
|
-
var QueryByItem;
|
|
5
|
-
(function (QueryByItem) {
|
|
6
|
-
let Response;
|
|
7
|
-
(function (Response) {
|
|
8
|
-
;
|
|
9
|
-
[];
|
|
10
|
-
})(Response = QueryByItem.Response || (QueryByItem.Response = {}));
|
|
11
|
-
})(QueryByItem || (exports.QueryByItem = QueryByItem = {}));
|
|
12
3
|
//# sourceMappingURL=type.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../src/cs/modules/itemQuery/byItem/type.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../src/cs/modules/itemQuery/byItem/type.ts"],"names":[],"mappings":""}
|