保存素材后返回 obj

This commit is contained in:
yulixing 2019-07-05 17:54:29 +08:00
parent 7cd6c6dd4c
commit 18bb4ac25f

View File

@ -42,6 +42,7 @@ router.post('/save', async (req, res, next) => {
const result = await newMaterial.save()
res.send({
errcode: 0,
result: result
})
} catch (err) {
next(err)