diff --git a/controllers/index.js b/controllers/index.js index 6525c76..75439cd 100644 --- a/controllers/index.js +++ b/controllers/index.js @@ -46,7 +46,7 @@ var dellist = async (ctx,next)=>{ }) }else{ await dbs.remove('list',{ - "num_key":ctx.query.id + "num_key":parseInt(ctx.query.id) }).then((res)=>{ ctx.body = JSON.stringify(res) }).catch((err)=>{