lvhao 1 月之前
父節點
當前提交
fcbbb8751a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/CoreApp/models/Model_usps.php

+ 1 - 1
core/CoreApp/models/Model_usps.php

@@ -1034,7 +1034,7 @@ function __construct(){
 		$data['client_secret'] = $secret;
 		$data['grant_type'] = 'client_credentials';
 		$res = $this->api->su_curl($data,$url,$header,'http_build_query');
-		//$this->logic_ding->sendToDing("usps快递获取token的".$res);
+		$this->logic_ding->sendToDing("usps快递获取token的方法".$res);
 		$res = json_decode($res, true);
 		$token = $res['access_token'];//token
 		$dtime = $time+$res['expires_in']-3600;//过期时间 提前一个小时重新获取