shawenguan 1 năm trước cách đây
mục cha
commit
29dad105ab
2 tập tin đã thay đổi với 2039 bổ sung26 xóa
  1. 2037 0
      Scripts/168/pksExpertBet.js
  2. 2 26
      Scripts/168/pksExpertPick.js

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 2037 - 0
Scripts/168/pksExpertBet.js


+ 2 - 26
Scripts/168/pksExpertHelper.js → Scripts/168/pksExpertPick.js

@@ -1,4 +1,4 @@
-const scriptName = `168专家推荐`;
+const scriptName = `168专家挑选`;
 const magicJS = MagicJS(scriptName, "INFO");
 
 let gLotteryCode = 10058;
@@ -23,9 +23,7 @@ const formatNow = () => {
 
 let gRetBody;
 async function Main() {
-	if (magicJS.isRequest) {
-		checkHandleRequest();
-	} else {
+	if (!magicJS.isRequest) {
 		gLotteryCode = magicJS.data.read('168_PksPlanLotteryCode', 10058);
 
 		gExpertsRecommendHost = magicJS.data.read('168_PksExpertsPlanAPIHost', 'n3iiz7z5p.168fxo67.com');
@@ -45,28 +43,6 @@ async function Main() {
 	}
 }
 
-function checkHandleRequest() {
-	handleHeaders();
-	const request = magicJS.request;
-	const url = request.url;
-	const path = request.path;
-	magicJS.log(`请求url=${url}#${request.method}`);
-	let reqBody = magicJS.getRequestBody();
-	magicJS.log(`请求body=${reqBody}`);
-	if ($request && $request.method != 'OPTIONS') {
-		switch (path) {
-			case '/v1/html/buy_plan/buy_plan.html`':
-				break;
-			default:
-				if (path.indexOf('/pks/getLotteryPksInfo.do') > -1) {
-
-				}
-				break;
-		}
-	}
-}
-
-
 async function tryPickExpert() {
 	let groupCode = 1;
 	let ranking = magicJS.data.read('168_PksExpertRecommendRanking', 1);

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác