biz9-logic 4.8.67 → 4.8.70
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 +8 -8
- package/package.json +1 -1
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -616,6 +616,11 @@ class FieldType {
|
|
|
616
616
|
static STAT_VIEW_ID='1';
|
|
617
617
|
static STAT_LIKE_ID='2';
|
|
618
618
|
static STAT_POST_ID='3';
|
|
619
|
+
static KEY_ADMIN="key_admin";
|
|
620
|
+
static KEY_USER="key_user";
|
|
621
|
+
static KEY_BUSINESS="key_business";
|
|
622
|
+
static KEY_GUEST="key_guest";
|
|
623
|
+
static KEY_APP_ID="key_app_id";
|
|
619
624
|
}
|
|
620
625
|
class Social {
|
|
621
626
|
static FACEBOOK_URL="https://facebook.com/";
|
|
@@ -1131,8 +1136,8 @@ class Url{
|
|
|
1131
1136
|
let action_url= "main/crud/get/"+data_type + "/" + key;
|
|
1132
1137
|
return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,null);
|
|
1133
1138
|
};
|
|
1134
|
-
static
|
|
1135
|
-
let action_url = "main/crud/
|
|
1139
|
+
static get_parent_top = (biz9_config,data_type,id,parent_data_type,parent_id,top_data_type,top_id) => {
|
|
1140
|
+
let action_url = "main/crud/get_parent_top/"+data_type+"/"+id+"/"+parent_data_type+ "/"+parent_id+"/"+top_data_type+ "/"+top_id;
|
|
1136
1141
|
return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,null);
|
|
1137
1142
|
};
|
|
1138
1143
|
static search = (biz9_config,data_type) => {
|
|
@@ -1462,12 +1467,7 @@ class Schedule {
|
|
|
1462
1467
|
}
|
|
1463
1468
|
};
|
|
1464
1469
|
class Storage {
|
|
1465
|
-
|
|
1466
|
-
static KEY_USER="key_user";
|
|
1467
|
-
static KEY_BUSINESS="key_business";
|
|
1468
|
-
static KEY_GUEST="key_guest";
|
|
1469
|
-
static KEY_APP_ID="key_app_id";
|
|
1470
|
-
static get = (window,key) => {
|
|
1470
|
+
static get = (window,key) => {
|
|
1471
1471
|
return JSON.parse(window.localStorage.getItem(key));
|
|
1472
1472
|
}
|
|
1473
1473
|
static set = (window,key,obj) => {
|