mirror of
https://github.com/hex-ci/smzdm_script.git
synced 2026-06-18 01:27:20 +08:00
Update smzdm_lottery.js
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user