From 945ed0ffbe4be4ec76b64e9fb7517cc4b733875e Mon Sep 17 00:00:00 2001 From: sliverkiss <1393579810@qq.com> Date: Mon, 30 Oct 2023 17:54:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BB=BA=E8=A1=8C=E7=94=9F=E6=B4=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + Sliverkiss.boxjs.json | 64 +++++++++++++++++++---------------------- sliverkiss.gallery.json | 3 ++ task/jhsh.conf | 12 ++++++++ 4 files changed, 46 insertions(+), 34 deletions(-) create mode 100644 task/jhsh.conf diff --git a/README.md b/README.md index 49063fa..52aa2ee 100644 --- a/README.md +++ b/README.md @@ -115,6 +115,7 @@ | 奇瑞汽车 | smallfawn | ✅(2023.10.24) | | 巴奴毛肚火锅 | smallfawn | ✅(2023.10.24) | | 鸿星尔克 | smallfawn | ✅(2023.10.24) | +| 建行生活 | Fokit | ✅(2023.10.30) | ### 赞赏码 diff --git a/Sliverkiss.boxjs.json b/Sliverkiss.boxjs.json index c103c78..108d851 100644 --- a/Sliverkiss.boxjs.json +++ b/Sliverkiss.boxjs.json @@ -59,41 +59,8 @@ "https://raw.githubusercontent.com/FoKit/Scripts/main/images/jhsh.png", "https://raw.githubusercontent.com/FoKit/Scripts/main/images/jhsh.png" ], - "keys": ["JHSH_BODY", "JHSH_LOGIN_BODY","JHSH_DEVICEID","JHSH_MBC_UA","JHSH_GIFT"], + "keys": ["JHSH_GIFT", "JHSH_BODY", "JHSH_LOGIN_INFO", "JHSH_VERSION"], "settings": [ - { - "id": "JHSH_BODY", - "name": "签到数据", - "val": "", - "type": "textarea", - "autoGrow": true, - "rows": 1, - "desc": "" - },{ - "id": "JHSH_LOGIN_BODY", - "name": "刷新session数据", - "val": "", - "type": "textarea", - "autoGrow": true, - "rows": 1, - "desc": "" - },{ - "id": "JHSH_DEVICEID", - "name": "设备deviceId", - "val": "", - "type": "textarea", - "autoGrow": true, - "rows": 1, - "desc": "" - },{ - "id": "JHSH_MBC_UA", - "name": "MBC_UA", - "val": "", - "type": "textarea", - "autoGrow": true, - "rows": 1, - "desc": "" - }, { "id": "JHSH_GIFT", "name": "奖励类型", @@ -108,8 +75,37 @@ { "key": "2", "label": "外卖券" + }, + { + "key": "3", + "label": "骑行券" } ] + }, + { + "id": "JHSH_BODY", + "name": "签到数据", + "val": "", + "type": "textarea", + "autoGrow": true, + "rows": 1, + "desc": "" + }, + { + "id": "JHSH_LOGIN_INFO", + "name": "登录数据", + "val": "", + "type": "textarea", + "autoGrow": true, + "rows": 1, + "desc": "" + }, + { + "id": "JHSH_VERSION", + "name": "版本号", + "val": "", + "type": "text", + "desc": "" } ] },{ diff --git a/sliverkiss.gallery.json b/sliverkiss.gallery.json index d2ff491..044e168 100644 --- a/sliverkiss.gallery.json +++ b/sliverkiss.gallery.json @@ -125,6 +125,9 @@ "config": "57 21 * * * https://raw.githubusercontent.com/smallfawn/QLScriptPublic/main/bnmdhg_wx.js, tag=巴奴毛肚火锅签到,img-url=https://raw.githubusercontent.com/Sliverkiss/QuantumultX/main/icon/Bnmdhg.png, enabled=false", },{ "config": "5 8 * * * https://raw.githubusercontent.com/Sliverkiss/GoodNight/master/Script/hxek.js, tag=鸿星尔克签到,img-url=https://raw.githubusercontent.com/Sliverkiss/QuantumultX/main/icon/Hxek.png, enabled=false", + },{ + "config": "17 7 * * * https://raw.githubusercontent.com/FoKit/Scripts/main/scripts/jhsh_checkIn.js, tag=建行生活,img-url=https://raw.githubusercontent.com/fmz200/wool_scripts/main/icons/apps/ccbLife.jpg, enabled=true", + "addons": "https://raw.githubusercontent.com/Sliverkiss/QuantumultX/main/task/jhsh.conf, tag=建行生活签到cookie, update-interval=172800, opt-parser=false, enabled=true" }, ] } diff --git a/task/jhsh.conf b/task/jhsh.conf new file mode 100644 index 0000000..2f10f48 --- /dev/null +++ b/task/jhsh.conf @@ -0,0 +1,12 @@ +# @name 建行生活签到所需参数获取 +# @version v1.1.0 +# @description 用于 quantumultx 获取建行生活签到任务所需各项参数的重写文件 +# @author Sliverkiss +# @homepage https://github.com/Sliverkiss/QuantumultX +# @license MIT + +# mitm +hostname = yunbusiness.ccb.com + +# 获取建行生活签到需要的各项参数 +^https:\/\/yunbusiness\.ccb\.com\/(clp_coupon|clp_service)\/txCtrl\?txcode=(A3341A038|autoLogin) url script-request-body https://raw.githubusercontent.com/FoKit/Scripts/main/scripts/jhsh_checkIn.js