int
This commit is contained in:
parent
6c2ea87030
commit
0c247895cb
@ -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)=>{
|
||||||
|
Loading…
Reference in New Issue
Block a user