@ningboyz/apis 1.4.2 → 1.4.3

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.2",
3
+ "version": "1.4.3",
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.2",
20
+ "@ningboyz/types": "1.4.3",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -1,6 +1,6 @@
1
1
  import type { TCore } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
- import { ICoreSystravelSelectdbQuerys } from "./types";
3
+ import { ICoreSystravelSelectdb2Querys, ICoreSystravelSelectdbQuerys } from "./types";
4
4
 
5
5
  class SysTravelRequest {
6
6
  private httpRequest: HttpRequest;
@@ -17,6 +17,15 @@ class SysTravelRequest {
17
17
  return this.httpRequest.post<TCore.ISysTravelResponse[]>("/core/tsystravel/selectdb", querys, undefined);
18
18
  }
19
19
 
20
+ /**
21
+ * 获取审计日志
22
+ * @param querys
23
+ * @returns
24
+ */
25
+ selectdb2(querys: ICoreSystravelSelectdb2Querys) {
26
+ return this.httpRequest.post<TCore.ISysTravelResponse[]>("/core/tsystravel/selectdb", querys, undefined);
27
+ }
28
+
20
29
  /**
21
30
  * 新增审计日志
22
31
  * @param params
@@ -337,6 +337,18 @@ export class TCoreSystravelSelectdbQuerys implements ICoreSystravelSelectdbQuery
337
337
  tablfrom: "WEB" | "MOBILE" | "DINGDING" | "ZWDD" | "WEIXIN" = "WEB";
338
338
  }
339
339
 
340
+ export interface ICoreSystravelSelectdb2Querys {
341
+ useronly: number;
342
+ tablfrom: "WEB" | "MOBILE" | "DINGDING" | "ZWDD" | "WEIXIN";
343
+ queuesby: string;
344
+ }
345
+
346
+ export class TCoreSystravelSelectdb2Querys implements ICoreSystravelSelectdb2Querys {
347
+ useronly: number = -1;
348
+ tablfrom: "WEB" | "MOBILE" | "DINGDING" | "ZWDD" | "WEIXIN" = "WEB";
349
+ queuesby: string = "";
350
+ }
351
+
340
352
  /** ========== type ========== */
341
353
  export interface ICoreTypeSelectdbQuerys {
342
354
  typemain: number;