From a090fff069570cb8b7275694ff8179ca65d124c0 Mon Sep 17 00:00:00 2001 From: renmu123 <1101022351@qq.com> Date: Wed, 6 Nov 2024 09:57:14 +0800 Subject: [PATCH 1/4] add build check for pr --- .github/workflows/pr-build-check.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/pr-build-check.yml diff --git a/.github/workflows/pr-build-check.yml b/.github/workflows/pr-build-check.yml new file mode 100644 index 0000000000..d3245c9c28 --- /dev/null +++ b/.github/workflows/pr-build-check.yml @@ -0,0 +1,22 @@ +name: PR Build Check + +on: + pull_request: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: '16' + + - name: Build project + run: yarn && yarn build \ No newline at end of file From d3bc3e51bc361c9aa2f7340455a19fe001ed5010 Mon Sep 17 00:00:00 2001 From: renmu123 <1101022351@qq.com> Date: Wed, 6 Nov 2024 09:57:24 +0800 Subject: [PATCH 2/4] fix build error --- docs/live/message_stream.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/live/message_stream.md b/docs/live/message_stream.md index 9533d83940..fb32b45526 100644 --- a/docs/live/message_stream.md +++ b/docs/live/message_stream.md @@ -1230,7 +1230,6 @@ while (!s.isclosed()) { **示例:** -
查看消息示例: ```json @@ -1840,7 +1839,6 @@ while (!s.isclosed()) { **示例:** -
查看消息示例: ```json From 476b7d62f10d6ba6b464f2182e0d02f8528ea856 Mon Sep 17 00:00:00 2001 From: renmu123 <1101022351@qq.com> Date: Wed, 6 Nov 2024 10:04:04 +0800 Subject: [PATCH 3/4] update pr branch to master --- .github/workflows/pr-build-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-build-check.yml b/.github/workflows/pr-build-check.yml index d3245c9c28..ef05b007c7 100644 --- a/.github/workflows/pr-build-check.yml +++ b/.github/workflows/pr-build-check.yml @@ -3,7 +3,7 @@ name: PR Build Check on: pull_request: branches: - - main + - master jobs: build: From de4ca1aff2fe594d15784504bf2440f8a44b4638 Mon Sep 17 00:00:00 2001 From: renmu123 <1101022351@qq.com> Date: Wed, 6 Nov 2024 10:21:51 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E5=A2=9E=E5=8A=A0
=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/live/message_stream.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/live/message_stream.md b/docs/live/message_stream.md index fb32b45526..4b6f762db6 100644 --- a/docs/live/message_stream.md +++ b/docs/live/message_stream.md @@ -1230,6 +1230,7 @@ while (!s.isclosed()) { **示例:** +
查看消息示例: ```json @@ -1244,6 +1245,8 @@ while (!s.isclosed()) { } ``` +
+ #### 送礼 (SEND_GIFT) **JSON消息:** @@ -1839,6 +1842,7 @@ while (!s.isclosed()) { **示例:** +
查看消息示例: ```json @@ -1854,6 +1858,8 @@ while (!s.isclosed()) { } ``` +
+ #### 主播信息更新 (ROOM_REAL_TIME_MESSAGE_UPDATE) **JSON消息:**