maker
This commit is contained in:
parent
c2b9adb823
commit
05de2d09e2
@ -182,7 +182,7 @@ router.get('/tags', async (req, res, next) => {
|
||||
// 增加浏览数
|
||||
router.post('/view', async (req, res, next) => {
|
||||
try {
|
||||
const body = query.body
|
||||
const body = req.body
|
||||
const _id = body._id
|
||||
const search = await Maker.findOne({ _id })
|
||||
const view = search.view || 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user