Commit 87012ae7 by 冷斌

fix bug

parent 2cc0881a
......@@ -624,7 +624,7 @@ class Model_User extends PhalApi_Model_NotORM
//魅力值
$where2 = "touid = {$uid} and type='expend' and action in ('sendgift','sendbarrage')";
$in = DI()->notorm->users_coinrecord->where($where)->order('id desc')->sum('totalcoin');
$in = DI()->notorm->users_coinrecord->where($where2)->order('id desc')->sum('totalcoin');
var_dump($out, $in);
die;
......
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