Sfoglia il codice sorgente

fix: 抖音二维码生成错误

xiansin 2 anni fa
parent
commit
2d77b2075b
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      server/app/Helper/ByteDance.php

+ 1 - 1
server/app/Helper/ByteDance.php

xqd
@@ -183,7 +183,7 @@ class ByteDance extends BaseUniPlatform
         return $this->post($this->API::CREATE_QRCODE, [
             'appname'      => 'douyin',
             'access_token' => $this->accessToken,
-            'path'         =>urlencode('/pages/index/index?'."user_id=$userId"),
+            'path'         =>urlencode('pages/index/index?'."user_id=$userId"),
             'width'        => 600,
         ]);
     }