@be-link/tfs-cli-nodejs 0.0.2 → 0.0.4
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
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import BaseService from '../baseService';
|
|
2
|
+
import { TourismInfo } from './type';
|
|
3
|
+
declare class TourismInfoService extends BaseService implements TourismInfo.Controller {
|
|
4
|
+
protected prefixUrl: string;
|
|
5
|
+
getTourismInfoByOrderId(request: TourismInfo.Request.getTourismInfoByOrderId): Promise<TourismInfo.DTO.TourismInfo>;
|
|
6
|
+
queryTourismInfoInOrderIdList(request: TourismInfo.Request.queryTourismInfoInOrderIdList): Promise<TourismInfo.DTO.TourismInfo[]>;
|
|
7
|
+
queryOrderIdByTouristInfo(request: TourismInfo.Request.queryOrderIdByTourismInfo): Promise<string[]>;
|
|
8
|
+
}
|
|
9
|
+
declare const tourismInfoService: TourismInfoService;
|
|
10
|
+
export default tourismInfoService;
|
|
@@ -0,0 +1,25 @@
|
|
|
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 TourismInfoService extends baseService_1.default {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.prefixUrl = '/tourism-info';
|
|
12
|
+
}
|
|
13
|
+
getTourismInfoByOrderId(request) {
|
|
14
|
+
return (0, http_1.callApi)(this.getApiUrl(this.getTourismInfoByOrderId), request);
|
|
15
|
+
}
|
|
16
|
+
queryTourismInfoInOrderIdList(request) {
|
|
17
|
+
return (0, http_1.callApi)(this.getApiUrl(this.queryTourismInfoInOrderIdList), request);
|
|
18
|
+
}
|
|
19
|
+
queryOrderIdByTouristInfo(request) {
|
|
20
|
+
return (0, http_1.callApi)(this.getApiUrl(this.queryOrderIdByTouristInfo), request);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
const tourismInfoService = new TourismInfoService();
|
|
24
|
+
exports.default = tourismInfoService;
|
|
25
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../src/tfs/modules/tourismInfo/service.ts"],"names":[],"mappings":";;;;;AAAA,qCAAoC;AACpC,iEAAwC;AAGxC,MAAM,kBAAmB,SAAQ,qBAAW;IAA5C;;QACY,cAAS,GAAW,eAAe,CAAA;IAW/C,CAAC;IATC,uBAAuB,CAAC,OAAoD;QAC1E,OAAO,IAAA,cAAO,EAAoD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,uBAAuB,CAAC,EAAE,OAAO,CAAC,CAAA;IAC1H,CAAC;IACD,6BAA6B,CAAC,OAA0D;QACtF,OAAO,IAAA,cAAO,EAA0D,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,6BAA6B,CAAC,EAAE,OAAO,CAAC,CAAA;IACtI,CAAC;IACD,yBAAyB,CAAC,OAAsD;QAC9E,OAAO,IAAA,cAAO,EAAsD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,yBAAyB,CAAC,EAAE,OAAO,CAAC,CAAA;IAC9H,CAAC;CACF;AAED,MAAM,kBAAkB,GAAG,IAAI,kBAAkB,EAAE,CAAA;AAEnD,kBAAe,kBAAkB,CAAA"}
|