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.
- package/biz9_config +1 -1
- package/index.js +27 -27
- package/package.json +1 -1
package/biz9_config
CHANGED
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
|
|
843
|
-
static
|
|
844
|
-
static
|
|
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
|
|
1244
|
-
let action_url="item/
|
|
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
|
|
1252
|
-
let action_url="item/
|
|
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
|
|
1256
|
-
let action_url="item/
|
|
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
|
|
1260
|
-
let action_url="item/
|
|
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
|
|
1264
|
-
let action_url="item/
|
|
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
|
|
1268
|
-
let action_url="item/
|
|
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
|
|
1272
|
-
let action_url="item/
|
|
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
|
|
1300
|
-
let action_url="item/
|
|
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) => {
|