kevin_zhangl 2 年之前
父節點
當前提交
4f7a3734fb
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      common/helpers/Logistics.php

+ 3 - 0
common/helpers/Logistics.php

@@ -91,6 +91,9 @@ class Logistics
             'agent_id' => Yii::$app->params['wst']['agentId'],
         ];
 
+
+        LoggerTool::info(['curl', $this->getDomain() . self::authenticationUrl, $this->getDomain() . self::createOrderUrl]);
+
         $ch = curl_init($this->getDomain() . self::authenticationUrl);
         header('Content-Type: application/json');
         $authorization = "Authorization: Basic " . Yii::$app->params['wst']['baseToken'];