@ningboyz/apis 1.0.158 → 1.0.159
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/gams/cnfg.ts +6 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.159",
|
|
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.159",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
package/packages/gams/cnfg.ts
CHANGED
|
@@ -12,40 +12,40 @@ class CnfgRequest {
|
|
|
12
12
|
* 获取标准账套列表
|
|
13
13
|
*/
|
|
14
14
|
selectdb(querys: IGamsCnfgSelectdbQuerys) {
|
|
15
|
-
return this.httpRequest.post<TGams.IGamsCnfgResponse>("/gams/tcnfg/selectdb", querys, undefined);
|
|
15
|
+
return this.httpRequest.post<TGams.IGamsCnfgResponse[]>("/gams/tcnfg/selectdb", querys, undefined);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* 添加标准账套
|
|
20
20
|
*/
|
|
21
21
|
insertdb(querys: IGamsCnfgInsertdbQuerys, params: object) {
|
|
22
|
-
return this.httpRequest.post<TGams.IGamsCnfgResponse>("/gams/tcnfg/insertdb", querys, params);
|
|
22
|
+
return this.httpRequest.post<TGams.IGamsCnfgResponse[]>("/gams/tcnfg/insertdb", querys, params);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* 修改标准账套
|
|
27
27
|
*/
|
|
28
28
|
updatedb(querys: IGamsCnfgInsertdbQuerys, params: object) {
|
|
29
|
-
return this.httpRequest.post<TGams.IGamsCnfgResponse>("/gams/tcnfg/updatedb", querys, params);
|
|
29
|
+
return this.httpRequest.post<TGams.IGamsCnfgResponse[]>("/gams/tcnfg/updatedb", querys, params);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* 删除标准账套
|
|
34
34
|
*/
|
|
35
35
|
deletedb(querys: IGamsCnfgInsertdbQuerys, params: object) {
|
|
36
|
-
return this.httpRequest.post<TGams.IGamsCnfgResponse>("/gams/tcnfg/deletedb", querys, params);
|
|
36
|
+
return this.httpRequest.post<TGams.IGamsCnfgResponse[]>("/gams/tcnfg/deletedb", querys, params);
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* 获取标准详情
|
|
40
40
|
*/
|
|
41
41
|
detaildb(querys: IGamsCnfgDetaildbQuerys) {
|
|
42
|
-
return this.httpRequest.post<TGams.IGamsCnfgResponse>("/gams/tcnfg/detaildb", querys, undefined);
|
|
42
|
+
return this.httpRequest.post<TGams.IGamsCnfgResponse[]>("/gams/tcnfg/detaildb", querys, undefined);
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
45
|
* 结转下一年度
|
|
46
46
|
*/
|
|
47
47
|
nextyear(querys: IGamsCnfgInsertdbQuerys, params: object) {
|
|
48
|
-
return this.httpRequest.post<TGams.IGamsCnfgResponse>("/gams/tcnfg/nextyear", querys, params);
|
|
48
|
+
return this.httpRequest.post<TGams.IGamsCnfgResponse[]>("/gams/tcnfg/nextyear", querys, params);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
|