From bc6d83e72cb202397630c42657239d4747b81af2 Mon Sep 17 00:00:00 2001 From: yml2213 Date: Tue, 3 May 2022 00:45:36 +0800 Subject: [PATCH] =?UTF-8?q?5-3=20=20=E5=A2=9E=E5=8A=A0=E5=87=BA=E5=94=AE10?= =?UTF-8?q?0=E7=A7=AF=E5=88=86=20,=20=E5=A2=9E=E5=8A=A0=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E5=AE=9D=E6=8F=90=E7=8E=B0=201=20=E5=85=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cyh/cyh.js | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/cyh/cyh.js b/cyh/cyh.js index fa2f356..8f113e1 100644 --- a/cyh/cyh.js +++ b/cyh/cyh.js @@ -221,12 +221,12 @@ async function signin(timeout = 3 * 1000) { /** * 出售100积分 httpGet - * https://t-api.chyouhui.com/auth/dailySignIn/completed + * https://t-api.chyouhui.com/auth/sellIntegral/exchange/1 */ async function Sell_points(timeout = 3 * 1000) { let url = { - url: `https://t-api.chyouhui.com/auth/dailySignIn/completed`, + url: `https://t-api.chyouhui.com/auth/sellIntegral/exchange/1`, headers: { 'androidToken': ck[0], 'Host': 't-api.chyouhui.com', @@ -236,9 +236,9 @@ async function Sell_points(timeout = 3 * 1000) { let result = await httpPost(url, `出售100积分`, timeout); if (result.code == 0) { - console.log(`\n 出售100积分:成功 🎉 出售 100 积分: ${result.message} \n`); + console.log(`\n 出售100积分: ${result.message} 🎉 \n`); - msg += `\n 出售100积分:成功 🎉 出售 100 积分: ${result.message} \n` + msg += `\n 出售100积分: ${result.message} 🎉 \n` } else if (result.code == -1) { console.log(`\n 出售100积分:${result.message} \n`); @@ -295,12 +295,12 @@ async function ad_video_info(timeout = 3 * 1000) { /** * 提现 httpPost - * https://t-api.chyouhui.com/auth/watchVideo/completed/6 + * https://t-api.chyouhui.com/auth/withdraw/apply */ async function cash(timeout = 3 * 1000) { let url = { - url: `https://t-api.chyouhui.com/auth/watchVideo/completed/${ad_num}`, + url: `https://t-api.chyouhui.com/auth/withdraw/apply`, headers: { 'androidToken': ck[0], 'Host': 't-api.chyouhui.com', @@ -314,11 +314,9 @@ async function cash(timeout = 3 * 1000) { let result = await httpPost(url, `提现`, timeout); if (result.code == 0) { console.log(`\n 提现: ${result.message} 🎉 \n`); - msg += `\n 提现: ${result.message} 🎉 \n` } else if (result.code == -1) { console.log(`\n 提现:${result.message} \n`); - msg += `\n 提现: ${result.message} \n` } else { console.log(`\n 提现: ${data} \n `);