@ningboyz/apis 1.5.176 → 1.5.177

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.5.176",
3
+ "version": "1.5.177",
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.5.176",
20
+ "@ningboyz/types": "1.5.177",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -1,5 +1,5 @@
1
1
  import type { HttpRequest } from "../axios";
2
- import { IDingMakeNotiQuerys } from "./types";
2
+ import { IDingFreeNotiQuerys, IDingMakeNotiQuerys } from "./types";
3
3
 
4
4
  class MainRequest {
5
5
  private httpRequest: HttpRequest;
@@ -15,6 +15,15 @@ class MainRequest {
15
15
  makenoti(querys: IDingMakeNotiQuerys, params: object) {
16
16
  return this.httpRequest.post<[]>("/gapi/ding/tmain/withcron/makenoti", querys, params);
17
17
  }
18
+
19
+ /**
20
+ * 撤销提示通知
21
+ * @param querys
22
+ * @returns
23
+ */
24
+ freenoti(querys: IDingFreeNotiQuerys, params: object) {
25
+ return this.httpRequest.post<[]>("/gapi/ding/tmain/freenoti", querys, params);
26
+ }
18
27
  }
19
28
 
20
29
  export default MainRequest;
@@ -14,3 +14,14 @@ export class TDingMakeNotiQuerys implements IDingMakeNotiQuerys {
14
14
  dingnoti: number = -1;
15
15
  dingtodo: number = -1;
16
16
  }
17
+
18
+ export interface IDingFreeNotiQuerys {
19
+ billuuid: string;
20
+ useruuid: string;
21
+ }
22
+
23
+ export class TDingFreeNotiQuerys implements IDingFreeNotiQuerys {
24
+ billuuid: string = "";
25
+ useruuid: string = "";
26
+ }
27
+