保存素材后返回 obj
This commit is contained in:
parent
7cd6c6dd4c
commit
18bb4ac25f
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user