biz9-logic 4.5.11 → 4.5.13
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 -0
- package/package.json +1 -1
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -603,6 +603,12 @@ class DataItem {
|
|
|
603
603
|
return r_list;
|
|
604
604
|
}
|
|
605
605
|
}
|
|
606
|
+
class Product_Url {
|
|
607
|
+
static get = (biz9_config,title_url,params) => {
|
|
608
|
+
let action_url="product/get/"+title_url;
|
|
609
|
+
return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,params);
|
|
610
|
+
};
|
|
611
|
+
}
|
|
606
612
|
class BiZ_Url {
|
|
607
613
|
static get_item = (biz9_config,data_type,id,params) => {
|
|
608
614
|
let action_url="main/biz_item/get/"+data_type+"/"+id;
|
|
@@ -737,6 +743,7 @@ class Category_Logic {
|
|
|
737
743
|
static get_category_list = () => {
|
|
738
744
|
return [
|
|
739
745
|
{data_type:DataType.BLOG_POST,value:DataType.BLOG_POST,label:"Blog Posts"},
|
|
746
|
+
{data_type:DataType.CATEGORY,value:DataType.CATEGORY,label:"Category"},
|
|
740
747
|
{data_type:DataType.CONTENT,value:DataType.CONTENT,label:"Content"},
|
|
741
748
|
{data_type:DataType.EVENT,value:DataType.EVENT,label:"Events"},
|
|
742
749
|
{data_type:DataType.GALLERY,value:DataType.GALLERY,label:"Galleries"},
|
|
@@ -1103,6 +1110,7 @@ module.exports = {
|
|
|
1103
1110
|
Message,
|
|
1104
1111
|
Obj,
|
|
1105
1112
|
Page_Logic,
|
|
1113
|
+
Product_Url,
|
|
1106
1114
|
PageType,
|
|
1107
1115
|
Product_Logic,
|
|
1108
1116
|
Review_Logic,
|