Преглед на файлове

【程序目录】修复易联云打印错误

吴昊天 преди 3 години
родител
ревизия
0c170eac3c
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      crmeb/crmeb/services/printer/AccessToken.php

+ 1 - 1
crmeb/crmeb/services/printer/AccessToken.php

@@ -131,7 +131,7 @@ class AccessToken extends HttpService
         /** @var CacheServices $cacheServices */
         $cacheServices = app()->make(CacheServices::class);
         $this->accessToken[$this->name] = $cacheServices->getDbCache('YLY_access_token', function () {
-            $request = self::postRequest('https://open-api.10ss.net/auth/oauth', [
+            $request = self::postRequest('https://open-api.10ss.net/oauth/oauth', [
                 'client_id' => $this->clientId,
                 'grant_type' => 'client_credentials',
                 'sign' => strtolower(md5($this->clientId . time() . $this->apiKey)),