Commit 13686f00 by 冷斌

fix bug

parent 87012ae7
...@@ -626,9 +626,8 @@ class Model_User extends PhalApi_Model_NotORM ...@@ -626,9 +626,8 @@ class Model_User extends PhalApi_Model_NotORM
$where2 = "touid = {$uid} and type='expend' and action in ('sendgift','sendbarrage')"; $where2 = "touid = {$uid} and type='expend' and action in ('sendgift','sendbarrage')";
$in = DI()->notorm->users_coinrecord->where($where2)->order('id desc')->sum('totalcoin'); $in = DI()->notorm->users_coinrecord->where($where2)->order('id desc')->sum('totalcoin');
var_dump($out, $in); $info['gift_send'] = (int)$out;
die; $info['gift_get'] = (int)$in;
return $info; return $info;
} }
......
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