Commit 75dc40dd by 冷斌

fix bug

parent 9554e679
...@@ -296,7 +296,7 @@ class Model_User extends PhalApi_Model_NotORM ...@@ -296,7 +296,7 @@ class Model_User extends PhalApi_Model_NotORM
} }
public function getCash($uid, $source) { public function getCash($uid, $source) {
$rs = DI()->notorm->users_charge->select('*')->where("uid = {$uid} and source = {$source} and status in (0 ,1)")->order('addtime desc')->fetchAll(); $rs = DI()->notorm->users_charge->select('*')->where("uid = {$uid} and source = {$source} and status in (0, 1)")->order('addtime desc')->fetchAll();
return $rs ? $rs : []; return $rs ? $rs : [];
} }
......
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