Merge branch 'master' into release

This commit is contained in:
Jay 2018-08-17 23:13:11 +08:00
commit 8017893174

View File

@ -23,6 +23,7 @@ r.use(async (c, n) => {
} catch (err) {
console.log(err)
obj = resObject(err instanceof APIError ? err.resKey : 'InternalError', err.apiMsg || null, err.msgCode || null)
console.log(obj)
}
if (Object.keys(c.obj).length > 0 && 'status' in c.obj && 'obj' in c.obj) {