Commit b6ee2d64 by 冷斌

fix bug

parent 75dc40dd
......@@ -296,7 +296,7 @@ class Model_User extends PhalApi_Model_NotORM
}
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_cashrecord->select('*')->where("uid = {$uid} and source = {$source} and status in (0, 1)")->order('addtime desc')->fetchAll();
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