@ningboyz/apis 1.0.73 → 1.0.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 +2 -2
- package/packages/core/types.ts +4 -4
- package/packages/core/user.ts +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ningboyz/apis",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.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.0.
|
|
20
|
+
"@ningboyz/types": "1.0.75",
|
|
21
21
|
"axios": "1.8.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {}
|
package/packages/core/types.ts
CHANGED
|
@@ -398,16 +398,16 @@ export class TCoreUserUpdatemmQuerys implements ICoreUserUpdatemmQuerys {
|
|
|
398
398
|
pswd4old: string = "";
|
|
399
399
|
}
|
|
400
400
|
|
|
401
|
-
export interface
|
|
401
|
+
export interface ICoreUserInitpswdQuerys {
|
|
402
402
|
whobuild: number;
|
|
403
403
|
userindx: number;
|
|
404
|
-
initpswd:
|
|
404
|
+
initpswd: string;
|
|
405
405
|
}
|
|
406
406
|
|
|
407
|
-
export class
|
|
407
|
+
export class TCoreUserInitpswdQuerys implements ICoreUserInitpswdQuerys {
|
|
408
408
|
whobuild: number = -1;
|
|
409
409
|
userindx: number = -1;
|
|
410
|
-
initpswd:
|
|
410
|
+
initpswd: string = "";
|
|
411
411
|
}
|
|
412
412
|
|
|
413
413
|
export interface ICoreUserMobileidUpdatedbQuerys {
|
package/packages/core/user.ts
CHANGED
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
ICoreUserGet4LaidQuerys,
|
|
11
11
|
ICoreUserGet4PartQuerys,
|
|
12
12
|
ICoreUserGet4WlzfQuerys,
|
|
13
|
+
ICoreUserInitpswdQuerys,
|
|
13
14
|
ICoreUserMobileidUpdatedbQuerys,
|
|
14
15
|
ICoreUserScanloginQuerys,
|
|
15
16
|
ICoreUserSelectdbCamelcaseQuerys,
|
|
@@ -17,8 +18,7 @@ import {
|
|
|
17
18
|
ICoreUserSendMessageQuerys,
|
|
18
19
|
ICoreUserSourcendSet4kjndQuerys,
|
|
19
20
|
ICoreUserUpdatemmQuerys,
|
|
20
|
-
ICoreUserVerifydbDingdingQuerys
|
|
21
|
-
TCoreUserClearpwdQuerys
|
|
21
|
+
ICoreUserVerifydbDingdingQuerys
|
|
22
22
|
} from "./types";
|
|
23
23
|
|
|
24
24
|
class UserRequest {
|
|
@@ -196,8 +196,8 @@ class UserRequest {
|
|
|
196
196
|
* @param querys
|
|
197
197
|
* @param params
|
|
198
198
|
*/
|
|
199
|
-
|
|
200
|
-
return this.httpRequest.post<string>("/core/tuser/
|
|
199
|
+
initpswd(querys: ICoreUserInitpswdQuerys, params: object) {
|
|
200
|
+
return this.httpRequest.post<string>("/core/tuser/initpswd", querys, params);
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
/**
|