From 692ab124aa4a498d565bc42c75300f8dbc83a2b5 Mon Sep 17 00:00:00 2001 From: LuChenQun Date: Wed, 4 Aug 2021 09:26:00 +0800 Subject: [PATCH] Update api.js --- src/controller/api.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/controller/api.js b/src/controller/api.js index e06a9bd..c5ec2c6 100644 --- a/src/controller/api.js +++ b/src/controller/api.js @@ -212,7 +212,6 @@ module.exports = class extends Base { bookmark.userId = this.ctx.state.user.id; try { let bookmarkFind = await this.model('bookmarks').where({ userId: this.ctx.state.user.id, url: bookmark.url }).find(); - console.log("bookmarkFind", bookmarkFind, bookmark) if (!think.isEmpty(bookmarkFind)) { await this.model('bookmarks').where({ userId: this.ctx.state.user.id,