Commit f3245bbb54af42056e1853834abd6673b8c3479e

Authored by 程雨佳
1 parent 72b1ebce

对抽奖用户进行限制

Showing 1 changed file with 1 additions and 1 deletions
phpapi/apicp.UserList.php
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
17 17
18 18
19 $mysql = new mysqlHelper(); 19 $mysql = new mysqlHelper();
20 - $userList = $mysql->fetchAll("SELECT id,realname,headimg,prize_no FROM user WHERE status = 1"); 20 + $userList = $mysql->fetchAll("SELECT id,realname,headimg,prize_no FROM user WHERE status = 1 AND headimg <> ''");
21 21
22 // 查询已中奖用户 22 // 查询已中奖用户
23 $lotteryUserIds = []; 23 $lotteryUserIds = [];