mirror of
https://github.com/shufflewzc/faker2.git
synced 2025-04-19 10:08:03 +08:00
update
This commit is contained in:
parent
1c339a4875
commit
2965fb6c8e
20
jd_nzmh.js
20
jd_nzmh.js
File diff suppressed because one or more lines are too long
@ -366,14 +366,16 @@ function dotask(task) {
|
||||
|
||||
// 宝箱
|
||||
function bxdraw() {
|
||||
let body;
|
||||
let functionId, body;
|
||||
if ($.signhb_source === '5') {
|
||||
functionId = "signhb/bxdraw_jxpp"
|
||||
body = `ispp=1&sqactive=${$.sqactive}&tk=`
|
||||
} else {
|
||||
functionId = "signhb/bxdraw"
|
||||
body = `ispp=0&sqactive=&tk=`
|
||||
}
|
||||
return new Promise((resolve) => {
|
||||
$.get(taskUrl("signhb/bxdraw", body), async (err, resp, data) => {
|
||||
$.get(taskUrl(functionId, body), async (err, resp, data) => {
|
||||
try {
|
||||
if (err) {
|
||||
console.log(JSON.stringify(err));
|
||||
|
Loading…
Reference in New Issue
Block a user