|
|
@@ -11,9 +11,9 @@ class Logistics
|
|
|
const testDomain = 'http://warehouse.worldsyntech.com';
|
|
|
|
|
|
// 1.获取bearer token,此token是其他api调用时的必传参数.
|
|
|
- const authenticationUrl = 'https://warehouse.taoplus.com.my/index.php?route=rest/admin_security/api_login&grant_type=client_credentials';
|
|
|
+ const authenticationUrl = 'http://warehouse.taoplus.com.my/index.php?route=rest/admin_security/api_login&grant_type=client_credentials';
|
|
|
// 2.创建订单和产品(以前不存在/已提交的产品).
|
|
|
- const createOrderUrl = 'https://warehouse.taoplus.com.my/index.php?route=rest/warehouse_api/add_order';
|
|
|
+ const createOrderUrl = 'http://warehouse.taoplus.com.my/index.php?route=rest/warehouse_api/add_order';
|
|
|
// 3.获取产品/包裹的重量和状态.
|
|
|
const getProductUrl = 'http://warehouse.worldsyntech.com/index.php?route=rest/warehouse_api/get_order_product';
|
|
|
// 4.获取订单重量,m3,包装的包裹数量,费用跟踪号码和状态.
|