@ningboyz/apis 1.4.104 → 1.4.106

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.4.104",
3
+ "version": "1.4.106",
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.4.104",
20
+ "@ningboyz/types": "1.4.106",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -537,6 +537,11 @@ class UserRequest {
537
537
  formerly(querys: ICoreUserFormerlyQuerys, params: object) {
538
538
  return this.httpRequest.post<TCore.IUserResponse[]>("/core/tuser/formerly", querys, params);
539
539
  }
540
+
541
+ // 获取用户最近签名
542
+ get4last(querys: IEmptyQuerys) {
543
+ return this.httpRequest.post<TCore.IUserResponse[]>("/core/tuser/touchurl/get4last", querys, undefined);
544
+ }
540
545
  }
541
546
 
542
547
  export default UserRequest;
@@ -1,7 +1,7 @@
1
1
  import { TNoti } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
3
  import { IEmptyQuerys } from "../type";
4
- import { INotiMainAuditd2WithscczQuerys, INotiMainAuditd3WithscczQuerys, INotiMainAuditd4WithscczQuerys, INotiMainDetaildbQuerys, INotiMainDetaildbWithscczQuerys, INotiMainFinishedQuerys, INotiMainFinishedWithscczQuerys, INotiMainGet4NotiQuerys, INotiMainInsertdb1Querys, INotiMainNextNodeWithscczQuerys, INotiMainReadplusQuerys, INotiMainSelectdbQuerys, INotiMainSelectdbWithscczQuerys } from "./types";
4
+ import { INotiMainAuditd2WithscczQuerys, INotiMainAuditd3WithscczQuerys, INotiMainDetaildbQuerys, INotiMainDetaildbWithscczQuerys, INotiMainFinishedQuerys, INotiMainFinishedWithscczQuerys, INotiMainGet4NotiQuerys, INotiMainInsertdb1Querys, INotiMainNextNodeWithscczQuerys, INotiMainReadplusQuerys, INotiMainSelectdbQuerys, INotiMainSelectdbWithscczQuerys } from "./types";
5
5
 
6
6
  class ParaRequest {
7
7
  private httpRequest: HttpRequest;
@@ -153,10 +153,10 @@ class ParaRequest {
153
153
  /**
154
154
  * 承办科室审核收文或督办切换科室
155
155
  * @param querys
156
- * @param params
156
+ * @param params {deptfrom:{}, params:{}}
157
157
  * @returns
158
158
  */
159
- auditd4withsccz(querys: INotiMainAuditd4WithscczQuerys, params: object) {
159
+ auditd4withsccz(querys: IEmptyQuerys, params: object) {
160
160
  return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/withsccz/auditd4", querys, params);
161
161
  }
162
162
 
@@ -126,16 +126,6 @@ export class TNotiMainAuditd3WithscczQuerys implements INotiMainAuditd3WithscczQ
126
126
  notimain: number = -1;
127
127
  }
128
128
 
129
- export interface INotiMainAuditd4WithscczQuerys {
130
- deptfrom: number;
131
- deptfromtext: string;
132
- }
133
-
134
- export class TNotiMainAuditd4WithscczQuerys implements INotiMainAuditd4WithscczQuerys {
135
- deptfrom: number = -1;
136
- deptfromtext: string = "";
137
- }
138
-
139
129
  export interface INotiMainFinishedWithscczQuerys {
140
130
  syspartc: number;
141
131
  sourcend: number;
@@ -15,8 +15,7 @@ import {
15
15
  IZbzdMainUpdatedbQuerys,
16
16
  IZbzdMainUploaddbQuerys,
17
17
  IZbzdMainUseszbhzUploaddbQuerys,
18
- IZbzdMainUseszbkzUploaddbQuerys,
19
- TZbzdMainAuditdbQuerys
18
+ IZbzdMainUseszbkzUploaddbQuerys
20
19
  } from "./types";
21
20
 
22
21
  class ParaRequest {
@@ -184,10 +183,10 @@ class ParaRequest {
184
183
  /**
185
184
  * 修改预算指标
186
185
  * @param querys
187
- * @param params
186
+ * @param params {deptfrom:{},userfrom:{},params:{}}
188
187
  * @returns
189
188
  */
190
- auditdb(querys: TZbzdMainAuditdbQuerys, params: object) {
189
+ auditdb(querys: IEmptyQuerys, params: object) {
191
190
  return this.httpRequest.post<TZbzd.IZbzdMainResponse[]>("/zbzd/tmain/auditdb", querys, params);
192
191
  }
193
192
  }