@ningboyz/apis 1.2.73 → 1.2.75

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.2.73",
3
+ "version": "1.2.75",
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.2.73",
20
+ "@ningboyz/types": "1.2.75",
21
21
  "axios": "1.8.4"
22
22
  },
23
23
  "devDependencies": {}
@@ -5,10 +5,10 @@ export interface IBillMainUpdatedbQuerys {}
5
5
  export class TBillMainUpdatedbQuerys implements IBillMainUpdatedbQuerys {}
6
6
 
7
7
  export interface IBillMainDetaildbQuerys {
8
- billIndx: number;
8
+ billmain: number;
9
9
  }
10
10
  export class TBillMainDetaildbQuerys implements IBillMainDetaildbQuerys {
11
- billIndx: number = -1;
11
+ billmain: number = -1;
12
12
  }
13
13
 
14
14
  export interface IBillMainDeletedbQuerys {}
@@ -54,7 +54,7 @@ class DictRequest {
54
54
  }
55
55
 
56
56
  /**
57
- * 更新字典信息
57
+ * 字典信息详情
58
58
  * @param querys
59
59
  * @returns
60
60
  */
@@ -44,6 +44,14 @@ class SkdwRequest {
44
44
  deletedb(querys: IEmptyQuerys, params: object) {
45
45
  return this.httpRequest.post<TCore.IUserAcnoResponse[]>("/core/tskdw/deletedb", querys, params);
46
46
  }
47
+
48
+ /**
49
+ * 银行账号详情
50
+ * @returns
51
+ */
52
+ detaildb(querys: IEmptyQuerys, params: object) {
53
+ return this.httpRequest.post<TCore.IUserAcnoResponse[]>("/core/tskdw/detaildb", querys, params);
54
+ }
47
55
  }
48
56
 
49
57
  export default SkdwRequest;
@@ -528,6 +528,16 @@ export class TCoreUserScanloginQuerys implements ICoreUserScanloginQuerys {
528
528
  code: string = "";
529
529
  }
530
530
 
531
+ export interface ICoreUserVerifydbAuthcodeQuerys {
532
+ appid: string;
533
+ code: string;
534
+ }
535
+
536
+
537
+ export class TCoreUserVerifydbAuthcodeQuerys implements ICoreUserVerifydbAuthcodeQuerys {
538
+ appid: string = "";
539
+ code: string = "";
540
+ }
531
541
  export interface ICoreUserVerifydbDingdingQuerys {
532
542
  thirdapp: "DD" | "SSO" | "";
533
543
  }
@@ -27,6 +27,7 @@ import {
27
27
  ICoreUserUploadd2Querys,
28
28
  ICoreUserUploadd3Querys,
29
29
  ICoreUserUploaddbQuerys,
30
+ ICoreUserVerifydbAuthcodeQuerys,
30
31
  ICoreUserVerifydbDingdingQuerys
31
32
  } from "./types";
32
33
  import { IEmptyQuerys } from "../type";
@@ -334,6 +335,15 @@ class UserRequest {
334
335
  return this.httpRequest.post<TCore.IUserResponse[]>(`${querys.ddurl}/dapi/user/get_userinfo_by_qrcode?appid=${querys.appid}&authcode=${querys.code}`);
335
336
  }
336
337
 
338
+ /**
339
+ * 通过授权码登录
340
+ * @param querys
341
+ * @returns
342
+ */
343
+ verifydbAuthcode(querys: ICoreUserVerifydbAuthcodeQuerys) {
344
+ return this.httpRequest.post<TCore.IUserResponse[]>(`/dapi/user/get_userinfo_by_authcode`, querys, undefined);
345
+ }
346
+
337
347
  /**
338
348
  * 扫码三方登录
339
349
  * @param querys