瀏覽代碼

社媒对接

moshaorui 1 天之前
父節點
當前提交
e1ea15db2f
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      app/Services/Smm/YoutubeService.php

+ 4 - 4
app/Services/Smm/YoutubeService.php

@@ -33,10 +33,10 @@ class YoutubeService implements SmmPlatformInterface
         $this->client->setScopes([
             Google_Service_YouTube::YOUTUBE_UPLOAD,
             Google_Service_YouTube::YOUTUBE,
-            Google_Service_YouTube::YOUTUBE_FORCE_SSL,
-            Google_Service_YouTube::YOUTUBE_READONLY,
-            Google_Service_YouTube::YOUTUBEPARTNER,
-            Google_Service_YouTube::YOUTUBEPARTNER_CHANNEL_AUDIT
+        //    Google_Service_YouTube::YOUTUBE_FORCE_SSL,
+        //    Google_Service_YouTube::YOUTUBE_READONLY,
+        //    Google_Service_YouTube::YOUTUBEPARTNER,
+        //    Google_Service_YouTube::YOUTUBEPARTNER_CHANNEL_AUDIT
         ]);
         $this->client->setAccessType('offline');
         $this->client->setPrompt('consent');