mirror of
https://github.com/shufflewzc/faker2.git
synced 2025-04-19 21:18: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() {
|
function bxdraw() {
|
||||||
let body;
|
let functionId, body;
|
||||||
if ($.signhb_source === '5') {
|
if ($.signhb_source === '5') {
|
||||||
|
functionId = "signhb/bxdraw_jxpp"
|
||||||
body = `ispp=1&sqactive=${$.sqactive}&tk=`
|
body = `ispp=1&sqactive=${$.sqactive}&tk=`
|
||||||
} else {
|
} else {
|
||||||
|
functionId = "signhb/bxdraw"
|
||||||
body = `ispp=0&sqactive=&tk=`
|
body = `ispp=0&sqactive=&tk=`
|
||||||
}
|
}
|
||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
$.get(taskUrl("signhb/bxdraw", body), async (err, resp, data) => {
|
$.get(taskUrl(functionId, body), async (err, resp, data) => {
|
||||||
try {
|
try {
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(JSON.stringify(err));
|
console.log(JSON.stringify(err));
|
||||||
|
Loading…
Reference in New Issue
Block a user