This commit is contained in:
Jay 2018-08-23 23:36:49 +08:00
parent a652733c3d
commit af4426315f
1 changed files with 1 additions and 1 deletions

View File

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