소스 검색

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,
         ]);
     }