isdata-customer-sdk 0.1.81 → 0.1.82
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/dist/index.umd.js
CHANGED
|
@@ -32317,7 +32317,11 @@ const loginAccount = async (data, appid) => {
|
|
|
32317
32317
|
if (key_code == data.password) {
|
|
32318
32318
|
pwd_code = window.appSdk.Encrypt(pwd_code);
|
|
32319
32319
|
data.password = pwd_code;
|
|
32320
|
-
result = await request.post(
|
|
32320
|
+
// result = await request.post(
|
|
32321
|
+
// `/system/authority/loginAccount4Application?authPicCode=${data.imageCode}&dataappId=${appid}&mobileOrWeb=web`,
|
|
32322
|
+
// data
|
|
32323
|
+
// );
|
|
32324
|
+
result = await request.post(`/system/authority/loginAccount4Application?dataappId=${appid}&mobileOrWeb=web`, data);
|
|
32321
32325
|
response = JSON.parse(result.request.response);
|
|
32322
32326
|
code = response.code;
|
|
32323
32327
|
//登录平台成功
|