lrf402788946 4 年之前
父節點
當前提交
9041660dc4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/service/liveroom.js

+ 1 - 1
app/service/liveroom.js

@@ -70,7 +70,7 @@ class LiveroomService extends CrudService {
     if (!room) {
       throw new BusinessError(ErrorCode.DATA_NOT_EXIST, '直播房间不存在');
     }
-    const backUrl = encodeURI(`${this.app.config.baseUrl}${this.config.authUrl}?state=0&redirect_uri=${this.app.config.baseUrl}/student/login?redirect_uri=/user/liveDetail/${roomid}`);
+    const backUrl = encodeURI(`${this.app.config.baseUrl}${this.config.authUrl}?type=0&redirect_uri=${this.app.config.baseUrl}/student/login?redirect_uri=/user/liveDetail/${roomid}`);
     console.log(backUrl);
     let list = [];
     const query = {};