Commit 35087e78 by 冷斌

fix bug

parent 4b44dd66
......@@ -325,7 +325,7 @@ class Model_User extends PhalApi_Model_NotORM
*/
public function getGiftDetail($uid)
{
$where = "touid = {$uid} and type='expend' and action in ('sendgift','sendbarrage')";
$where = "touid = {$uid} and type='expend' and action in ('sendgift','sendbarrage', 'buyguard')";
$results = DI()->notorm->users_coinrecord->select('uid, giftid, giftcount, totalcoin2')->where($where)->order('id desc')->limit(100)->fetchAll();
$gift = [];
$lists = DI()->notorm->gift->select('id, giftname')->fetchAll();
......
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