isdata-customer-sdk 0.1.80 → 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.common.js
CHANGED
|
@@ -29623,10 +29623,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29623
29623
|
validateSSOPageLoaded: function() { return /* reexport */ validateSSOPageLoaded; }
|
|
29624
29624
|
});
|
|
29625
29625
|
|
|
29626
|
-
// NAMESPACE OBJECT: ./node_modules/ua-parser-js/src/main/ua-parser.mjs
|
|
29627
|
-
var ua_parser_namespaceObject = {};
|
|
29628
|
-
__webpack_require__.r(ua_parser_namespaceObject);
|
|
29629
|
-
|
|
29630
29626
|
;// ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js
|
|
29631
29627
|
/* eslint-disable no-var */
|
|
29632
29628
|
// This file is imported into lib/wc client bundles.
|
|
@@ -32311,14 +32307,18 @@ const loginAccount = async (data, appid) => {
|
|
|
32311
32307
|
if (key_code == data.password) {
|
|
32312
32308
|
pwd_code = window.appSdk.Encrypt(pwd_code);
|
|
32313
32309
|
data.password = pwd_code;
|
|
32314
|
-
result = await request.post(
|
|
32310
|
+
// result = await request.post(
|
|
32311
|
+
// `/system/authority/loginAccount4Application?authPicCode=${data.imageCode}&dataappId=${appid}&mobileOrWeb=web`,
|
|
32312
|
+
// data
|
|
32313
|
+
// );
|
|
32314
|
+
result = await request.post(`/system/authority/loginAccount4Application?dataappId=${appid}&mobileOrWeb=web`, data);
|
|
32315
32315
|
response = JSON.parse(result.request.response);
|
|
32316
32316
|
code = response.code;
|
|
32317
32317
|
//登录平台成功
|
|
32318
32318
|
if (code == 10110004) {
|
|
32319
32319
|
let id = response.id;
|
|
32320
32320
|
// 初始化解析器
|
|
32321
|
-
const parser = new
|
|
32321
|
+
const parser = new UAParser();
|
|
32322
32322
|
// 获取浏览器信息
|
|
32323
32323
|
const browser = parser.getBrowser();
|
|
32324
32324
|
let timestamp = new Date().getTime();
|