Merge branch 'master' into release

This commit is contained in:
Jay 2018-08-26 21:37:36 +08:00
commit 0c12f8abf3

View File

@ -175,9 +175,9 @@ r.get('/channel/:chid/opay/bar', async (c, n) => {
text, values
})
if (priceResult.rowCount > 0) {
setting.total = priceResult.rows[0].total
setting.total += priceResult.rows[0].total
} else {
setting.total = 0
setting.total += 0
}
}