Commit 9fb69d24 by 冷斌

fix bug

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