Commit feee716e by 冷斌

fix bug

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