@be-link/cs-cli-nodejs 0.0.57 → 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/cs/modules/bizTag/service.d.ts +8 -0
- package/cs/modules/bizTag/service.js +17 -0
- package/cs/modules/bizTag/service.js.map +1 -1
- package/cs/modules/bizTag/type.d.ts +21 -8
- package/cs/modules/itemQuery/byItem/service.d.ts +0 -1
- package/cs/modules/itemQuery/byItem/service.js +0 -3
- package/cs/modules/itemQuery/byItem/service.js.map +1 -1
- package/cs/modules/itemQuery/byItem/type.d.ts +0 -19
- package/cs/modules/itemQuery/byItem/type.js.map +1 -1
- package/cs/modules/itemQuery/index.d.ts +0 -1
- package/cs/modules/shuttleBusSupplier/types.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import BaseService from '../baseService';
|
|
2
|
+
import { BizTag } from './type';
|
|
3
|
+
declare class BizTagService extends BaseService implements BizTag.Controller {
|
|
4
|
+
prefixUrl: string;
|
|
5
|
+
mgetByItem(request: BizTag.Request.IMGetByItem): Promise<BizTag.Response.IMGetByItem>;
|
|
6
|
+
}
|
|
7
|
+
declare const bizTagService: BizTagService;
|
|
8
|
+
export default bizTagService;
|
|
@@ -1,2 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const http_1 = require("../../http");
|
|
7
|
+
const baseService_1 = __importDefault(require("../baseService"));
|
|
8
|
+
class BizTagService extends baseService_1.default {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.prefixUrl = '/bizTag';
|
|
12
|
+
}
|
|
13
|
+
mgetByItem(request) {
|
|
14
|
+
return (0, http_1.callApi)(this.getApiUrl(this.mgetByItem), request);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
const bizTagService = new BizTagService();
|
|
18
|
+
exports.default = bizTagService;
|
|
2
19
|
//# sourceMappingURL=service.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../src/cs/modules/bizTag/service.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../src/cs/modules/bizTag/service.ts"],"names":[],"mappings":";;;;;AAAA,qCAAoC;AACpC,iEAAwC;AAGxC,MAAM,aAAc,SAAQ,qBAAW;IAAvC;;QACE,cAAS,GAAW,SAAS,CAAA;IAK/B,CAAC;IAHC,UAAU,CAAC,OAAmC;QAC5C,OAAO,IAAA,cAAO,EAAkC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC,CAAA;IAC3F,CAAC;CACF;AAED,MAAM,aAAa,GAAG,IAAI,aAAa,EAAE,CAAA;AACzC,kBAAe,aAAa,CAAA"}
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import * as CommodityEnums from 'vitality-meta/enums/commodity';
|
|
2
2
|
export declare namespace BizTag {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
namespace DTO {
|
|
4
|
+
interface list {
|
|
5
|
+
id: string;
|
|
6
|
+
itemId: string;
|
|
7
|
+
status: CommodityEnums.CommonStatus;
|
|
8
|
+
type: CommodityEnums.CommodityBizTagType;
|
|
9
|
+
relatedItemNum: number;
|
|
10
|
+
}
|
|
11
|
+
interface IBizTag {
|
|
12
|
+
id: string;
|
|
13
|
+
name: string;
|
|
14
|
+
type: string;
|
|
15
|
+
orderIndex: number;
|
|
16
|
+
}
|
|
9
17
|
}
|
|
10
18
|
namespace Request {
|
|
11
19
|
interface ICreate {
|
|
@@ -23,13 +31,18 @@ export declare namespace BizTag {
|
|
|
23
31
|
pageIndex: number;
|
|
24
32
|
pageSize: number;
|
|
25
33
|
}
|
|
26
|
-
interface
|
|
34
|
+
interface IMGetByItem {
|
|
27
35
|
itemId: string;
|
|
28
|
-
tagType
|
|
36
|
+
tagType?: CommodityEnums.CommodityBizTagType;
|
|
37
|
+
tagStatus?: CommodityEnums.CommonStatus[];
|
|
29
38
|
}
|
|
30
39
|
}
|
|
31
40
|
namespace Response {
|
|
32
41
|
interface IQueryTagList {
|
|
33
42
|
}
|
|
43
|
+
type IMGetByItem = DTO.IBizTag[];
|
|
44
|
+
}
|
|
45
|
+
interface Controller {
|
|
46
|
+
mgetByItem(request: Request.IMGetByItem): Promise<Response.IMGetByItem>;
|
|
34
47
|
}
|
|
35
48
|
}
|
|
@@ -11,7 +11,6 @@ declare class QueryByItemService extends BaseService implements QueryByItem.Cont
|
|
|
11
11
|
mget<K extends (keyof GDto.QueryBlockDataMap)[]>(request: QueryByItem.Request.IMget<K>): Promise<GDto.QueryDataRes<K>[]>;
|
|
12
12
|
queryItemListByCategory<K extends (keyof GDto.QueryBlockDataMap)[]>(request: QueryByItem.Request.IQueryItemListByCategory<K>): Promise<GDto.QueryDataRes<K>[]>;
|
|
13
13
|
queryCenterForItem(request: QueryByItem.Request.QueryCenterForItem): Promise<QueryByItem.Response.QueryCenterForItem>;
|
|
14
|
-
getItemDetail(request: QueryByItem.Request.IGetItemDetail): Promise<QueryByItem.Response.IGetItemDetail>;
|
|
15
14
|
}
|
|
16
15
|
declare const byItem: QueryByItemService;
|
|
17
16
|
export default byItem;
|
|
@@ -26,9 +26,6 @@ class QueryByItemService extends baseService_1.default {
|
|
|
26
26
|
queryCenterForItem(request) {
|
|
27
27
|
return (0, http_1.callApi)(this.getApiUrl(this.queryCenterForItem), request);
|
|
28
28
|
}
|
|
29
|
-
getItemDetail(request) {
|
|
30
|
-
return (0, http_1.callApi)(this.getApiUrl(this.getItemDetail), request);
|
|
31
|
-
}
|
|
32
29
|
}
|
|
33
30
|
const byItem = new QueryByItemService();
|
|
34
31
|
exports.default = byItem;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../src/cs/modules/itemQuery/byItem/service.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;AAEH,wCAAuC;AACvC,oEAA2C;AAI3C,MAAM,kBAAmB,SAAQ,qBAAW;IAA5C;;QACE,cAAS,GAAW,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../src/cs/modules/itemQuery/byItem/service.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;;;AAEH,wCAAuC;AACvC,oEAA2C;AAI3C,MAAM,kBAAmB,SAAQ,qBAAW;IAA5C;;QACE,cAAS,GAAW,qBAAqB,CAAA;IA+B3C,CAAC;IA7BC,GAAG,CACD,OAAoC;QAEpC,OAAO,IAAA,cAAO,EAAgC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC,CAAA;IAClF,CAAC;IAED,IAAI,CACF,OAAqC;QAErC,OAAO,IAAA,cAAO,EAAiC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,CAAA;IACpF,CAAC;IAED,uBAAuB,CACrB,OAAwD;QAExD,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,uBAAuB,CAAC,EAC5C,OAAO,CACR,CAAA;IACH,CAAC;IAED,kBAAkB,CAChB,OAA+C;QAE/C,OAAO,IAAA,cAAO,EACZ,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,kBAAkB,CAAC,EACvC,OAAO,CACR,CAAA;IACH,CAAC;CACF;AAED,MAAM,MAAM,GAAG,IAAI,kBAAkB,EAAE,CAAA;AAEvC,kBAAe,MAAM,CAAA"}
|
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
import * as CommodityEnums from 'vitality-meta/enums/commodity';
|
|
2
2
|
import * as GDto from '../../../../types';
|
|
3
|
-
import { CSDto } from '../../../..';
|
|
4
3
|
export declare namespace QueryByItem {
|
|
5
4
|
namespace DTO {
|
|
6
5
|
interface ItemBasicInfo {
|
|
7
6
|
}
|
|
8
|
-
interface IBizTag {
|
|
9
|
-
id: string;
|
|
10
|
-
name: string;
|
|
11
|
-
type: string;
|
|
12
|
-
orderIndex: number;
|
|
13
|
-
}
|
|
14
7
|
}
|
|
15
8
|
namespace Request {
|
|
16
9
|
interface IGet<K> {
|
|
@@ -106,22 +99,12 @@ export declare namespace QueryByItem {
|
|
|
106
99
|
/** 页目条数. 默认10, 最大20 */
|
|
107
100
|
pageSize?: number;
|
|
108
101
|
}
|
|
109
|
-
interface IGetItemDetail {
|
|
110
|
-
itemId: string;
|
|
111
|
-
tagStatus?: CommodityEnums.CommonStatus;
|
|
112
|
-
}
|
|
113
102
|
}
|
|
114
103
|
namespace Response {
|
|
115
104
|
interface QueryCenterForItem {
|
|
116
105
|
id: string;
|
|
117
106
|
isNewItem: boolean;
|
|
118
107
|
}
|
|
119
|
-
interface IGetItemDetail {
|
|
120
|
-
basicInfo: CSDto.IItemBasicInfo;
|
|
121
|
-
attributes: CSDto.IItemAttributes;
|
|
122
|
-
hotelItemInfo: CSDto.IHotelItemInfo;
|
|
123
|
-
bizTagList: DTO.IBizTag[];
|
|
124
|
-
}
|
|
125
108
|
}
|
|
126
109
|
interface Controller {
|
|
127
110
|
get<K extends (keyof GDto.QueryBlockDataMap)[]>(request: Request.IGet<K>): Promise<GDto.QueryDataRes<K>>;
|
|
@@ -129,7 +112,5 @@ export declare namespace QueryByItem {
|
|
|
129
112
|
queryItemListByCategory<k extends (keyof GDto.QueryBlockDataMap)[]>(request: Request.IQueryItemListByCategory<k>): Promise<GDto.QueryDataRes<k>[]>;
|
|
130
113
|
/** 商品搜索大全 */
|
|
131
114
|
queryCenterForItem(request: Request.QueryCenterForItem): Promise<Response.QueryCenterForItem>;
|
|
132
|
-
/** 商品详情 */
|
|
133
|
-
getItemDetail(request: Request.IGetItemDetail): Promise<Response.IGetItemDetail>;
|
|
134
115
|
}
|
|
135
116
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../src/cs/modules/itemQuery/byItem/type.ts"],"names":[],"mappings":";;;AAIA,IAAiB,WAAW,
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../src/cs/modules/itemQuery/byItem/type.ts"],"names":[],"mappings":";;;AAIA,IAAiB,WAAW,CA2I3B;AA3ID,WAAiB,WAAW;IAoH1B,IAAiB,QAAQ,CAKxB;IALD,WAAiB,QAAQ;QAItB,EAAE,CAAA;IACL,CAAC,EALgB,QAAQ,GAAR,oBAAQ,KAAR,oBAAQ,QAKxB;AAkBH,CAAC,EA3IgB,WAAW,2BAAX,WAAW,QA2I3B"}
|
|
@@ -5,7 +5,6 @@ declare const itemQueryService: {
|
|
|
5
5
|
mget<K_1 extends (keyof import("../../../types").QueryBlockDataMap)[]>(request: import("./byItem/type").QueryByItem.Request.IMget<K_1>): Promise<import("../../../types").QueryDataRes<K_1>[]>;
|
|
6
6
|
queryItemListByCategory<K_2 extends (keyof import("../../../types").QueryBlockDataMap)[]>(request: import("./byItem/type").QueryByItem.Request.IQueryItemListByCategory<K_2>): Promise<import("../../../types").QueryDataRes<K_2>[]>;
|
|
7
7
|
queryCenterForItem(request: import("./byItem/type").QueryByItem.Request.QueryCenterForItem): Promise<import("./byItem/type").QueryByItem.Response.QueryCenterForItem>;
|
|
8
|
-
getItemDetail(request: import("./byItem/type").QueryByItem.Request.IGetItemDetail): Promise<import("./byItem/type").QueryByItem.Response.IGetItemDetail>;
|
|
9
8
|
isPublicEnv: boolean;
|
|
10
9
|
readonly natDevHost: "http://qgostaxv.cs.nmkh74o4.rlwzae9d.com:8090";
|
|
11
10
|
readonly natProdHost: "";
|
|
@@ -100,7 +100,7 @@ export declare namespace ShuttleBusSupplier {
|
|
|
100
100
|
departureProvince: string;
|
|
101
101
|
departureCity: string;
|
|
102
102
|
departureDistrict: string;
|
|
103
|
-
status:
|
|
103
|
+
status: CommonStatus;
|
|
104
104
|
}
|
|
105
105
|
interface GetProductAssociatedShuttleSupplierList {
|
|
106
106
|
item: string;
|