3 lines
283 B
JSON
3 lines
283 B
JSON
|
{
|
||
|
"建筑":"storage.db['rooms.objects'].find({ type: 'constructionSite' }).then(resp => resp.map(cs => storage.db['rooms.objects'].findOne({ _id: cs._id }).then(csDetail => storage.db['rooms.objects'].update({_id: cs._id }, {$set: { progress: csDetail.progressTotal - 1 }}))))"
|
||
|
}
|