@be-link/flow-cli-nodejs 0.0.12 → 0.0.14
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/flow/modules/service.d.ts +2 -2
- package/flow/modules/service.js +2 -2
- package/index.d.ts +3 -1
- package/index.js +3 -1
- package/package.json +1 -1
|
@@ -4,10 +4,10 @@ export default abstract class BaseService {
|
|
|
4
4
|
protected abstract prefixUrl: string;
|
|
5
5
|
/** 子网域名 */
|
|
6
6
|
protected readonly natDevHost = "http://qgostaxv.biz-flow.nmkh74o4.rlwzae9d.com:8090";
|
|
7
|
-
protected readonly natProdHost = "http://bxbvjnca.
|
|
7
|
+
protected readonly natProdHost = "http://bxbvjnca.biz-flow.cwl9ok0a.mk2u3r3l.com:8090";
|
|
8
8
|
/** 公网域名 */
|
|
9
9
|
protected readonly publicDevHost = "https://biz-flow-74680-5-1304510571.sh.run.tcloudbase.com";
|
|
10
|
-
protected readonly publicProdHost = "https://
|
|
10
|
+
protected readonly publicProdHost = "https://biz-flow-60660-10-1304510571.sh.run.tcloudbase.com";
|
|
11
11
|
constructor();
|
|
12
12
|
/** 获取API URL */
|
|
13
13
|
protected getApiUrl(func: Function): string;
|
package/flow/modules/service.js
CHANGED
|
@@ -9,10 +9,10 @@ class BaseService {
|
|
|
9
9
|
constructor() {
|
|
10
10
|
/** 子网域名 */
|
|
11
11
|
this.natDevHost = 'http://qgostaxv.biz-flow.nmkh74o4.rlwzae9d.com:8090';
|
|
12
|
-
this.natProdHost = 'http://bxbvjnca.
|
|
12
|
+
this.natProdHost = 'http://bxbvjnca.biz-flow.cwl9ok0a.mk2u3r3l.com:8090';
|
|
13
13
|
/** 公网域名 */
|
|
14
14
|
this.publicDevHost = 'https://biz-flow-74680-5-1304510571.sh.run.tcloudbase.com';
|
|
15
|
-
this.publicProdHost = 'https://
|
|
15
|
+
this.publicProdHost = 'https://biz-flow-60660-10-1304510571.sh.run.tcloudbase.com';
|
|
16
16
|
/** 如果是云函数环境, 默认走公网访问 */
|
|
17
17
|
this.isPublicEnv = (process.env.CONTAINER_ENV || 'SCF') === 'SCF';
|
|
18
18
|
}
|
package/index.d.ts
CHANGED
|
@@ -2,8 +2,10 @@ import * as FlowConstants from 'vitality-meta/enums/flow';
|
|
|
2
2
|
import * as FlowDto from './types';
|
|
3
3
|
import BizError from './errors/BizError';
|
|
4
4
|
import flowCoreService from './flow/modules/bizFlowCore/service';
|
|
5
|
-
|
|
5
|
+
import flowJobService from './flow/modules/bizFlowJob/service';
|
|
6
|
+
export {
|
|
6
7
|
/** 业务模块 */
|
|
8
|
+
flowCoreService, flowJobService,
|
|
7
9
|
/** 枚举类 */
|
|
8
10
|
FlowConstants, FlowDto,
|
|
9
11
|
/** 错误类 */
|
package/index.js
CHANGED
|
@@ -26,7 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.BizError = exports.FlowDto = exports.FlowConstants = exports.flowCoreService = void 0;
|
|
29
|
+
exports.BizError = exports.FlowDto = exports.FlowConstants = exports.flowJobService = exports.flowCoreService = void 0;
|
|
30
30
|
const FlowConstants = __importStar(require("vitality-meta/enums/flow"));
|
|
31
31
|
exports.FlowConstants = FlowConstants;
|
|
32
32
|
const FlowDto = __importStar(require("./types"));
|
|
@@ -35,3 +35,5 @@ const BizError_1 = __importDefault(require("./errors/BizError"));
|
|
|
35
35
|
exports.BizError = BizError_1.default;
|
|
36
36
|
const service_1 = __importDefault(require("./flow/modules/bizFlowCore/service"));
|
|
37
37
|
exports.flowCoreService = service_1.default;
|
|
38
|
+
const service_2 = __importDefault(require("./flow/modules/bizFlowJob/service"));
|
|
39
|
+
exports.flowJobService = service_2.default;
|