biz9-logic 4.8.264 → 4.8.266
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.
- package/biz9_config +1 -1
- package/index.js +28 -31
- package/package.json +1 -1
package/biz9_config
CHANGED
package/index.js
CHANGED
|
@@ -1211,33 +1211,7 @@ class Blog_Post_Url {
|
|
|
1211
1211
|
return get_cloud_url_main(app_id,url,action_url,params);
|
|
1212
1212
|
};
|
|
1213
1213
|
}
|
|
1214
|
-
class Cart_Url {
|
|
1215
|
-
static post = (app_id,url,item_data_type,params) => {
|
|
1216
|
-
let action_url="cart/post/"+item_data_type;
|
|
1217
|
-
return get_cloud_url_main(app_id,url,action_url,params);
|
|
1218
|
-
};
|
|
1219
|
-
static get = (app_id,url,cart_number,params) => {
|
|
1220
|
-
let action_url="cart/get/"+cart_number;
|
|
1221
|
-
return get_cloud_url_main(app_id,url,action_url,params);
|
|
1222
|
-
};
|
|
1223
|
-
static delete = (app_id,url,id,params) => {
|
|
1224
|
-
let action_url="cart/delete/"+id;
|
|
1225
|
-
return get_cloud_url_main(app_id,url,action_url,params);
|
|
1226
|
-
};
|
|
1227
|
-
}
|
|
1228
1214
|
class Order_Url {
|
|
1229
|
-
static post = (app_id,url,params) => {
|
|
1230
|
-
let action_url="order/post";
|
|
1231
|
-
return get_cloud_url_main(app_id,url,action_url,params);
|
|
1232
|
-
};
|
|
1233
|
-
static get = (app_id,url,order_number,params) => {
|
|
1234
|
-
let action_url="order/get/"+order_number;
|
|
1235
|
-
return get_cloud_url_main(app_id,url,action_url,params);
|
|
1236
|
-
};
|
|
1237
|
-
static delete = (app_id,url,id,params) => {
|
|
1238
|
-
let action_url="order/delete/"+id;
|
|
1239
|
-
return get_cloud_url_main(app_id,url,action_url,params);
|
|
1240
|
-
};
|
|
1241
1215
|
}
|
|
1242
1216
|
class Product_Url {
|
|
1243
1217
|
static detail = (app_id,url,key,params) => {
|
|
@@ -1338,12 +1312,36 @@ class Item_Url {
|
|
|
1338
1312
|
let action_url="item/favorite/"+parent_data_type+"/"+page_current+"/"+page_size;
|
|
1339
1313
|
return get_cloud_url_main(app_id,url,action_url,params);
|
|
1340
1314
|
};
|
|
1341
|
-
static post_favorite = (app_id,url,parent_data_type,
|
|
1342
|
-
let action_url="item/post_favorite"+parent_data_type+"/"+
|
|
1315
|
+
static post_favorite = (app_id,url,parent_data_type,parent_item_id,params) => {
|
|
1316
|
+
let action_url="item/post_favorite"+parent_data_type+"/"+parent_item_id;
|
|
1343
1317
|
return get_cloud_url_main(app_id,url,action_url,params);
|
|
1344
1318
|
};
|
|
1345
|
-
static post_field_value = (app_id,url,item_data_type,
|
|
1346
|
-
let action_url="item/post_field_value/"+item_data_type+"/"+
|
|
1319
|
+
static post_field_value = (app_id,url,item_data_type,parent_item_id,value_id,params) => {
|
|
1320
|
+
let action_url="item/post_field_value/"+item_data_type+"/"+parent_item_id;
|
|
1321
|
+
return get_cloud_url_main(app_id,url,action_url,params);
|
|
1322
|
+
};
|
|
1323
|
+
static post_cart = (app_id,url,parent_data_type,params) => {
|
|
1324
|
+
let action_url="cart/post/"+parent_data_type;
|
|
1325
|
+
return get_cloud_url_main(app_id,url,action_url,params);
|
|
1326
|
+
};
|
|
1327
|
+
static cart = (app_id,url,cart_number,params) => {
|
|
1328
|
+
let action_url="cart/get/"+cart_number;
|
|
1329
|
+
return get_cloud_url_main(app_id,url,action_url,params);
|
|
1330
|
+
};
|
|
1331
|
+
static delete_cart = (app_id,url,id,params) => {
|
|
1332
|
+
let action_url="cart/delete/"+id;
|
|
1333
|
+
return get_cloud_url_main(app_id,url,action_url,params);
|
|
1334
|
+
};
|
|
1335
|
+
static post_order = (app_id,url,params) => {
|
|
1336
|
+
let action_url="order/post";
|
|
1337
|
+
return get_cloud_url_main(app_id,url,action_url,params);
|
|
1338
|
+
};
|
|
1339
|
+
static order = (app_id,url,order_number,params) => {
|
|
1340
|
+
let action_url="order/get/"+order_number;
|
|
1341
|
+
return get_cloud_url_main(app_id,url,action_url,params);
|
|
1342
|
+
};
|
|
1343
|
+
static delete_order = (app_id,url,id,params) => {
|
|
1344
|
+
let action_url="order/delete/"+id;
|
|
1347
1345
|
return get_cloud_url_main(app_id,url,action_url,params);
|
|
1348
1346
|
};
|
|
1349
1347
|
}
|
|
@@ -1939,7 +1937,6 @@ module.exports = {
|
|
|
1939
1937
|
Blog_Post_Url,
|
|
1940
1938
|
Dashboard_Url,
|
|
1941
1939
|
Cart_Logic,
|
|
1942
|
-
Cart_Url,
|
|
1943
1940
|
Category_Logic,
|
|
1944
1941
|
Category_Url,
|
|
1945
1942
|
Content_Logic,
|