biz9-logic 3.9.10 → 3.9.12
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/biz9_config +1 -1
- package/index.js +2 -0
- package/main.js +3 -3
- package/package.json +1 -1
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -597,6 +597,8 @@ class Storage {
|
|
|
597
597
|
static KEY_USER="key_user";
|
|
598
598
|
static KEY_BUSINESS="key_business";
|
|
599
599
|
static KEY_GUEST="key_guest";
|
|
600
|
+
static KEY_APP_ID="key_app_id";
|
|
601
|
+
|
|
600
602
|
static get = (window,key) => {
|
|
601
603
|
return JSON.parse(window.localStorage.getItem(key));
|
|
602
604
|
}
|
package/main.js
CHANGED
|
@@ -17,12 +17,12 @@ const get_new_item_main = (data_type,id) => {
|
|
|
17
17
|
}
|
|
18
18
|
return {data_type:data_type,id:id};
|
|
19
19
|
}
|
|
20
|
-
const get_cloud_url_main = (
|
|
20
|
+
const get_cloud_url_main = (app_id,domain_url,action_url,params) =>{
|
|
21
21
|
if(!params){
|
|
22
22
|
params='';
|
|
23
23
|
}
|
|
24
|
-
var
|
|
25
|
-
return domain_url+"/"+action_url+
|
|
24
|
+
var app_id_url='?app_id='+app_id;
|
|
25
|
+
return domain_url+"/"+action_url+app_id_url + params;
|
|
26
26
|
}
|
|
27
27
|
const get_biz_item_main=(biz9_config,item,options) =>{
|
|
28
28
|
/*
|