@be-link/vitality-cli-nodejs 0.0.13 → 0.0.15
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/README.md +9 -1
- package/commodity-manifest.json +5 -3
- package/index.d.ts +18 -1
- package/index.js +51 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/vs/modules/biz/adjustment/index.d.ts +38 -0
- package/vs/modules/biz/adjustment/index.js +18 -0
- package/vs/modules/biz/adjustment/index.js.map +1 -0
- package/vs/modules/biz/adjustment/job/service.d.ts +8 -0
- package/vs/modules/biz/adjustment/job/service.js +19 -0
- package/vs/modules/biz/adjustment/job/service.js.map +1 -0
- package/vs/modules/biz/adjustment/main/service.d.ts +22 -0
- package/vs/modules/biz/adjustment/main/service.js +49 -0
- package/vs/modules/biz/adjustment/main/service.js.map +1 -0
- package/vs/modules/biz/adjustment/manifest.d.ts +11 -0
- package/vs/modules/biz/adjustment/manifest.js +27 -0
- package/vs/modules/biz/adjustment/manifest.js.map +1 -0
- package/vs/modules/biz/adjustment/type.d.ts +146 -0
- package/vs/modules/biz/adjustment/type.js +3 -0
- package/vs/modules/biz/adjustment/type.js.map +1 -0
- package/vs/modules/biz/channelPageConfig/index.d.ts +40 -0
- package/vs/modules/biz/channelPageConfig/index.js +19 -0
- package/vs/modules/biz/channelPageConfig/index.js.map +1 -0
- package/vs/modules/biz/channelPageConfig/main/service.d.ts +11 -0
- package/vs/modules/biz/channelPageConfig/main/service.js +19 -0
- package/vs/modules/biz/channelPageConfig/main/service.js.map +1 -0
- package/vs/modules/biz/channelPageConfig/miniApp/service.d.ts +10 -0
- package/vs/modules/biz/channelPageConfig/miniApp/service.js +19 -0
- package/vs/modules/biz/channelPageConfig/miniApp/service.js.map +1 -0
- package/vs/modules/biz/channelPageConfig/type.d.ts +26 -0
- package/vs/modules/biz/channelPageConfig/type.js +3 -0
- package/vs/modules/biz/channelPageConfig/type.js.map +1 -0
- package/vs/modules/biz/channelPageConfig/web/service.d.ts +11 -0
- package/vs/modules/biz/channelPageConfig/web/service.js +19 -0
- package/vs/modules/biz/channelPageConfig/web/service.js.map +1 -0
- package/vs/modules/biz/commodity/manifest.json +5 -3
- package/vs/modules/biz/contract/index.d.ts +20 -0
- package/vs/modules/biz/contract/index.js +11 -0
- package/vs/modules/biz/contract/index.js.map +1 -0
- package/vs/modules/biz/contract/main/service.d.ts +14 -0
- package/vs/modules/biz/contract/main/service.js +28 -0
- package/vs/modules/biz/contract/main/service.js.map +1 -0
- package/vs/modules/biz/contract/type.d.ts +13 -0
- package/vs/modules/biz/contract/type.js +3 -0
- package/vs/modules/biz/contract/type.js.map +1 -0
- package/vs/modules/biz/index.d.ts +161 -0
- package/vs/modules/biz/index.js +16 -0
- package/vs/modules/biz/index.js.map +1 -1
- package/vs/modules/biz/itemComment/index.d.ts +18 -0
- package/vs/modules/biz/itemComment/index.js +11 -0
- package/vs/modules/biz/itemComment/index.js.map +1 -0
- package/vs/modules/biz/itemComment/job/service.d.ts +12 -0
- package/vs/modules/biz/itemComment/job/service.js +31 -0
- package/vs/modules/biz/itemComment/job/service.js.map +1 -0
- package/vs/modules/biz/itemComment/type.d.ts +11 -0
- package/vs/modules/biz/itemComment/type.js +3 -0
- package/vs/modules/biz/itemComment/type.js.map +1 -0
- package/vs/modules/biz/itemTagGroup/index.d.ts +15 -0
- package/vs/modules/biz/itemTagGroup/index.js +11 -0
- package/vs/modules/biz/itemTagGroup/index.js.map +1 -0
- package/vs/modules/biz/itemTagGroup/type.d.ts +8 -0
- package/vs/modules/biz/itemTagGroup/type.js +3 -0
- package/vs/modules/biz/itemTagGroup/type.js.map +1 -0
- package/vs/modules/biz/itemTagGroup/web/service.d.ts +9 -0
- package/vs/modules/biz/itemTagGroup/web/service.js +22 -0
- package/vs/modules/biz/itemTagGroup/web/service.js.map +1 -0
- package/vs/modules/biz/rms/index.d.ts +19 -0
- package/vs/modules/biz/rms/index.js +11 -0
- package/vs/modules/biz/rms/index.js.map +1 -0
- package/vs/modules/biz/rms/main/service.d.ts +13 -0
- package/vs/modules/biz/rms/main/service.js +34 -0
- package/vs/modules/biz/rms/main/service.js.map +1 -0
- package/vs/modules/biz/rms/type.d.ts +12 -0
- package/vs/modules/biz/rms/type.js +3 -0
- package/vs/modules/biz/rms/type.js.map +1 -0
- package/vs/modules/biz/store/index.d.ts +33 -0
- package/vs/modules/biz/store/index.js +16 -0
- package/vs/modules/biz/store/index.js.map +1 -0
- package/vs/modules/biz/store/job/service.d.ts +16 -0
- package/vs/modules/biz/store/job/service.js +43 -0
- package/vs/modules/biz/store/job/service.js.map +1 -0
- package/vs/modules/biz/store/main/service.d.ts +10 -0
- package/vs/modules/biz/store/main/service.js +25 -0
- package/vs/modules/biz/store/main/service.js.map +1 -0
- package/vs/modules/biz/store/type.d.ts +22 -0
- package/vs/modules/biz/store/type.js +3 -0
- package/vs/modules/biz/store/type.js.map +1 -0
- package/vs/modules/biz/tourMaterial/boss/service.d.ts +9 -0
- package/vs/modules/biz/tourMaterial/boss/service.js +22 -0
- package/vs/modules/biz/tourMaterial/boss/service.js.map +1 -0
- package/vs/modules/biz/tourMaterial/index.d.ts +15 -0
- package/vs/modules/biz/tourMaterial/index.js +11 -0
- package/vs/modules/biz/tourMaterial/index.js.map +1 -0
- package/vs/modules/biz/tourMaterial/type.d.ts +16 -0
- package/vs/modules/biz/tourMaterial/type.js +3 -0
- package/vs/modules/biz/tourMaterial/type.js.map +1 -0
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
exports.channelPageConfigWebService = exports.channelPageConfigMiniAppService = exports.channelPageConfigMainService = void 0;
|
|
7
|
+
const service_1 = __importDefault(require("./main/service"));
|
|
8
|
+
exports.channelPageConfigMainService = service_1.default;
|
|
9
|
+
const service_2 = __importDefault(require("./miniApp/service"));
|
|
10
|
+
exports.channelPageConfigMiniAppService = service_2.default;
|
|
11
|
+
const service_3 = __importDefault(require("./web/service"));
|
|
12
|
+
exports.channelPageConfigWebService = service_3.default;
|
|
13
|
+
const channelPageConfigService = {
|
|
14
|
+
main: service_1.default,
|
|
15
|
+
miniApp: service_2.default,
|
|
16
|
+
web: service_3.default,
|
|
17
|
+
};
|
|
18
|
+
exports.default = channelPageConfigService;
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/vs/modules/biz/channelPageConfig/index.ts"],"names":[],"mappings":";;;;;;AAAA,6DAAyD;AAWvD,uCAXK,iBAA4B,CAWL;AAV9B,gEAA+D;AAW7D,0CAXK,iBAA+B,CAWL;AAVjC,4DAAuD;AAWrD,sCAXK,iBAA2B,CAWL;AAT7B,MAAM,wBAAwB,GAAG;IAC/B,IAAI,EAAE,iBAA4B;IAClC,OAAO,EAAE,iBAA+B;IACxC,GAAG,EAAE,iBAA2B;CACjC,CAAA;AAQD,kBAAe,wBAAwB,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import BaseService from '../../../baseService';
|
|
2
|
+
import { ChannelPageConfig } from '../type';
|
|
3
|
+
declare class ChannelPageConfigMainService extends BaseService implements ChannelPageConfig.Main.Controller {
|
|
4
|
+
prefixUrl: string;
|
|
5
|
+
getChannelPageConfig(request: {
|
|
6
|
+
channel: string;
|
|
7
|
+
city?: string;
|
|
8
|
+
}): Promise<unknown>;
|
|
9
|
+
}
|
|
10
|
+
declare const channelPageConfigMainService: ChannelPageConfigMainService;
|
|
11
|
+
export default channelPageConfigMainService;
|
|
@@ -0,0 +1,19 @@
|
|
|
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 ChannelPageConfigMainService extends baseService_1.default {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.prefixUrl = '/biz/channelPageConfig/main';
|
|
12
|
+
}
|
|
13
|
+
getChannelPageConfig(request) {
|
|
14
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.getChannelPageConfig), request);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
const channelPageConfigMainService = new ChannelPageConfigMainService();
|
|
18
|
+
exports.default = channelPageConfigMainService;
|
|
19
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../../src/vs/modules/biz/channelPageConfig/main/service.ts"],"names":[],"mappings":";;;;;AAAA,2CAA6C;AAC7C,uEAA8C;AAG9C,MAAM,4BACJ,SAAQ,qBAAW;IADrB;;QAIE,cAAS,GAAG,6BAA6B,CAAA;IAU3C,CAAC;IARC,oBAAoB,CAClB,OAA2C;QAE3C,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,oBAAoB,CAAC,EACzC,OAAO,CACR,CAAA;IACH,CAAC;CACF;AAED,MAAM,4BAA4B,GAAG,IAAI,4BAA4B,EAAE,CAAA;AACvE,kBAAe,4BAA4B,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import BaseService from '../../../baseService';
|
|
2
|
+
import { ChannelPageConfig } from '../type';
|
|
3
|
+
declare class ChannelPageConfigMiniAppService extends BaseService implements ChannelPageConfig.MiniApp.Controller {
|
|
4
|
+
prefixUrl: string;
|
|
5
|
+
getMostRecentCity(request: {
|
|
6
|
+
unionId: string;
|
|
7
|
+
}): Promise<string>;
|
|
8
|
+
}
|
|
9
|
+
declare const channelPageConfigMiniAppService: ChannelPageConfigMiniAppService;
|
|
10
|
+
export default channelPageConfigMiniAppService;
|
|
@@ -0,0 +1,19 @@
|
|
|
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 ChannelPageConfigMiniAppService extends baseService_1.default {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.prefixUrl = '/biz/channelPageConfig/miniApp';
|
|
12
|
+
}
|
|
13
|
+
getMostRecentCity(request) {
|
|
14
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.getMostRecentCity), request);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
const channelPageConfigMiniAppService = new ChannelPageConfigMiniAppService();
|
|
18
|
+
exports.default = channelPageConfigMiniAppService;
|
|
19
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../../src/vs/modules/biz/channelPageConfig/miniApp/service.ts"],"names":[],"mappings":";;;;;AAAA,2CAA6C;AAC7C,uEAA8C;AAG9C,MAAM,+BACJ,SAAQ,qBAAW;IADrB;;QAIE,cAAS,GAAG,gCAAgC,CAAA;IAQ9C,CAAC;IANC,iBAAiB,CAAC,OAA4B;QAC5C,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC,EACtC,OAAO,CACR,CAAA;IACH,CAAC;CACF;AAED,MAAM,+BAA+B,GAAG,IAAI,+BAA+B,EAAE,CAAA;AAC7E,kBAAe,+BAA+B,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare namespace ChannelPageConfig {
|
|
2
|
+
type JsonObject = Record<string, unknown>;
|
|
3
|
+
namespace Main {
|
|
4
|
+
interface Controller {
|
|
5
|
+
getChannelPageConfig(request: {
|
|
6
|
+
channel: string;
|
|
7
|
+
city?: string;
|
|
8
|
+
}): Promise<unknown>;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
namespace MiniApp {
|
|
12
|
+
interface Controller {
|
|
13
|
+
getMostRecentCity(request: {
|
|
14
|
+
unionId: string;
|
|
15
|
+
}): Promise<string>;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
namespace Web {
|
|
19
|
+
interface Controller {
|
|
20
|
+
getChannelPageConfig(request: {
|
|
21
|
+
channel: string;
|
|
22
|
+
city?: string;
|
|
23
|
+
}): Promise<unknown>;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../src/vs/modules/biz/channelPageConfig/type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import BaseService from '../../../baseService';
|
|
2
|
+
import { ChannelPageConfig } from '../type';
|
|
3
|
+
declare class ChannelPageConfigWebService extends BaseService implements ChannelPageConfig.Web.Controller {
|
|
4
|
+
prefixUrl: string;
|
|
5
|
+
getChannelPageConfig(request: {
|
|
6
|
+
channel: string;
|
|
7
|
+
city?: string;
|
|
8
|
+
}): Promise<unknown>;
|
|
9
|
+
}
|
|
10
|
+
declare const channelPageConfigWebService: ChannelPageConfigWebService;
|
|
11
|
+
export default channelPageConfigWebService;
|
|
@@ -0,0 +1,19 @@
|
|
|
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 ChannelPageConfigWebService extends baseService_1.default {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.prefixUrl = '/biz/channelPageConfig/web';
|
|
12
|
+
}
|
|
13
|
+
getChannelPageConfig(request) {
|
|
14
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.getChannelPageConfig), request);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
const channelPageConfigWebService = new ChannelPageConfigWebService();
|
|
18
|
+
exports.default = channelPageConfigWebService;
|
|
19
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../../src/vs/modules/biz/channelPageConfig/web/service.ts"],"names":[],"mappings":";;;;;AAAA,2CAA6C;AAC7C,uEAA8C;AAG9C,MAAM,2BACJ,SAAQ,qBAAW;IADrB;;QAIE,cAAS,GAAG,4BAA4B,CAAA;IAU1C,CAAC;IARC,oBAAoB,CAClB,OAA2C;QAE3C,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,oBAAoB,CAAC,EACzC,OAAO,CACR,CAAA;IACH,CAAC;CACF;AAED,MAAM,2BAA2B,GAAG,IAAI,2BAA2B,EAAE,CAAA;AACrE,kBAAe,2BAA2B,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 2,
|
|
3
3
|
"finalInventory": {
|
|
4
|
-
"endpointCount":
|
|
4
|
+
"endpointCount": 339,
|
|
5
5
|
"serviceCount": 24,
|
|
6
|
-
"serverOnlyCount":
|
|
6
|
+
"serverOnlyCount": 21
|
|
7
7
|
},
|
|
8
8
|
"preservedBaseline": {
|
|
9
9
|
"commodity/ai": [
|
|
@@ -399,6 +399,8 @@
|
|
|
399
399
|
"commodity/restructure/querySamePriceSkuList",
|
|
400
400
|
"commodity/restructure/queryItemIdByItemNameCategoryTwo",
|
|
401
401
|
"commodity/restructure/getEcBasicInfo",
|
|
402
|
-
"commodity/restructure/insertFeiShuDocRecords"
|
|
402
|
+
"commodity/restructure/insertFeiShuDocRecords",
|
|
403
|
+
"commodityV2/web/itemCombo/recognizeComboMealMenu",
|
|
404
|
+
"commodityV2/web/itemCombo/generateMenuImage"
|
|
403
405
|
]
|
|
404
406
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import contractMainService from './main/service';
|
|
2
|
+
declare const contractService: {
|
|
3
|
+
main: {
|
|
4
|
+
prefixUrl: string;
|
|
5
|
+
getTourContractRecord(orderId: string): Promise<unknown>;
|
|
6
|
+
getTourContractRecordForWeb(request: {
|
|
7
|
+
orderId: string;
|
|
8
|
+
isContainCancel: boolean;
|
|
9
|
+
}): Promise<unknown>;
|
|
10
|
+
signContractForOrder(request: unknown): Promise<unknown>;
|
|
11
|
+
cancelContract(orderId: string): Promise<unknown>;
|
|
12
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
13
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
14
|
+
getHost(): string;
|
|
15
|
+
getApiUrl(func: Function): string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export { contractMainService };
|
|
19
|
+
export { Contract } from './type';
|
|
20
|
+
export default contractService;
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
exports.contractMainService = void 0;
|
|
7
|
+
const service_1 = __importDefault(require("./main/service"));
|
|
8
|
+
exports.contractMainService = service_1.default;
|
|
9
|
+
const contractService = { main: service_1.default };
|
|
10
|
+
exports.default = contractService;
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/vs/modules/biz/contract/index.ts"],"names":[],"mappings":";;;;;;AAAA,6DAAgD;AAIvC,8BAJF,iBAAmB,CAIE;AAF5B,MAAM,eAAe,GAAG,EAAE,IAAI,EAAE,iBAAmB,EAAE,CAAA;AAIrD,kBAAe,eAAe,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import BaseService from '../../../baseService';
|
|
2
|
+
import { Contract } from '../type';
|
|
3
|
+
declare class ContractMainService extends BaseService implements Contract.Main.Controller {
|
|
4
|
+
prefixUrl: string;
|
|
5
|
+
getTourContractRecord(orderId: string): Promise<unknown>;
|
|
6
|
+
getTourContractRecordForWeb(request: {
|
|
7
|
+
orderId: string;
|
|
8
|
+
isContainCancel: boolean;
|
|
9
|
+
}): Promise<unknown>;
|
|
10
|
+
signContractForOrder(request: unknown): Promise<unknown>;
|
|
11
|
+
cancelContract(orderId: string): Promise<unknown>;
|
|
12
|
+
}
|
|
13
|
+
declare const contractMainService: ContractMainService;
|
|
14
|
+
export default contractMainService;
|
|
@@ -0,0 +1,28 @@
|
|
|
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 ContractMainService extends baseService_1.default {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.prefixUrl = '/biz/contract/main';
|
|
12
|
+
}
|
|
13
|
+
getTourContractRecord(orderId) {
|
|
14
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.getTourContractRecord), orderId);
|
|
15
|
+
}
|
|
16
|
+
getTourContractRecordForWeb(request) {
|
|
17
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.getTourContractRecordForWeb), request);
|
|
18
|
+
}
|
|
19
|
+
signContractForOrder(request) {
|
|
20
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.signContractForOrder), request);
|
|
21
|
+
}
|
|
22
|
+
cancelContract(orderId) {
|
|
23
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.cancelContract), orderId);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
const contractMainService = new ContractMainService();
|
|
27
|
+
exports.default = contractMainService;
|
|
28
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../../src/vs/modules/biz/contract/main/service.ts"],"names":[],"mappings":";;;;;AAAA,2CAA6C;AAC7C,uEAA8C;AAG9C,MAAM,mBAAoB,SAAQ,qBAAW;IAA7C;;QACE,cAAS,GAAG,oBAAoB,CAAA;IAgClC,CAAC;IA9BC,qBAAqB,CAAC,OAAe;QACnC,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,qBAAqB,CAAC,EAC1C,OAAO,CACR,CAAA;IACH,CAAC;IAED,2BAA2B,CAAC,OAG3B;QACC,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,2BAA2B,CAAC,EAChD,OAAO,CACR,CAAA;IACH,CAAC;IAED,oBAAoB,CAAC,OAAgB;QACnC,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,oBAAoB,CAAC,EACzC,OAAO,CACR,CAAA;IACH,CAAC;IAED,cAAc,CAAC,OAAe;QAC5B,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,cAAc,CAAC,EACnC,OAAO,CACR,CAAA;IACH,CAAC;CACF;AAED,MAAM,mBAAmB,GAAG,IAAI,mBAAmB,EAAE,CAAA;AACrD,kBAAe,mBAAmB,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare namespace Contract {
|
|
2
|
+
namespace Main {
|
|
3
|
+
interface Controller {
|
|
4
|
+
getTourContractRecord(orderId: string): Promise<unknown>;
|
|
5
|
+
getTourContractRecordForWeb(request: {
|
|
6
|
+
orderId: string;
|
|
7
|
+
isContainCancel: boolean;
|
|
8
|
+
}): Promise<unknown>;
|
|
9
|
+
signContractForOrder(request: unknown): Promise<unknown>;
|
|
10
|
+
cancelContract(orderId: string): Promise<unknown>;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../src/vs/modules/biz/contract/type.ts"],"names":[],"mappings":""}
|
|
@@ -1036,5 +1036,166 @@ declare const bizService: {
|
|
|
1036
1036
|
};
|
|
1037
1037
|
};
|
|
1038
1038
|
};
|
|
1039
|
+
channelPageConfig: {
|
|
1040
|
+
main: {
|
|
1041
|
+
prefixUrl: string;
|
|
1042
|
+
getChannelPageConfig(request: {
|
|
1043
|
+
channel: string;
|
|
1044
|
+
city?: string | undefined;
|
|
1045
|
+
}): Promise<unknown>;
|
|
1046
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1047
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1048
|
+
getHost(): string;
|
|
1049
|
+
getApiUrl(func: Function): string;
|
|
1050
|
+
};
|
|
1051
|
+
miniApp: {
|
|
1052
|
+
prefixUrl: string;
|
|
1053
|
+
getMostRecentCity(request: {
|
|
1054
|
+
unionId: string;
|
|
1055
|
+
}): Promise<string>;
|
|
1056
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1057
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1058
|
+
getHost(): string;
|
|
1059
|
+
getApiUrl(func: Function): string;
|
|
1060
|
+
};
|
|
1061
|
+
web: {
|
|
1062
|
+
prefixUrl: string;
|
|
1063
|
+
getChannelPageConfig(request: {
|
|
1064
|
+
channel: string;
|
|
1065
|
+
city?: string | undefined;
|
|
1066
|
+
}): Promise<unknown>;
|
|
1067
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1068
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1069
|
+
getHost(): string;
|
|
1070
|
+
getApiUrl(func: Function): string;
|
|
1071
|
+
};
|
|
1072
|
+
};
|
|
1073
|
+
contract: {
|
|
1074
|
+
main: {
|
|
1075
|
+
prefixUrl: string;
|
|
1076
|
+
getTourContractRecord(orderId: string): Promise<unknown>;
|
|
1077
|
+
getTourContractRecordForWeb(request: {
|
|
1078
|
+
orderId: string;
|
|
1079
|
+
isContainCancel: boolean;
|
|
1080
|
+
}): Promise<unknown>;
|
|
1081
|
+
signContractForOrder(request: unknown): Promise<unknown>;
|
|
1082
|
+
cancelContract(orderId: string): Promise<unknown>;
|
|
1083
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1084
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1085
|
+
getHost(): string;
|
|
1086
|
+
getApiUrl(func: Function): string;
|
|
1087
|
+
};
|
|
1088
|
+
};
|
|
1089
|
+
itemComment: {
|
|
1090
|
+
job: {
|
|
1091
|
+
prefixUrl: string;
|
|
1092
|
+
jobSelectEliteCommentsToPost(): Promise<unknown>;
|
|
1093
|
+
summaryBadCommentPerDay(): Promise<unknown>;
|
|
1094
|
+
notifyHotelBadCommentPerDay(): Promise<unknown>;
|
|
1095
|
+
jobCommentDimensionTagAIRecognition(): Promise<unknown>;
|
|
1096
|
+
jobCommentDataAnalysisReportPushLarkForYesterday(): Promise<unknown>;
|
|
1097
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1098
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1099
|
+
getHost(): string;
|
|
1100
|
+
getApiUrl(func: Function): string;
|
|
1101
|
+
};
|
|
1102
|
+
};
|
|
1103
|
+
itemTagGroup: {
|
|
1104
|
+
web: {
|
|
1105
|
+
prefixUrl: string;
|
|
1106
|
+
queryItemTagGroups(request: unknown): Promise<unknown>;
|
|
1107
|
+
queryFirstItemTagGroup(request: unknown): Promise<unknown>;
|
|
1108
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1109
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1110
|
+
getHost(): string;
|
|
1111
|
+
getApiUrl(func: Function): string;
|
|
1112
|
+
};
|
|
1113
|
+
};
|
|
1114
|
+
rms: {
|
|
1115
|
+
main: {
|
|
1116
|
+
prefixUrl: string;
|
|
1117
|
+
syncCommoditySkuSurplus(storeId: string): Promise<void>;
|
|
1118
|
+
reduceStock(request: unknown): Promise<void>;
|
|
1119
|
+
getRoomStockInfo(request: unknown): Promise<unknown>;
|
|
1120
|
+
checkRoomStock(request: unknown): Promise<unknown>;
|
|
1121
|
+
rollbackStock(request: unknown): Promise<void>;
|
|
1122
|
+
getUserRelevanceHotelIds(request: unknown): Promise<unknown[]>;
|
|
1123
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1124
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1125
|
+
getHost(): string;
|
|
1126
|
+
getApiUrl(func: Function): string;
|
|
1127
|
+
};
|
|
1128
|
+
};
|
|
1129
|
+
store: {
|
|
1130
|
+
main: {
|
|
1131
|
+
prefixUrl: string;
|
|
1132
|
+
getStoreById(storeId: string): Promise<unknown>;
|
|
1133
|
+
queryStoresByIdList(storeIds: string[]): Promise<unknown[]>;
|
|
1134
|
+
queryStoreIdsByAddress(request: unknown): Promise<unknown[]>;
|
|
1135
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1136
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1137
|
+
getHost(): string;
|
|
1138
|
+
getApiUrl(func: Function): string;
|
|
1139
|
+
};
|
|
1140
|
+
job: {
|
|
1141
|
+
prefixUrl: string;
|
|
1142
|
+
sendGroupPartyCardCountNotice(): Promise<unknown>;
|
|
1143
|
+
sendPartySmsPhone(): Promise<unknown>;
|
|
1144
|
+
sendGroupPartyChatInfo(): Promise<unknown>;
|
|
1145
|
+
sendPartySms(): Promise<unknown>;
|
|
1146
|
+
sendHotelSms(): Promise<unknown>;
|
|
1147
|
+
sendHotelVoice(): Promise<unknown>;
|
|
1148
|
+
sendFarmHouseSms(): Promise<unknown>;
|
|
1149
|
+
sendFarmHouseVoice(): Promise<unknown>;
|
|
1150
|
+
jobPushTourSupplierForUploadContract(): Promise<unknown>;
|
|
1151
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1152
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1153
|
+
getHost(): string;
|
|
1154
|
+
getApiUrl(func: Function): string;
|
|
1155
|
+
};
|
|
1156
|
+
};
|
|
1157
|
+
tourMaterial: {
|
|
1158
|
+
boss: {
|
|
1159
|
+
prefixUrl: string;
|
|
1160
|
+
batchSendSmsForUpload(request: import("./tourMaterial").TourMaterial.Boss.NotifyRequest): Promise<unknown>;
|
|
1161
|
+
batchSendVmsForUpload(request: import("./tourMaterial").TourMaterial.Boss.NotifyRequest): Promise<unknown>;
|
|
1162
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1163
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1164
|
+
getHost(): string;
|
|
1165
|
+
getApiUrl(func: Function): string;
|
|
1166
|
+
};
|
|
1167
|
+
};
|
|
1168
|
+
adjustment: {
|
|
1169
|
+
main: {
|
|
1170
|
+
prefixUrl: string;
|
|
1171
|
+
directPay(request: import("./adjustment").Adjustment.Main.Request.DirectPay): Promise<{
|
|
1172
|
+
orderId: string;
|
|
1173
|
+
}>;
|
|
1174
|
+
createTrafficAdjustmentForDeposit(request: import("./adjustment").Adjustment.Main.Request.CreateTrafficAdjustmentForDeposit): Promise<{
|
|
1175
|
+
orderId: string;
|
|
1176
|
+
}>;
|
|
1177
|
+
markTrafficAdjustmentPaidByDeposit(request: import("./adjustment").Adjustment.Main.Request.MarkTrafficAdjustmentPaidByDeposit): Promise<void>;
|
|
1178
|
+
queryOrderByMainOrderId(mainOrderId: string): Promise<import("./adjustment").Adjustment.Main.QueryOrderByMainOrderIdResponse>;
|
|
1179
|
+
hasAdjustmentOrder(mainOrderIdList: string[]): Promise<Record<string, boolean>>;
|
|
1180
|
+
handleMainOrderComplete(mainOrderId: string): Promise<void>;
|
|
1181
|
+
handleMainOrderClosed(mainOrderId: string): Promise<void>;
|
|
1182
|
+
multiQuerySummaryFeeByMainOrderAndStatus(mainOrderIds: string[]): Promise<Record<string, number>>;
|
|
1183
|
+
queryRefundOrder(mainOrderIds: string[]): Promise<Record<string, import("./adjustment").Adjustment.Main.RefundSummary>>;
|
|
1184
|
+
querySummaryInfoGroupByMainOrderIdsAndType(mainOrderIds: string[]): Promise<import("./adjustment").Adjustment.SummaryByMainOrderAndType[]>;
|
|
1185
|
+
queryByMainOrders(request: import("./adjustment").Adjustment.Main.Request.QueryByMainOrders): Promise<import("./adjustment").Adjustment.OrderProjection[]>;
|
|
1186
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1187
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1188
|
+
getHost(): string;
|
|
1189
|
+
getApiUrl(func: Function): string;
|
|
1190
|
+
};
|
|
1191
|
+
job: {
|
|
1192
|
+
prefixUrl: string;
|
|
1193
|
+
jobAutoCloseUnpaidOrder(): Promise<void>;
|
|
1194
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
1195
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
1196
|
+
getHost(): string;
|
|
1197
|
+
getApiUrl(func: Function): string;
|
|
1198
|
+
};
|
|
1199
|
+
};
|
|
1039
1200
|
};
|
|
1040
1201
|
export default bizService;
|
package/vs/modules/biz/index.js
CHANGED
|
@@ -30,6 +30,14 @@ const service_24 = __importDefault(require("./merchant/main/service"));
|
|
|
30
30
|
const service_25 = __importDefault(require("./poi/main/service"));
|
|
31
31
|
const commodity_1 = __importDefault(require("./commodity"));
|
|
32
32
|
const commodityV2_1 = __importDefault(require("./commodityV2"));
|
|
33
|
+
const channelPageConfig_1 = __importDefault(require("./channelPageConfig"));
|
|
34
|
+
const contract_1 = __importDefault(require("./contract"));
|
|
35
|
+
const itemComment_1 = __importDefault(require("./itemComment"));
|
|
36
|
+
const itemTagGroup_1 = __importDefault(require("./itemTagGroup"));
|
|
37
|
+
const rms_1 = __importDefault(require("./rms"));
|
|
38
|
+
const store_1 = __importDefault(require("./store"));
|
|
39
|
+
const tourMaterial_1 = __importDefault(require("./tourMaterial"));
|
|
40
|
+
const adjustment_1 = __importDefault(require("./adjustment"));
|
|
33
41
|
/** biz 包下已封装模块,随平迁逐步扩展 */
|
|
34
42
|
const bizService = {
|
|
35
43
|
core: {
|
|
@@ -71,6 +79,14 @@ const bizService = {
|
|
|
71
79
|
},
|
|
72
80
|
commodity: commodity_1.default,
|
|
73
81
|
commodityV2: commodityV2_1.default,
|
|
82
|
+
channelPageConfig: channelPageConfig_1.default,
|
|
83
|
+
contract: contract_1.default,
|
|
84
|
+
itemComment: itemComment_1.default,
|
|
85
|
+
itemTagGroup: itemTagGroup_1.default,
|
|
86
|
+
rms: rms_1.default,
|
|
87
|
+
store: store_1.default,
|
|
88
|
+
tourMaterial: tourMaterial_1.default,
|
|
89
|
+
adjustment: adjustment_1.default,
|
|
74
90
|
};
|
|
75
91
|
exports.default = bizService;
|
|
76
92
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/vs/modules/biz/index.ts"],"names":[],"mappings":";;;;;AAAA,yEAA+D;AAC/D,mEAAmD;AACnD,oEAAqD;AACrD,iEAA+C;AAC/C,iEAA+C;AAC/C,sEAAyD;AACzD,uEAA2D;AAC3D,oEAAqD;AACrD,mEAAmD;AACnD,qEAAqD;AACrD,oEAAmD;AACnD,uEAAyD;AACzD,wEAA2D;AAC3D,+EAAyE;AACzE,8EAAuE;AACvE,yEAA6D;AAC7D,4EAAmE;AACnE,4EAAmE;AACnE,+EAAyE;AACzE,gFAA2E;AAC3E,yEAA6D;AAC7D,sEAAuD;AACvD,6EAAqE;AACrE,uEAAyD;AACzD,kEAA+C;AAC/C,4DAA0C;AAC1C,gEAA8C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/vs/modules/biz/index.ts"],"names":[],"mappings":";;;;;AAAA,yEAA+D;AAC/D,mEAAmD;AACnD,oEAAqD;AACrD,iEAA+C;AAC/C,iEAA+C;AAC/C,sEAAyD;AACzD,uEAA2D;AAC3D,oEAAqD;AACrD,mEAAmD;AACnD,qEAAqD;AACrD,oEAAmD;AACnD,uEAAyD;AACzD,wEAA2D;AAC3D,+EAAyE;AACzE,8EAAuE;AACvE,yEAA6D;AAC7D,4EAAmE;AACnE,4EAAmE;AACnE,+EAAyE;AACzE,gFAA2E;AAC3E,yEAA6D;AAC7D,sEAAuD;AACvD,6EAAqE;AACrE,uEAAyD;AACzD,kEAA+C;AAC/C,4DAA0C;AAC1C,gEAA8C;AAC9C,4EAA0D;AAC1D,0DAAwC;AACxC,gEAA8C;AAC9C,kEAAgD;AAChD,gDAA8B;AAC9B,oDAAkC;AAClC,kEAAgD;AAChD,8DAA4C;AAE5C,0BAA0B;AAC1B,MAAM,UAAU,GAAG;IACjB,IAAI,EAAE;QACJ,WAAW,EAAE,iBAAsB;QACnC,KAAK,EAAE,iBAAgB;QACvB,MAAM,EAAE,iBAAiB;QACzB,GAAG,EAAE,iBAAc;QACnB,GAAG,EAAE,iBAAc;QACnB,QAAQ,EAAE,iBAAmB;QAC7B,SAAS,EAAE,iBAAoB;QAC/B,MAAM,EAAE,iBAAiB;QACzB,KAAK,EAAE,iBAAgB;KACxB;IACD,MAAM,EAAE;QACN,IAAI,EAAE,kBAAiB;QACvB,GAAG,EAAE,kBAAgB;KACtB;IACD,QAAQ,EAAE;QACR,IAAI,EAAE,kBAAmB;QACzB,KAAK,EAAE,kBAAoB;QAC3B,YAAY,EAAE,kBAA2B;QACzC,WAAW,EAAE,kBAA0B;QACvC,MAAM,EAAE,kBAAqB;QAC7B,SAAS,EAAE,kBAAwB;QACnC,SAAS,EAAE,kBAAwB;QACnC,YAAY,EAAE,kBAA2B;QACzC,aAAa,EAAE,kBAA4B;QAC3C,MAAM,EAAE,kBAAqB;QAC7B,GAAG,EAAE,kBAAkB;KACxB;IACD,QAAQ,EAAE;QACR,UAAU,EAAE,kBAAyB;KACtC;IACD,QAAQ,EAAE;QACR,IAAI,EAAE,kBAAmB;KAC1B;IACD,GAAG,EAAE;QACH,IAAI,EAAE,kBAAc;KACrB;IACD,SAAS,EAAE,mBAAgB;IAC3B,WAAW,EAAE,qBAAkB;IAC/B,iBAAiB,EAAE,2BAAwB;IAC3C,QAAQ,EAAE,kBAAe;IACzB,WAAW,EAAE,qBAAkB;IAC/B,YAAY,EAAE,sBAAmB;IACjC,GAAG,EAAE,aAAU;IACf,KAAK,EAAE,eAAY;IACnB,YAAY,EAAE,sBAAmB;IACjC,UAAU,EAAE,oBAAiB;CAC9B,CAAA;AAED,kBAAe,UAAU,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import itemCommentJobService from './job/service';
|
|
2
|
+
declare const itemCommentService: {
|
|
3
|
+
job: {
|
|
4
|
+
prefixUrl: string;
|
|
5
|
+
jobSelectEliteCommentsToPost(): Promise<unknown>;
|
|
6
|
+
summaryBadCommentPerDay(): Promise<unknown>;
|
|
7
|
+
notifyHotelBadCommentPerDay(): Promise<unknown>;
|
|
8
|
+
jobCommentDimensionTagAIRecognition(): Promise<unknown>;
|
|
9
|
+
jobCommentDataAnalysisReportPushLarkForYesterday(): Promise<unknown>;
|
|
10
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
11
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
12
|
+
getHost(): string;
|
|
13
|
+
getApiUrl(func: Function): string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export { itemCommentJobService };
|
|
17
|
+
export { ItemComment } from './type';
|
|
18
|
+
export default itemCommentService;
|
|
@@ -0,0 +1,11 @@
|
|
|
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
|
+
exports.itemCommentJobService = void 0;
|
|
7
|
+
const service_1 = __importDefault(require("./job/service"));
|
|
8
|
+
exports.itemCommentJobService = service_1.default;
|
|
9
|
+
const itemCommentService = { job: service_1.default };
|
|
10
|
+
exports.default = itemCommentService;
|
|
11
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/vs/modules/biz/itemComment/index.ts"],"names":[],"mappings":";;;;;;AAAA,4DAAiD;AAIxC,gCAJF,iBAAqB,CAIE;AAF9B,MAAM,kBAAkB,GAAG,EAAE,GAAG,EAAE,iBAAqB,EAAE,CAAA;AAIzD,kBAAe,kBAAkB,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import BaseService from '../../../baseService';
|
|
2
|
+
import { ItemComment } from '../type';
|
|
3
|
+
declare class ItemCommentJobService extends BaseService implements ItemComment.Job.Controller {
|
|
4
|
+
prefixUrl: string;
|
|
5
|
+
jobSelectEliteCommentsToPost(): Promise<unknown>;
|
|
6
|
+
summaryBadCommentPerDay(): Promise<unknown>;
|
|
7
|
+
notifyHotelBadCommentPerDay(): Promise<unknown>;
|
|
8
|
+
jobCommentDimensionTagAIRecognition(): Promise<unknown>;
|
|
9
|
+
jobCommentDataAnalysisReportPushLarkForYesterday(): Promise<unknown>;
|
|
10
|
+
}
|
|
11
|
+
declare const itemCommentJobService: ItemCommentJobService;
|
|
12
|
+
export default itemCommentJobService;
|
|
@@ -0,0 +1,31 @@
|
|
|
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 ItemCommentJobService extends baseService_1.default {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.prefixUrl = '/biz/item-comment/job';
|
|
12
|
+
}
|
|
13
|
+
jobSelectEliteCommentsToPost() {
|
|
14
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.jobSelectEliteCommentsToPost));
|
|
15
|
+
}
|
|
16
|
+
summaryBadCommentPerDay() {
|
|
17
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.summaryBadCommentPerDay));
|
|
18
|
+
}
|
|
19
|
+
notifyHotelBadCommentPerDay() {
|
|
20
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.notifyHotelBadCommentPerDay));
|
|
21
|
+
}
|
|
22
|
+
jobCommentDimensionTagAIRecognition() {
|
|
23
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.jobCommentDimensionTagAIRecognition));
|
|
24
|
+
}
|
|
25
|
+
jobCommentDataAnalysisReportPushLarkForYesterday() {
|
|
26
|
+
return (0, http_1.callScfApi)(this.getApiUrl(this.jobCommentDataAnalysisReportPushLarkForYesterday));
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
const itemCommentJobService = new ItemCommentJobService();
|
|
30
|
+
exports.default = itemCommentJobService;
|
|
31
|
+
//# sourceMappingURL=service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../../../../../../src/vs/modules/biz/itemComment/job/service.ts"],"names":[],"mappings":";;;;;AAAA,2CAA6C;AAC7C,uEAA8C;AAG9C,MAAM,qBAAsB,SAAQ,qBAAW;IAA/C;;QACE,cAAS,GAAG,uBAAuB,CAAA;IA+BrC,CAAC;IA7BC,4BAA4B;QAC1B,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAClD,CAAA;IACH,CAAC;IAED,uBAAuB;QACrB,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAC7C,CAAA;IACH,CAAC;IAED,2BAA2B;QACzB,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,2BAA2B,CAAC,CACjD,CAAA;IACH,CAAC;IAED,mCAAmC;QACjC,OAAO,IAAA,iBAAU,EACf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,mCAAmC,CAAC,CACzD,CAAA;IACH,CAAC;IAED,gDAAgD;QAC9C,OAAO,IAAA,iBAAU,EAEf,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,gDAAgD,CAAC,CAAC,CAAA;IAC1E,CAAC;CACF;AAED,MAAM,qBAAqB,GAAG,IAAI,qBAAqB,EAAE,CAAA;AACzD,kBAAe,qBAAqB,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare namespace ItemComment {
|
|
2
|
+
namespace Job {
|
|
3
|
+
interface Controller {
|
|
4
|
+
jobSelectEliteCommentsToPost(): Promise<unknown>;
|
|
5
|
+
summaryBadCommentPerDay(): Promise<unknown>;
|
|
6
|
+
notifyHotelBadCommentPerDay(): Promise<unknown>;
|
|
7
|
+
jobCommentDimensionTagAIRecognition(): Promise<unknown>;
|
|
8
|
+
jobCommentDataAnalysisReportPushLarkForYesterday(): Promise<unknown>;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../src/vs/modules/biz/itemComment/type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import itemTagGroupWebService from './web/service';
|
|
2
|
+
declare const itemTagGroupService: {
|
|
3
|
+
web: {
|
|
4
|
+
prefixUrl: string;
|
|
5
|
+
queryItemTagGroups(request: unknown): Promise<unknown>;
|
|
6
|
+
queryFirstItemTagGroup(request: unknown): Promise<unknown>;
|
|
7
|
+
readonly publicDevHost: "https://vs-dev.wejourney.top";
|
|
8
|
+
readonly publicProdHost: "https://vs.wejourney.top";
|
|
9
|
+
getHost(): string;
|
|
10
|
+
getApiUrl(func: Function): string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export { itemTagGroupWebService };
|
|
14
|
+
export { ItemTagGroup } from './type';
|
|
15
|
+
export default itemTagGroupService;
|