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 CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='4.0.0'
1
+ VERSION='4.0.2'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
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 = (app_title_id,domain_url,action_url,params) =>{
20
+ const get_cloud_url_main = (app_id,domain_url,action_url,params) =>{
21
21
  if(!params){
22
22
  params='';
23
23
  }
24
- var app_title_id_url='?app_title_id='+app_title_id;
25
- return domain_url+"/"+action_url+app_title_id_url + params;
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
  /*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "3.9.10",
3
+ "version": "3.9.12",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"