@ningboyz/apis 1.0.146 → 1.0.147
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.147",
|
|
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.147",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
package/packages/myoa/main.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TMyoa } from "@ningboyz/types";
|
|
1
|
+
import { TCore, TMyoa } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
3
|
import {
|
|
4
4
|
TMyoaMainDetaildbQuerys,
|
|
@@ -104,7 +104,7 @@ class ParaRequest {
|
|
|
104
104
|
* 获取公物仓入仓/领用详情
|
|
105
105
|
*/
|
|
106
106
|
chkinsert(querys: IEmptyQuerys, params: IParams<TMyoa.IMyoaMainResponse[]>) {
|
|
107
|
-
return this.httpRequest.post<
|
|
107
|
+
return this.httpRequest.post<TCore.ICoreValidResponse[]>("/gapi/myoa/tmain/chkinsert", querys, params);
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TMyoa } from "@ningboyz/types";
|
|
1
|
+
import { TCore, TMyoa } from "@ningboyz/types";
|
|
2
2
|
import type { HttpRequest } from "../axios";
|
|
3
3
|
import {
|
|
4
4
|
IMyoaMainDetail2dbQuerys,
|
|
@@ -107,7 +107,7 @@ class WithCardRequest {
|
|
|
107
107
|
* 公物仓入仓/领用新增判断
|
|
108
108
|
*/
|
|
109
109
|
chkinsert(querys: TMyoaMainChkinsertQuerys, params: IParams<TMyoa.IMyoaMainResponse>) {
|
|
110
|
-
return this.httpRequest.post<
|
|
110
|
+
return this.httpRequest.post<TCore.ICoreValidResponse[]>("/gapi/myoa/tmain/withcard/chkinsert", querys, params);
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
|