@ningboyz/apis 1.3.164 → 1.3.166

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.3.164",
3
+ "version": "1.3.166",
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.3.164",
20
+ "@ningboyz/types": "1.3.166",
21
21
  "axios": "1.8.4",
22
22
  "lodash": "^4.17.21"
23
23
  },
@@ -1,6 +1,6 @@
1
1
  import { TNoti } from "@ningboyz/types";
2
2
  import type { HttpRequest } from "../axios";
3
- import { INotiMainDetaildbQuerys, INotiMainFinishedQuerys, INotiMainGet4NotiQuerys, INotiMainSelectdbQuerys, INotiMainInsertdb1Querys } from "./types";
3
+ import { INotiMainDetaildbQuerys, INotiMainFinishedQuerys, INotiMainGet4NotiQuerys, INotiMainSelectdbQuerys, INotiMainInsertdb1Querys, INotiMainReadplusQuerys } from "./types";
4
4
 
5
5
  class ParaRequest {
6
6
  private httpRequest: HttpRequest;
@@ -78,6 +78,14 @@ class ParaRequest {
78
78
  get4noti(querys: INotiMainGet4NotiQuerys) {
79
79
  return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/get4noti", querys);
80
80
  }
81
+ /**
82
+ * 标记消息己读
83
+ * @param querys
84
+ * @returns
85
+ */
86
+ readplus(querys: INotiMainReadplusQuerys) {
87
+ return this.httpRequest.post<TNoti.INotiMainResponse[]>("/noti/tmain/readplus", querys);
88
+ }
81
89
  }
82
90
 
83
91
  export default ParaRequest;
@@ -46,3 +46,10 @@ export class TNotiMainGet4NotiQuerys implements INotiMainGet4NotiQuerys {
46
46
  syspartc: number = -1;
47
47
  sourcend: number = -1;
48
48
  }
49
+ export interface INotiMainReadplusQuerys {
50
+ //公告标识;noti.tmain.entityID
51
+ entityid: string;
52
+ }
53
+ export class TNotiMainReadplusQuerys implements INotiMainReadplusQuerys {
54
+ entityid: string = "";
55
+ }