def post(self):
id_ = self.get_body_argument('id', None)
if not id_:
self.custom_error()
rtn = yield self.db.tag.remove({
'_id': ObjectId(id_)
})
if rtn:
self.write('{"success":true}')
self.finish()
else:
self.custom_error()
#
# ???????
#
评论列表
文章目录