Commit df153110 by 冷斌

fix bug

parent 375ae630
...@@ -694,7 +694,7 @@ class Model_Home extends PhalApi_Model_NotORM { ...@@ -694,7 +694,7 @@ class Model_Home extends PhalApi_Model_NotORM {
$users=array_column($users,"uid"); $users=array_column($users,"uid");
$userids=implode(",",$users); $userids=implode(",",$users);
$where.=" type='expend' and action in ('sendgift','sendbarrage') and touid in ({$userids}) "; $where.=" type='expend' and action in ('sendgift','sendbarrage') and touid in ({$userids}) ";
echo $where;die;
$result=DI()->notorm->users_coinrecord $result=DI()->notorm->users_coinrecord
->select('sum(totalcoin) as totalcoin, touid') ->select('sum(totalcoin) as totalcoin, touid')
->where($where) ->where($where)
......
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