This commit is contained in:
pplokijuhyg 2019-12-23 20:54:14 +08:00
parent 6c2ea87030
commit 0c247895cb

View File

@ -46,7 +46,7 @@ var dellist = async (ctx,next)=>{
}) })
}else{ }else{
await dbs.remove('list',{ await dbs.remove('list',{
"num_key":ctx.query.id "num_key":parseInt(ctx.query.id)
}).then((res)=>{ }).then((res)=>{
ctx.body = JSON.stringify(res) ctx.body = JSON.stringify(res)
}).catch((err)=>{ }).catch((err)=>{