shawenguan 2 лет назад
Родитель
Сommit
b3382741a2
2 измененных файлов с 12 добавлено и 12 удалено
  1. 4 4
      Scripts/thwj/thwj.rewrite.quanx.conf
  2. 8 8
      Scripts/thwj/thwjHelper.js

+ 4 - 4
Scripts/thwj/thwj.rewrite.quanx.conf

@@ -1,6 +1,6 @@
 hostname = thwj.bdyapp.cn
 hostname = thwj.bdyapp.cn
 
 
-^https:\/\/thwj.bdyapp.cn\/\/index\/user\/get_tabbar_paradrop_data url script-request-body https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Scripts/thwj/thwjHelper.js
-^https:\/\/thwj.bdyapp.cn\/\/index\/user\/get_tabbar_paradrop_data url script-response-body https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Scripts/thwj/thwjHelper.js
-^https:\/\/thwj.bdyapp.cn\/\/index url script-response-body https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Scripts/thwj/thwjHelper.js
-^https:\/\/thwj.bdyapp.cn url script-response-body https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Scripts/thwj/thwjHelper.js
+^https:\/\/thwj.42faka.cn\/\/index\/user\/get_tabbar_paradrop_data url script-request-body https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Scripts/thwj/thwjHelper.js
+^https:\/\/thwj.42faka.cn\/\/index\/user\/get_tabbar_paradrop_data url script-response-body https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Scripts/thwj/thwjHelper.js
+^https:\/\/thwj.42faka.cn\/\/index url script-response-body https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Scripts/thwj/thwjHelper.js
+^https:\/\/thwj.42faka.cn url script-response-body https://git.jojo21.cf/shawenguan/Quantumult-X/raw/master/Scripts/thwj/thwjHelper.js

+ 8 - 8
Scripts/thwj/thwjHelper.js

@@ -14,11 +14,11 @@ const CommonHeaders = {
     'Accept-Encoding': `gzip, deflate, br`,
     'Accept-Encoding': `gzip, deflate, br`,
     'Content-Type': `application/json`,
     'Content-Type': `application/json`,
     'Sec-Fetch-Site': `same-origin`,
     'Sec-Fetch-Site': `same-origin`,
-    'Origin': `https://thwj.bdyapp.cn`,
+    'Origin': `https://thwj.42faka.cn`,
     'User-Agent': CommonUserAgent,
     'User-Agent': CommonUserAgent,
     'Sec-Fetch-Mode': `cors`,
     'Sec-Fetch-Mode': `cors`,
     'Cookie': CommonCookie,
     'Cookie': CommonCookie,
-    'Host': `thwj.bdyapp.cn`,
+    'Host': `thwj.42faka.cn`,
     'Accept-Language': `zh-CN,zh-Hans;q=0.9`,
     'Accept-Language': `zh-CN,zh-Hans;q=0.9`,
     'Accept': `*/*`
     'Accept': `*/*`
 };
 };
@@ -28,7 +28,7 @@ const CommonGetHeaders = {
     'Sec-Fetch-Mode': `navigate`,
     'Sec-Fetch-Mode': `navigate`,
     'Connection': `keep-alive`,
     'Connection': `keep-alive`,
     'Accept-Encoding': `gzip, deflate, br`,
     'Accept-Encoding': `gzip, deflate, br`,
-    'Host': `thwj.bdyapp.cn`,
+    'Host': `thwj.42faka.cn`,
     'User-Agent': CommonUserAgent,
     'User-Agent': CommonUserAgent,
     'Sec-Fetch-Site': `none`,
     'Sec-Fetch-Site': `none`,
     'Accept-Language': `zh-CN,zh-Hans;q=0.9`,
     'Accept-Language': `zh-CN,zh-Hans;q=0.9`,
@@ -281,7 +281,7 @@ function loadIndex() {
             headers['Sec-Fetch-Site'] = 'none';
             headers['Sec-Fetch-Site'] = 'none';
             headers['Sec-Fetch-Dest'] = 'documment';
             headers['Sec-Fetch-Dest'] = 'documment';
             let url = {
             let url = {
-                url: `https://thwj.bdyapp.cn/`,
+                url: `https://thwj.42faka.cn/`,
                 headers: headers,
                 headers: headers,
                 body: '',
                 body: '',
             };
             };
@@ -339,7 +339,7 @@ async function getVerifyCodeImg() {
             headers['Sec-Fetch-Dest'] = 'image';
             headers['Sec-Fetch-Dest'] = 'image';
             let now = new Date().getTime();
             let now = new Date().getTime();
             let url = {
             let url = {
-                url: `https://thwj.bdyapp.cn//index/index/get_verify_code?${now}`,
+                url: `https://thwj.42faka.cn//index/index/get_verify_code?${now}`,
                 headers: headers,
                 headers: headers,
                 body: '',
                 body: '',
             };
             };
@@ -609,7 +609,7 @@ async function doLogin(phone, password, verifyCode) {
             }
             }
             let payLoad = JSON.stringify(reqData);
             let payLoad = JSON.stringify(reqData);
             let url = {
             let url = {
-                url: `https://thwj.bdyapp.cn//index/index/login?lang=zh-cn`,
+                url: `https://thwj.42faka.cn//index/index/login?lang=zh-cn`,
                 headers: headers,
                 headers: headers,
                 body: payLoad,
                 body: payLoad,
             };
             };
@@ -678,7 +678,7 @@ async function doExplore(phone, password, token) {
             }
             }
             let payLoad = JSON.stringify(reqData);
             let payLoad = JSON.stringify(reqData);
             let url = {
             let url = {
-                url: `https://thwj.bdyapp.cn//index/paradrop_order/start_paradrop?lang=zh-cn`,
+                url: `https://thwj.42faka.cn//index/paradrop_order/start_paradrop?lang=zh-cn`,
                 headers: headers,
                 headers: headers,
                 body: payLoad,
                 body: payLoad,
             };
             };
@@ -739,7 +739,7 @@ async function getParadropData(phone, password, token) {
             }
             }
             let payLoad = JSON.stringify(reqData);
             let payLoad = JSON.stringify(reqData);
             let url = {
             let url = {
-                url: `https://thwj.bdyapp.cn//index/user/get_tabbar_paradrop_data?lang=zh-cn`,
+                url: `https://thwj.42faka.cn//index/user/get_tabbar_paradrop_data?lang=zh-cn`,
                 headers: headers,
                 headers: headers,
                 body: payLoad,
                 body: payLoad,
             };
             };