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.
Files changed (3) hide show
  1. package/biz9_config +1 -1
  2. package/index.js +8 -0
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='4.6.1'
1
+ VERSION='4.6.3'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.5.11",
3
+ "version": "4.5.13",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"