biz9-logic 4.8.177 → 4.8.179

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 +7 -8
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='6.5.7'
1
+ VERSION='6.5.9'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -1493,6 +1493,12 @@ class Favorite_Url {
1493
1493
  return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,params);
1494
1494
  };
1495
1495
  }
1496
+ class Item_Url {
1497
+ static update_cms_item = (biz9_config,data_type,id,params) => {
1498
+ let action_url = "main/item/update_cms_item/"+data_type+"/"+id;
1499
+ return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,params);
1500
+ };
1501
+ }
1496
1502
  class Faq_Url {
1497
1503
  static get = (biz9_config,key,params) => {
1498
1504
  let action_url="faq/get/"+key;
@@ -1573,18 +1579,10 @@ class Url{
1573
1579
  let action_url = "main/crud/update/"+data_type + "/" + id;
1574
1580
  return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,params);
1575
1581
  };
1576
- static update_delete_cache = (biz9_config,data_type,id,params) => {
1577
- let action_url = "main/crud/update_delete_cache/"+data_type + "/" + id;
1578
- return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,params);
1579
- };
1580
1582
  static update_list = (biz9_config,data_type,params) => {
1581
1583
  let action_url = "main/crud/update_list/"+data_type;
1582
1584
  return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,params);
1583
1585
  };
1584
- static update_cms_item = (biz9_config,data_type,id,params) => {
1585
- let action_url = "main/crud/update_cms_item/"+data_type+"/"+id;
1586
- return get_cloud_url_main(biz9_config.APP_ID,biz9_config.URL,action_url,params);
1587
- };
1588
1586
  }
1589
1587
  class Category_Logic {
1590
1588
  static get_test = (title,option) =>{
@@ -2100,6 +2098,7 @@ module.exports = {
2100
2098
  Favorite_Url,
2101
2099
  Gallery_Url,
2102
2100
  Item_Logic,
2101
+ Item_Url,
2103
2102
  Event_Logic,
2104
2103
  Message,
2105
2104
  Page_Logic,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.8.177",
3
+ "version": "4.8.179",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"