biz9-logic 4.8.331 → 4.8.332

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 +60 -2
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='8.1.1'
1
+ VERSION='8.1.2'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -224,8 +224,6 @@ class Stat_Logic {
224
224
  default:
225
225
  return "N/A";
226
226
  break;
227
-
228
-
229
227
  }
230
228
  }
231
229
  }
@@ -1797,6 +1795,65 @@ class Image_Logic {
1797
1795
  ];
1798
1796
  }
1799
1797
  }
1798
+ class Url_Logic {
1799
+ //blog_post
1800
+ static URL_BLOG_POST_DETAIL="blog_post/detail";
1801
+ static URL_BLOG_POST_HOME="blog_post/home";
1802
+ static URL_BLOG_POST_SEARCH="blog_post/search";
1803
+ //cart
1804
+ static URL_CART_DELETE="item/delete_cart";
1805
+ static URL_CART_GET="item/get_cart";
1806
+ static URL_CART_POST="item/post_cart";
1807
+ static URL_CART_SEARCH="item/search_cart";
1808
+ //category
1809
+ static URL_CATEGORY_DETAIL="category/detail";
1810
+ static URL_CATEGORY_HOME="category/home";
1811
+ static URL_CATEGORY_SEARCH="category/search";
1812
+ //content
1813
+ static URL_CONTENT_GET="item/get_content";
1814
+ //dashboard
1815
+ static URL_DASHBOARD_USER_HOME="dashboard/user_home";
1816
+ static URL_DASHBOARD_APP_HOME="dashboard/app_home";
1817
+ //event
1818
+ static URL_EVENT_DETAIL="event/detail";
1819
+ static URL_EVENT_HOME="event/home";
1820
+ static URL_EVENT_SEARCH="event/search";
1821
+ //favorite
1822
+ static URL_FAVORITE_POST="item/post_favorite";
1823
+ static URL_FAVORITE_SEARCH="item/search_review";
1824
+ //gallery
1825
+ static URL_GALLERY_DETAIL="gallery/detail";
1826
+ static URL_GALLERY_HOME="gallery/home";
1827
+ static URL_GALLERY_SEARCH="gallery/search";
1828
+ //order
1829
+ static URL_ORDER_DELETE="item/delete_order";
1830
+ static URL_ORDER_GET="item/get_order";
1831
+ static URL_ORDER_POST="item/post_order";
1832
+ static URL_ORDER_SEARCH="item/search_order";
1833
+ //page
1834
+ static URL_PAGE_HOME="page/home";
1835
+ static URL_PAGE_ABOUT="page/about";
1836
+ static URL_PAGE_CONTACT="page/contact";
1837
+ static URL_PAGE_FAQ="page/faq";
1838
+ //product
1839
+ static URL_PRODUCT_DETAIL="product/detail";
1840
+ static URL_PRODUCT_HOME="product/home";
1841
+ static URL_PRODUCT_SEARCH="product/search";
1842
+ //review
1843
+ static URL_REVIEW_POST="item/post_review";
1844
+ static URL_REVIEW_SEARCH="item/search_review";
1845
+ //service
1846
+ static URL_SERVICE_DETAIL="service/detail";
1847
+ static URL_SERVICE_HOME="service/home";
1848
+ static URL_SERVICE_SEARCH="service/search";
1849
+ //stat
1850
+ static URL_SEARCH_ACTIVITY="item/search_activity";
1851
+ //template
1852
+ static URL_TEMPLATE_GET="item/get_template";
1853
+ static get_url = (app_id,host,url,param) => {
1854
+ return get_cloud_url_main(app_id,host,url,param);
1855
+ };
1856
+ }
1800
1857
  module.exports = {
1801
1858
  App_Logic,
1802
1859
  Admin_Logic,
@@ -1823,4 +1880,5 @@ module.exports = {
1823
1880
  Storage,
1824
1881
  Template_Logic,
1825
1882
  User_Logic,
1883
+ Url_Logic
1826
1884
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.8.331",
3
+ "version": "4.8.332",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"