fix perm bug, add share-lib

This commit is contained in:
yulixing 2019-07-04 20:31:10 +08:00
parent 9a8b91cdec
commit 67bd291c7e

View File

@ -188,6 +188,8 @@ router.post('/save_share', async (req, res, next) => {
return
}
const body = req.body
const isDev = body.isDev
const GameShareImageModel = isDev ? GameShareImageTest : GameShareImage