wesmiler před 2 měsíci
rodič
revize
5cf0f9e317
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      app/Services/MpService.php

+ 1 - 1
app/Services/MpService.php

@@ -385,7 +385,7 @@ class MpService extends BaseService
             }
 
             $cacheKey = "caches:mpApp:mp_{$this->mpAppid}:";
-            $url = sprintf($this->apiUrls[$apiName], $this->mpAppid, $this->mpAppSecret);
+            $url = sprintf($this->apiUrls[$apiName], $token);
             $result = httpRequest($url,$data?json_encode($data,256):'', $requestType,'',5);
             $this->saveLog($cacheKey."{$apiName}:request", ['url'=>$url,'data'=>$data,'result'=>$result,'date'=>date('Y-m-d H:i:s')]);
             return $result;