Merge branch 'master' into release

This commit is contained in:
Jay 2018-08-23 00:23:33 +08:00
commit 1fa6b61878

View File

@ -132,13 +132,11 @@ r.put('/channel/:chid/opay/setting', checkSession, getChannelList, hasChannel('c
"target_amount" = $4,
"title" = $5`
let values = [c.state.channel.id, sd, ed, amount, c.request.body.title]
let result = await c.db.query({
await c.db.query({
text,
values
})
console.log(result)
c.obj = resObject('Success')
})