Commit a6cba4ad by 冷斌

update

parent 5ca6189d
...@@ -123,7 +123,8 @@ class CustomerController extends AdminbaseController{ ...@@ -123,7 +123,8 @@ class CustomerController extends AdminbaseController{
$total_votes='0'; $total_votes='0';
} }
$v['total_votes']=$total_votes; $v['total_votes']=$total_votes;
var_dump($v);
die;
$results = M('users_coinrecord') $results = M('users_coinrecord')
// ->select("sum('totalcoin') as sum") // ->select("sum('totalcoin') as sum")
->where("uid = {$v['id']} and type='expend' and action in ('sendgift','sendbarrage')") ->where("uid = {$v['id']} and type='expend' and action in ('sendgift','sendbarrage')")
......
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