isdata-customer-sdk 0.2.50 → 0.2.51
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
|
@@ -33713,8 +33713,8 @@ const logoutAccount = async endside_type => {
|
|
|
33713
33713
|
* 服务端解密
|
|
33714
33714
|
*/
|
|
33715
33715
|
const serverDecrypt = async decryptStr => {
|
|
33716
|
-
|
|
33717
|
-
let home_page = `http://127.0.0.1:8280`;
|
|
33716
|
+
let home_page = `http://${window.location.hostname}:8280`;
|
|
33717
|
+
// let home_page = `http://127.0.0.1:8280`;
|
|
33718
33718
|
let questUrl = `${home_page}/portal/serverDecrypt`;
|
|
33719
33719
|
let queryData = {
|
|
33720
33720
|
param: {
|
|
@@ -33749,8 +33749,8 @@ const viewEncrypt = async decryptStr => {
|
|
|
33749
33749
|
* 服务端加密
|
|
33750
33750
|
*/
|
|
33751
33751
|
const serverEncrypt = async encryptStr => {
|
|
33752
|
-
|
|
33753
|
-
let home_page = `http://127.0.0.1:8280`;
|
|
33752
|
+
let home_page = `http://${window.location.hostname}:8280`;
|
|
33753
|
+
// let home_page = `http://127.0.0.1:8280`;
|
|
33754
33754
|
let questUrl = `${home_page}/portal/serverEncrypt`;
|
|
33755
33755
|
let queryData = {
|
|
33756
33756
|
param: {
|