Commit 879b9e94 by 张恒

j

parent efb5a05c
...@@ -7,7 +7,7 @@ class CheckController extends BaseUserController ...@@ -7,7 +7,7 @@ class CheckController extends BaseUserController
{ {
public function index() public function index()
{ {
$sql = "select a.id,a.nickname,a.headimgurl,a.region,b.take_time from user a left join prize b on b.user_id = a.id where is_get=1 "; $sql = "select a.id,a.nickname,a.headimgurl,a.region,b.take_time,b.channel from user a left join prize b on b.user_id = a.id where is_get=1 ";
$list = M()->query($sql); $list = M()->query($sql);
$this->assign('list', $list); $this->assign('list', $list);
$this->display(); $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