shawenguan 2 ani în urmă
părinte
comite
4086232903
2 a modificat fișierele cu 5 adăugiri și 2 ștergeri
  1. 3 0
      Scripts/jhsh/jhsh.rewrite.quanx.conf
  2. 2 2
      Scripts/jhsh/jhsh_checkIn.js

+ 3 - 0
Scripts/jhsh/jhsh.rewrite.quanx.conf

@@ -0,0 +1,3 @@
+hostname = yunbusiness.ccb.com
+
+^https:\/\/yunbusiness\.ccb\.com\/(clp_coupon|clp_service)\/txCtrl\?txcode=(A3341A038|autoLogin) url script-request-body https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Scripts/jhsh/jhsh_checkIn.js

+ 2 - 2
Scripts/jhsh/jhsh_checkIn.js

@@ -156,8 +156,8 @@ if (isGetCookie = typeof $request !== `undefined`) {
 
 // 获取签到数据
 function GetCookie() {
-    debug($request.headers);
-    debug($request.body);
+    console.log($request.headers);
+    console.log($request.body);
     if (/A3341A038/.test($request.url)) {
         $.body = JSON.parse($request.body);
         // if (bodyStr.indexOf('MID') == -1) {