biz9-logic 4.9.66 → 4.9.68
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 -9
- package/package.json +1 -1
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -1812,7 +1812,7 @@ class App_Logic {
|
|
|
1812
1812
|
return {data_type:data_type,filter:filter,sort_by:sort_by,page_current:page_current,page_size:page_size};
|
|
1813
1813
|
}
|
|
1814
1814
|
static get_not_found = (data_type,id,option) =>{
|
|
1815
|
-
option=option?option:{
|
|
1815
|
+
option=option?option:{};
|
|
1816
1816
|
if(data_type != DataType.USER){
|
|
1817
1817
|
if(!id){
|
|
1818
1818
|
id=0;
|
|
@@ -1824,9 +1824,6 @@ class App_Logic {
|
|
|
1824
1824
|
item.title_url = Str.get_title_url(item.title);
|
|
1825
1825
|
item.images = [];
|
|
1826
1826
|
item.items = [];
|
|
1827
|
-
if(option.app_id){
|
|
1828
|
-
item.app_id = option.app_id;
|
|
1829
|
-
}
|
|
1830
1827
|
return item;
|
|
1831
1828
|
}else{
|
|
1832
1829
|
let user = User_Logic.get_test("",{get_blank:true})
|
|
@@ -1837,9 +1834,6 @@ class App_Logic {
|
|
|
1837
1834
|
user.title_url = Str.get_title_url(user.title);
|
|
1838
1835
|
user.images = [];
|
|
1839
1836
|
user.items = [];
|
|
1840
|
-
if(option.app_id){
|
|
1841
|
-
user.app_id = option.app_id;
|
|
1842
|
-
}
|
|
1843
1837
|
return user;
|
|
1844
1838
|
}
|
|
1845
1839
|
|
|
@@ -1899,8 +1893,7 @@ class App_Logic {
|
|
|
1899
1893
|
item_count:item_count?item_count:0,
|
|
1900
1894
|
page_count:page_count?page_count:1,
|
|
1901
1895
|
filter:filter?filter:{},
|
|
1902
|
-
data_list:data_list?data_list:[]
|
|
1903
|
-
app_id:app_id?app_id:null,
|
|
1896
|
+
data_list:data_list?data_list:[]
|
|
1904
1897
|
}
|
|
1905
1898
|
}
|
|
1906
1899
|
}
|