From d23c9bf421e4555351684a1885264995d22904f0 Mon Sep 17 00:00:00 2001 From: Saul Hetherman <126445083+YYDS678@users.noreply.github.com> Date: Thu, 27 Jun 2024 17:59:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=A4=9A=E7=BA=BF=E8=B7=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/README.md | 4 ++-- js/core/uzCode.js | 11 ++++++++--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/js/README.md b/js/README.md index 638368e..94076be 100644 --- a/js/README.md +++ b/js/README.md @@ -13,8 +13,8 @@ "name": "名称", "api": "脚本链接", "instance": "实例名称", - "webSite": "视频站地址,当获取分类时传入该地址", + "webSite": "视频站地址。在 app 内用户可自行修改,当加载代码时会赋值给对象的 webSite 属性", "remark": "备注" } -``` \ No newline at end of file +``` diff --git a/js/core/uzCode.js b/js/core/uzCode.js index d88a943..85df634 100644 --- a/js/core/uzCode.js +++ b/js/core/uzCode.js @@ -20,8 +20,12 @@ class VideoDetail { // 视频名称 this.vod_name = ""; /** - * 所有剧集 - * 第一集$第一集的视频详情链接#第二集$第二集的视频详情链接 + * 线路列表 (没什么特殊区别可为空) 线路1$$$线路2$$$ + */ + this.vod_play_from = ""; + /** + * 所有剧集 使用 $$$ 分割线路,# 分割剧集,$ 分割剧集名称和剧集链接 + * 第一集$第一集的视频详情链接#第二集$第二集的视频详情链接$$$第一集$第一集的视频详情链接#第二集$第二集的视频详情链接 */ this.vod_play_url = ""; // 封面 @@ -182,7 +186,8 @@ class ProData { /** * 网络请求,也可以使用 fetch - * @param {UZArgs} args + * @param {string} url 请求的URL + * @param {object} options 请求参数 {headers:{},method:"POST",data:{}} * @returns {Promise} */ async function req(url, options) {