@ningboyz/apis 1.8.33 → 1.8.35

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.8.33",
3
+ "version": "1.8.35",
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.8.33",
20
+ "@ningboyz/types": "1.8.35",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -500,8 +500,8 @@ class UserRequest {
500
500
  * @param header
501
501
  * @returns
502
502
  */
503
- updatemm(querys: ICoreUserUpdatemmQuerys, header: object) {
504
- return this.httpRequest.post<string>("/gapi/core/tuser/updatemm", querys, undefined, header);
503
+ updatemm(querys: ICoreUserUpdatemmQuerys, params: object, header: object) {
504
+ return this.httpRequest.post<string>("/gapi/core/tuser/updatemm", querys, params, header);
505
505
  }
506
506
 
507
507
  /**
@@ -1,6 +1,6 @@
1
1
  import type { TTask } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
- import { ITaskMainDetaildbQuerys, ITaskMainSelectdbQuerys } from "./types";
3
+ import { ISelectdbWithgzzdQuerys, ITaskMainDetaildbQuerys, ITaskMainSelectdbQuerys } from "./types";
4
4
 
5
5
  class MainRequest {
6
6
  private httpRequest: HttpRequest;
@@ -60,6 +60,12 @@ class MainRequest {
60
60
  get4task() {
61
61
  return this.httpRequest.post<TTask.ITaskMainResponse[]>("/gapi/task/tmain/get4task", undefined, undefined);
62
62
  }
63
- }
64
63
 
65
- export default MainRequest;
64
+ /**
65
+ * 获取任务列表(V2)
66
+ */
67
+
68
+ selectdbWithgzzd(querys: ISelectdbWithgzzdQuerys, params: object) {
69
+ return this.httpRequest.post<TTask.ITaskMainResponse[]>("/gapi/task/tmain/selectdb/withgzzd", querys, params);
70
+ }
71
+ }
@@ -16,3 +16,15 @@ export interface ITaskMainDetaildbQuerys {
16
16
  export class TTaskMainDetaildbQuerys implements ITaskMainDetaildbQuerys {
17
17
  taskmain: number = -1;
18
18
  }
19
+
20
+ export interface ISelectdbWithgzzdQuerys {
21
+ useronly: number;
22
+ gzjgmain: number;
23
+ unitmain: number;
24
+ }
25
+
26
+ export class TSelectdbWithgzzdQuerys implements ISelectdbWithgzzdQuerys {
27
+ useronly: number = -1;
28
+ gzjgmain: number = -1;
29
+ unitmain: number = -1;
30
+ }