biz9-logic 4.8.319 → 4.8.320

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 +27 -27
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='7.9.9'
1
+ VERSION='8.0.0'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -839,9 +839,9 @@ class FieldType {
839
839
  static DATA_SOURCE_SERVER="server";
840
840
  static DATA_SOURCE_NOT_FOUND="not_found";
841
841
 
842
- static ENVIRONMENT_TEST="test";
843
- static ENVIRONMENT_STAGE="stage";
844
- static ENVIRONMENT_PRODUCTION="production";
842
+ static ENV_TEST="test";
843
+ static ENV_STAGE="stage";
844
+ static ENV_PRODUCTION="production";
845
845
 
846
846
  static ACTIVITY_TYPE_LOGIN="login";
847
847
  static ACTIVITY_TYPE_REGISTER="register";
@@ -1240,36 +1240,32 @@ class Image_Url {
1240
1240
  };
1241
1241
  }
1242
1242
  class Item_Url {
1243
- static activity = (app_id,url,param) => {
1244
- let action_url="item/activity";
1245
- return get_cloud_url_main(app_id,url,action_url,param);
1246
- };
1247
- static cart = (app_id,url,cart_number,param) => {
1248
- let action_url="item/cart/"+cart_number;
1243
+ static delete_order = (app_id,url,id,param) => {
1244
+ let action_url="item/delete_order/"+id;
1249
1245
  return get_cloud_url_main(app_id,url,action_url,param);
1250
1246
  };
1251
- static content = (app_id,url,key,param) => {
1252
- let action_url="item/content/"+key;
1247
+ static delete_cart = (app_id,url,id,param) => {
1248
+ let action_url="item/delete_cart/"+id;
1253
1249
  return get_cloud_url_main(app_id,url,action_url,param);
1254
1250
  };
1255
- static custom_field = (app_id,url,data_type,key,param) => {
1256
- let action_url="item/custom_field/"+data_type+"/"+key;
1251
+ static get_cart = (app_id,url,cart_number,param) => {
1252
+ let action_url="item/get_cart/"+cart_number;
1257
1253
  return get_cloud_url_main(app_id,url,action_url,param);
1258
1254
  };
1259
- static delete_order = (app_id,url,id,param) => {
1260
- let action_url="item/delete_order/"+id;
1255
+ static get_template = (app_id,url,key,param) => {
1256
+ let action_url="item/template/"+key;
1261
1257
  return get_cloud_url_main(app_id,url,action_url,param);
1262
1258
  };
1263
- static delete_cart = (app_id,url,id,param) => {
1264
- let action_url="item/delete_cart/"+id;
1259
+ static get_content = (app_id,url,key,param) => {
1260
+ let action_url="item/get_content/"+key;
1265
1261
  return get_cloud_url_main(app_id,url,action_url,param);
1266
1262
  };
1267
- static favorite = (app_id,url,parent_data_type,param) => {
1268
- let action_url="item/favorite/"+parent_data_type;
1263
+ static get_custom_field = (app_id,url,data_type,key,param) => {
1264
+ let action_url="item/get_custom_field/"+data_type+"/"+key;
1269
1265
  return get_cloud_url_main(app_id,url,action_url,param);
1270
1266
  };
1271
- static order = (app_id,url,order_number,param) => {
1272
- let action_url="item/order/"+order_number;
1267
+ static get_order = (app_id,url,order_number,param) => {
1268
+ let action_url="item/get_order/"+order_number;
1273
1269
  return get_cloud_url_main(app_id,url,action_url,param);
1274
1270
  };
1275
1271
  static post_cart = (app_id,url,parent_data_type,param) => {
@@ -1296,8 +1292,16 @@ class Item_Url {
1296
1292
  let action_url="item/post_order";
1297
1293
  return get_cloud_url_main(app_id,url,action_url,param);
1298
1294
  };
1299
- static review = (app_id,url,parent_data_type,page_current,page_size,param) => {
1300
- let action_url="item/review/"+parent_data_type+"/"+page_current+"/"+page_size;
1295
+ static search_activity = (app_id,url,param) => {
1296
+ let action_url="item/search_activity";
1297
+ return get_cloud_url_main(app_id,url,action_url,param);
1298
+ };
1299
+ static search_favorite = (app_id,url,parent_data_type,param) => {
1300
+ let action_url="item/search_favorite/"+parent_data_type;
1301
+ return get_cloud_url_main(app_id,url,action_url,param);
1302
+ };
1303
+ static search_review = (app_id,url,parent_data_type,page_current,page_size,param) => {
1304
+ let action_url="item/search_review/"+parent_data_type+"/"+page_current+"/"+page_size;
1301
1305
  return get_cloud_url_main(app_id,url,action_url,param);
1302
1306
  };
1303
1307
  static search_cart = (app_id,url,parent_data_type,param) => {
@@ -1308,10 +1312,6 @@ class Item_Url {
1308
1312
  let action_url="item/search_order/"+parent_data_type;
1309
1313
  return get_cloud_url_main(app_id,url,action_url,param);
1310
1314
  };
1311
- static template = (app_id,url,key,param) => {
1312
- let action_url="item/template/"+key;
1313
- return get_cloud_url_main(app_id,url,action_url,param);
1314
- };
1315
1315
  }
1316
1316
  class Category_Url {
1317
1317
  static detail = (app_id,url,key,param) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.8.319",
3
+ "version": "4.8.320",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"