From 27d83f193f0269dbc6acc0ae73f0e23ff7f19864 Mon Sep 17 00:00:00 2001 From: becomer Date: Sun, 9 Aug 2026 21:56:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=99=BA=E6=85=A7=E6=95=99=E8=82=B2?= =?UTF-8?q?=E7=BD=91=E7=AB=99=E6=9B=B4=E6=96=B0=E5=90=8E=20ParseJsUrl=20?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E5=8C=B9=E9=85=8D=E6=96=B0=E7=9A=84=20chunk?= =?UTF-8?q?=20URL=20=E7=BB=93=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 网站将 chunk-vendors 改为了 chunk-libs/chunk-elementUI, 且首页组件被合并到多模块组合 chunk 中。 更新正则:匹配 chunk-libs 或 chunk-elementUI 的 URL, 提取 base 路径和 hash,构造新的组合 chunk 文件 URL。 --- internal/application/smartedu/sc/course.go | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/internal/application/smartedu/sc/course.go b/internal/application/smartedu/sc/course.go index e5889ab..b38b701 100644 --- a/internal/application/smartedu/sc/course.go +++ b/internal/application/smartedu/sc/course.go @@ -166,13 +166,18 @@ func (c *Course) Refresh(ctx context.Context, c2 model.Course, ch model.Chapter, } func ParseJsUrl(str string) string { - //