biz9-logic 4.8.197 → 4.8.200
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 +4 -4
- package/package.json +1 -1
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -1835,21 +1835,21 @@ class Storage {
|
|
|
1835
1835
|
return null;
|
|
1836
1836
|
}
|
|
1837
1837
|
}
|
|
1838
|
-
static
|
|
1838
|
+
static post = (window,key,obj) => {
|
|
1839
1839
|
if(!Obj.check_is_empty(window)){
|
|
1840
1840
|
if(window.localStorage){
|
|
1841
1841
|
window.localStorage.setItem(key,JSON.stringify(obj));
|
|
1842
1842
|
}
|
|
1843
1843
|
}
|
|
1844
1844
|
}
|
|
1845
|
-
static
|
|
1845
|
+
static delete = (window,key) =>{
|
|
1846
1846
|
if(!Obj.check_is_empty(window)){
|
|
1847
1847
|
if(window.localStorage){
|
|
1848
1848
|
window.localStorage.removeItem(key);
|
|
1849
1849
|
}
|
|
1850
1850
|
}
|
|
1851
1851
|
}
|
|
1852
|
-
static
|
|
1852
|
+
static delete_all = (window) =>{
|
|
1853
1853
|
if(!Obj.check_is_empty(window)){
|
|
1854
1854
|
if(window.localStorage){
|
|
1855
1855
|
window.localStorage.clear();
|
|
@@ -1900,7 +1900,7 @@ class User_Logic {
|
|
|
1900
1900
|
}
|
|
1901
1901
|
return req.session.user;
|
|
1902
1902
|
}
|
|
1903
|
-
static
|
|
1903
|
+
static post_request_user(req){
|
|
1904
1904
|
req.session.user=user;
|
|
1905
1905
|
}
|
|
1906
1906
|
static del_request_user(req){
|