From 0c247895cb78b153bc3f031affef04473d5ef7ce Mon Sep 17 00:00:00 2001 From: pplokijuhyg <1162963624@qq.com> Date: Mon, 23 Dec 2019 20:54:14 +0800 Subject: [PATCH] int --- controllers/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)=>{