@ningboyz/apis 1.7.162 → 1.7.163

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.7.162",
3
+ "version": "1.7.163",
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.7.160",
20
+ "@ningboyz/types": "1.7.163",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -1,6 +1,6 @@
1
1
  import { TCron } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
- import { ICronTodoSelectdbQuerys } from "./types";
3
+ import { ICronTodoDeleted2Querys, ICronTodoSelectdbQuerys } from "./types";
4
4
 
5
5
  class CronRequest {
6
6
  private httpRequest: HttpRequest;
@@ -16,6 +16,15 @@ class CronRequest {
16
16
  selectdb(querys: ICronTodoSelectdbQuerys) {
17
17
  return this.httpRequest.post<TCron.ICronMainResponse[]>("/gapi/cron/ttodo/selectdb", querys, undefined);
18
18
  }
19
+
20
+ /**
21
+ * 删除定时预警
22
+ * @param querys
23
+ * @returns
24
+ */
25
+ deleted2(querys: ICronTodoDeleted2Querys) {
26
+ return this.httpRequest.post<TCron.ICronMainResponse[]>("/gapi/cron/ttodo/deleted2", querys, undefined);
27
+ }
19
28
  }
20
29
 
21
30
  export default CronRequest;
@@ -34,3 +34,11 @@ export class TCronTodoSelectdbQuerys implements ICronTodoSelectdbQuerys {
34
34
  useronly: number = -1;
35
35
  yesiknow: number = -1;
36
36
  }
37
+
38
+ export interface ICronTodoDeleted2Querys {
39
+ billuuid: string;
40
+ }
41
+
42
+ export class TCronTodoDeleted2Querys implements ICronTodoDeleted2Querys {
43
+ billuuid: string = "";
44
+ }