Commit 412f0838 by 冷斌

fix bug

parent aca9d13a
......@@ -330,10 +330,12 @@ class Model_User extends PhalApi_Model_NotORM
public function rechangeList($uid)
{
$user = DI()->notorm->users->select('votes')->where('id=?', $uid)->fetchOne();
$user = DI()->notorm->users->select('votes, i_votes, f_votes')->where('id=?', $uid)->fetchOne();
return [
'list' => DI()->notorm->recharge_rules->order('orderno')->fetchAll(),
'votes' => $user['votes'],
'i_votes' => $user['i_votes'],
'f_votes' => $user['f_votes'],
];
}
......
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