@ningboyz/apis 1.0.45 → 1.0.46

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.0.45",
3
+ "version": "1.0.46",
4
4
  "private": false,
5
5
  "description": "宁波甬政请求库",
6
6
  "author": "nbyt-syq",
@@ -0,0 +1,15 @@
1
+ import type { HttpRequest } from "../axios";
2
+ import { IElemElemResponse } from "../../../types/src/elem/IElemElemResponse";
3
+ import { IElemSelectdbQuerys } from "./type";
4
+ class ParaRequest {
5
+ private httpRequest: HttpRequest;
6
+ constructor(httpRequest: HttpRequest) {
7
+ this.httpRequest = httpRequest;
8
+ }
9
+
10
+ selectdb(querys: IElemSelectdbQuerys) {
11
+ return this.httpRequest.post<IElemElemResponse[]>(`/elem/telem/selectdb`, querys, undefined);
12
+ }
13
+ }
14
+
15
+ export default ParaRequest;
@@ -0,0 +1,7 @@
1
+ export interface IElemSelectdbQuerys {
2
+ sourcend: number;
3
+ }
4
+
5
+ export class TElemSelectdbQuerys implements IElemSelectdbQuerys {
6
+ sourcend: number = -1;
7
+ }