This commit is contained in:
2024-03-01 20:28:14 +08:00
commit 076c21dc36
491 changed files with 84482 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
module.exports = function(){
this.bindHook('import_data', function(importDataModule){
importDataModule.swagger = async (res)=>{
try{
return await require('./run.js')(res)
}catch(err){
this.commons.log(err, 'error')
return false;
}
}
})
}