Commit 1ca454ba by 冷斌

fix bug

parent 1c493546
......@@ -230,7 +230,7 @@ class Model_Live extends PhalApi_Model_NotORM {
// 魅力值。。
$zhubo=DI()->notorm->users_voterecord
->select('sum(votes) as votes')
->select('sum(totalcoin) as votes')
->where("action = 'sendgift' and showid = '{$liveinfo['showid']}'")
->fetchOne();
var_dump($zhubo, $liveinfo['showid']);
......
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