Commit 7740e7eb by doszhang

dos

parent f56ade7b
......@@ -9,7 +9,7 @@ class PrizeController 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.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";
$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