Update smzdm_lottery.js

This commit is contained in:
Hex
2023-03-07 15:15:30 +08:00
parent 1937692d91
commit 35721f6b3a

View File

@@ -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, sign: false,
parseJSON: false, parseJSON: false,
headers: { headers: {
...this.getHeadersForWeb(), ...this.getHeadersForWeb(),
'x-requested-with': 'com.smzdm.client.android',
Referer: 'https://m.smzdm.com/' Referer: 'https://m.smzdm.com/'
}, },
data: { data: {