Browse Source

提交数据

lvhao 3 tháng trước cách đây
mục cha
commit
b9553f691f
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      core/CoreApp/models/Model_usps.php

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

@@ -999,6 +999,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("usp快递获取token的".$res);
 		$res = json_decode($res, true);
 		$token = $res['access_token'];//token
 		$dtime = $time+$res['expires_in']-3600;//过期时间 提前一个小时重新获取