mirror of
https://github.com/chinnkarahoi/jd_scripts.git
synced 2024-06-05 19:32:47 +08:00
修复报错
This commit is contained in:
parent
71dc497041
commit
eb7b202c76
@ -85,7 +85,7 @@ async function jdDreamFactory() {
|
||||
|
||||
|
||||
// 收取发电机的电力
|
||||
function collectElectricity(factoryId = factoryId, help = false) {
|
||||
function collectElectricity(help = false) {
|
||||
return new Promise(async resolve => {
|
||||
const url = `/dreamfactory/generator/CollectCurrentElectricity?zone=dream_factory&apptoken=&pgtimestamp=&phoneID=&factoryid=${factoryId}&doubleflag=1&sceneval=2&g_login_type=1`;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user