@ningboyz/apis 1.0.126 → 1.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.
- package/package.json +2 -2
- package/packages/elem/main.ts +2 -1
- package/packages/pzpt/index.ts +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.128",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "宁波甬政请求库",
|
|
6
6
|
"author": "nbyt-syq",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"registry": "https://registry.npmjs.org/"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@ningboyz/types": "1.0.
|
|
20
|
+
"@ningboyz/types": "1.0.128",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
package/packages/elem/main.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { HttpRequest } from "../axios";
|
|
2
2
|
import { IElemElemResponse } from "../../../types/src/elem/IElemElemResponse";
|
|
3
3
|
import { IElemSelectdbQuerys } from "./type";
|
|
4
|
+
import { TElem } from "@ningboyz/types";
|
|
4
5
|
class ElemRequest {
|
|
5
6
|
private httpRequest: HttpRequest;
|
|
6
7
|
constructor(httpRequest: HttpRequest) {
|
|
@@ -20,7 +21,7 @@ class ElemRequest {
|
|
|
20
21
|
* @returns
|
|
21
22
|
*/
|
|
22
23
|
selectsysdb(querys: IElemSelectdbQuerys) {
|
|
23
|
-
return this.httpRequest.post<
|
|
24
|
+
return this.httpRequest.post<TElem.ISysElemResponse[]>(`/elem/telem/syselemc/selectdb`, querys, undefined);
|
|
24
25
|
}
|
|
25
26
|
/**
|
|
26
27
|
* 插入指标要素
|
package/packages/pzpt/index.ts
CHANGED
|
@@ -10,6 +10,7 @@ import YqkbRequest from "./yqkb";
|
|
|
10
10
|
import GlfaRequest from "./glfa";
|
|
11
11
|
import GlkmRequest from "./glkm";
|
|
12
12
|
import PzpzRequest from "./pzpz";
|
|
13
|
+
import Pzpz6pzRequest from "./pzpzp6pz";
|
|
13
14
|
|
|
14
15
|
class PzptRequest {
|
|
15
16
|
public cnfg: CnfgRequest;
|
|
@@ -23,6 +24,7 @@ class PzptRequest {
|
|
|
23
24
|
public glfa: GlfaRequest;
|
|
24
25
|
public glkm: GlkmRequest;
|
|
25
26
|
public pzpz: PzpzRequest;
|
|
27
|
+
public pzpzp6pz: Pzpz6pzRequest;
|
|
26
28
|
|
|
27
29
|
constructor(config: IAxiosConfig) {
|
|
28
30
|
const request = createRequest(config);
|
|
@@ -37,6 +39,7 @@ class PzptRequest {
|
|
|
37
39
|
this.glfa = new GlfaRequest(request);
|
|
38
40
|
this.glkm = new GlkmRequest(request);
|
|
39
41
|
this.pzpz = new PzpzRequest(request);
|
|
42
|
+
this.pzpzp6pz = new Pzpz6pzRequest(request);
|
|
40
43
|
}
|
|
41
44
|
}
|
|
42
45
|
|