From 35721f6b3aff892d207b2ca9b1cee3e8a0956f2d Mon Sep 17 00:00:00 2001 From: Hex Date: Tue, 7 Mar 2023 15:15:30 +0800 Subject: [PATCH] Update smzdm_lottery.js --- smzdm_lottery.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/smzdm_lottery.js b/smzdm_lottery.js index 9dd0e7b..610df7d 100644 --- a/smzdm_lottery.js +++ b/smzdm_lottery.js @@ -27,11 +27,12 @@ class SmzdmLotteryBot extends SmzdmBot { }; } - const { isSuccess, data, response } = await requestApi('https://zhiyou.smzdm.com/user/lottery/jsonp_get_current', { + const { isSuccess, data, response } = await requestApi('https://zhiyou.smzdm.com/user/lottery/jsonp_draw', { sign: false, parseJSON: false, headers: { ...this.getHeadersForWeb(), + 'x-requested-with': 'com.smzdm.client.android', Referer: 'https://m.smzdm.com/' }, data: {