Commit e491afb0 by 冷斌

fix bug

parent 075983c3
......@@ -1144,7 +1144,7 @@ class Model_User extends PhalApi_Model_NotORM
public function inviteList($uid)
{
//id, user_nicename, avatar,avatar_thumb,
$users = DI()->notorm->users->select(" create_time")->where('pid=? and user_type="2"', $uid)->fetchAll();
$users = DI()->notorm->users->select("id, create_time")->where('pid=? and user_type="2"', $uid)->fetchAll();
// foreach ($users as $key => $user) {
// $users[$key]['create_time'] = date('Y-m-d H:i:s', $user['create_time']);
// }
......
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