biz9-logic 4.8.202 → 4.8.203

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 +19 -12
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='6.8.2'
1
+ VERSION='6.8.3'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -1252,6 +1252,12 @@ class DataItem {
1252
1252
  return get_new_full_item_main(item,parent_item,top_item,option?option:{});
1253
1253
  };
1254
1254
  }
1255
+ class Business_Url {
1256
+ static get = (app_id,url,params) => {
1257
+ let action_url="item/get_business";
1258
+ return get_cloud_url_main(app_id,url,action_url,params);
1259
+ };
1260
+ }
1255
1261
  class Blank_Url {
1256
1262
  static get = (app_id,url,key,params) => {
1257
1263
  let action_url="blank/get/"+key;
@@ -1305,8 +1311,8 @@ class FAQ_Url {
1305
1311
  };
1306
1312
  }
1307
1313
  class Cart_Url {
1308
- static post = (app_id,url,parent_data_type,user_id,params) => {
1309
- let action_url="cart/post/"+parent_data_type+"/"+user_id;
1314
+ static post = (app_id,url,parent_data_type,params) => {
1315
+ let action_url="cart/post/"+parent_data_type;
1310
1316
  return get_cloud_url_main(app_id,url,action_url,params);
1311
1317
  };
1312
1318
  static get = (app_id,url,cart_number,params) => {
@@ -1351,12 +1357,12 @@ class Product_Url {
1351
1357
  };
1352
1358
  }
1353
1359
  class Review_Url {
1354
- static get = (app_id,url,parent_data_type,user_id,page_current,page_size,params) => {
1355
- let action_url="review/get/"+parent_data_type+"/"+user_id+"/"+page_current+"/"+page_size;
1360
+ static get = (app_id,url,parent_data_type,page_current,page_size,params) => {
1361
+ let action_url="review/get/"+parent_data_type+"/"+page_current+"/"+page_size;
1356
1362
  return get_cloud_url_main(app_id,url,action_url,params);
1357
1363
  };
1358
- static post = (app_id,url,parent_data_type,parent_id,user_id,params) => {
1359
- let action_url="review/post/"+parent_data_type+"/"+parent_id+"/"+user_id;
1364
+ static post = (app_id,url,parent_data_type,parent_id,params) => {
1365
+ let action_url="review/post/"+parent_data_type+"/"+parent_id;
1360
1366
  return get_cloud_url_main(app_id,url,action_url,params);
1361
1367
  };
1362
1368
  }
@@ -1437,8 +1443,8 @@ class Gallery_Url {
1437
1443
  };
1438
1444
  }
1439
1445
  class User_Url {
1440
- static info = (app_id,url,user_id,params) => {
1441
- let action_url="user/info/"+user_id;
1446
+ static info = (app_id,url,params) => {
1447
+ let action_url="user/info/";
1442
1448
  return get_cloud_url_main(app_id,url,action_url,params);
1443
1449
  };
1444
1450
  static register = (app_id,url,params) => {
@@ -1455,12 +1461,12 @@ class User_Url {
1455
1461
  };
1456
1462
  }
1457
1463
  class Favorite_Url {
1458
- static get = (app_id,url,parent_data_type,user_id,page_current,page_size,params) => {
1459
- let action_url="favorite/get/"+parent_data_type+"/"+user_id+"/"+page_current+"/"+page_size;
1464
+ static get = (app_id,url,parent_data_type,page_current,page_size,params) => {
1465
+ let action_url="favorite/get/"+parent_data_type+"/"+page_current+"/"+page_size;
1460
1466
  return get_cloud_url_main(app_id,url,action_url,params);
1461
1467
  };
1462
- static post = (app_id,url,parent_data_type,parent_id,user_id,params) => {
1463
- let action_url="favorite/post/"+parent_data_type+"/"+parent_id +"/"+user_id;
1468
+ static post = (app_id,url,parent_data_type,parent_id,params) => {
1469
+ let action_url="favorite/post/"+parent_data_type+"/"+parent_id;
1464
1470
  return get_cloud_url_main(app_id,url,action_url,params);
1465
1471
  };
1466
1472
  }
@@ -2039,6 +2045,7 @@ class App_Logic {
2039
2045
  module.exports = {
2040
2046
  App_Logic,
2041
2047
  Admin_Logic,
2048
+ Business_Url,
2042
2049
  Business_Logic,
2043
2050
  Blank_Logic,
2044
2051
  Blank_Url,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.8.202",
3
+ "version": "4.8.203",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"