Commit ef3d9c87 by 冷斌

fix bug

parent feee716e
...@@ -47,7 +47,7 @@ class LiveController extends AdminbaseController { ...@@ -47,7 +47,7 @@ class LiveController extends AdminbaseController {
$userinfo=M("users")->field("user_nicename")->where("id='{$v['uid']}'")->find(); $userinfo=M("users")->field("user_nicename")->where("id='{$v['uid']}'")->find();
$lists[$k]['userinfo']=$userinfo; $lists[$k]['userinfo']=$userinfo;
$zhubo=M('users_voterecord') $zhubo=M('users_voterecord')
->select('sum(votes) as votes') ->field('sum(votes) as votes')
->where("action = 'sendgift' and showid = '{$v['showid']}'") ->where("action = 'sendgift' and showid = '{$v['showid']}'")
->find(); ->find();
var_dump($zhubo); var_dump($zhubo);
......
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