Commit 941db6f4 by doszhang

dos

parent 12931fba
......@@ -9,7 +9,7 @@ class InfoController extends AdminController
{
public function index()
{
$sql = "select u.id,u.nickname,u.tel,p.prize_name,p.take_time from user as u, prize as p where u.id=p.user_id and p.is_get=1";
$sql = "select u.id,u.nickname,u.headimgurl,i.name,i.tel,i.submit_time from user as u,info as i where i.uid=u.id";
$list = M()->query($sql);
$this->assign('list', $list);
$this->display();
......
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 sign in to comment