biz9-logic 4.8.282 → 4.8.284

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 +3 -3
  3. package/package.json +1 -1
package/biz9_config CHANGED
@@ -1,4 +1,4 @@
1
- VERSION='7.6.2'
1
+ VERSION='7.6.4'
2
2
  TITLE='BiZ9-Logic';
3
3
  REPO='git@github.com:biz9framework/biz9-logic.git';
4
4
  BRANCH='main';
package/index.js CHANGED
@@ -261,8 +261,8 @@ class Order_Logic {
261
261
  };
262
262
  }
263
263
  class Cart_Logic {
264
- static get_new = (parent_data_type) => {
265
- return DataItem.get_new(DataType.CART,0,{cart_number:FieldType.CART_NUMBER + Num.get_id(99999),parent_data_type:parent_data_type,grand_total:0,cart_item_list:[]});
264
+ static get_new = (parent_data_type,user_id) => {
265
+ return DataItem.get_new(DataType.CART,0,{user_id:user_id,cart_number:FieldType.CART_NUMBER + Num.get_id(99999),parent_data_type:parent_data_type,grand_total:0,cart_item_list:[]});
266
266
  };
267
267
  static get_new_cart_item = (parent_data_type,parent_id,cart_number,quanity) =>{
268
268
  return DataItem.get_new(DataType.CART_ITEM,0,{parent_data_type:parent_data_type,parent_id:parent_id,cart_number:cart_number,quanity:quanity,cart_sub_item_list:[]});
@@ -1232,7 +1232,7 @@ class Item_Url {
1232
1232
  return get_cloud_url_main(app_id,url,action_url,params);
1233
1233
  };
1234
1234
  static cart = (app_id,url,cart_number,params) => {
1235
- let action_url="item/cart"+cart_number;
1235
+ let action_url="item/cart/"+cart_number;
1236
1236
  return get_cloud_url_main(app_id,url,action_url,params);
1237
1237
  };
1238
1238
  static content = (app_id,url,key,params) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "biz9-logic",
3
- "version": "4.8.282",
3
+ "version": "4.8.284",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"