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

fix: 抖音二维码生成错误

xiansin преди 2 години
родител
ревизия
2d77b2075b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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,
         ]);
     }