|
|
@@ -7,7 +7,7 @@ use Yii;
|
|
|
|
|
|
class Logistics
|
|
|
{
|
|
|
- const prodDomain = 'https://warehouse.taoplus.com.my';
|
|
|
+ const prodDomain = 'https//warehouse.taoplus.com.my';
|
|
|
const testDomain = 'http://warehouse.worldsyntech.com';
|
|
|
|
|
|
// 1.获取bearer token,此token是其他api调用时的必传参数.
|
|
|
@@ -91,9 +91,6 @@ class Logistics
|
|
|
'agent_id' => Yii::$app->params['wst']['agentId'],
|
|
|
];
|
|
|
|
|
|
-
|
|
|
- LoggerTool::info(['curl', self::authenticationUrl, self::createOrderUrl]);
|
|
|
-
|
|
|
$ch = curl_init(self::authenticationUrl);
|
|
|
header('Content-Type: application/json');
|
|
|
$authorization = "Authorization: Basic " . Yii::$app->params['wst']['baseToken'];
|