Commit 1c493546 by 冷斌

fix bug

parent 2976b365
......@@ -233,6 +233,8 @@ class Model_Live extends PhalApi_Model_NotORM {
->select('sum(votes) as votes')
->where("action = 'sendgift' and showid = '{$liveinfo['showid']}'")
->fetchOne();
var_dump($zhubo, $liveinfo['showid']);
die;
if (!empty($zhubo['votes'])) {
$rs['votes'] = (int)$zhubo['votes'];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment