component-shipinlv 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
package/dist/AuthClient/login.js
CHANGED
@@ -52,7 +52,9 @@ var AuthReg = function AuthReg(_ref) {
|
|
52
52
|
_Form$useForm2 = _slicedToArray(_Form$useForm, 1),
|
53
53
|
form = _Form$useForm2[0];
|
54
54
|
var _useRequest = useRequest(function (data) {
|
55
|
-
return AuthController.login(_objectSpread(_objectSpread({
|
55
|
+
return AuthController.login(_objectSpread(_objectSpread({
|
56
|
+
from: "web"
|
57
|
+
}, data), {}, {
|
56
58
|
inviteUserId: Tool.getInviteUserId()
|
57
59
|
}));
|
58
60
|
}, {
|
@@ -1,11 +1,13 @@
|
|
1
1
|
export declare function login(body: {
|
2
2
|
accountName: string;
|
3
3
|
password: string;
|
4
|
+
from: "web";
|
4
5
|
inviteUserId: number;
|
5
6
|
}): Promise<UserAuth.LoginSuccessData>;
|
6
7
|
export declare function weMiniLoginQr(body: {
|
7
8
|
loginId: string;
|
8
9
|
loginType: 'client';
|
10
|
+
from: string;
|
9
11
|
inviteUserId: number;
|
10
12
|
env: Global.Env;
|
11
13
|
}): Promise<UserAuth.WeQrResult>;
|