mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update Luckdraw.php
This commit is contained in:
parent
a5b73a473c
commit
8d101552b8
@ -83,7 +83,7 @@ class Luckdraw extends Controller
|
||||
{
|
||||
$map = [['prize_code', '<>', ''], ['code', '=', $this->vo['code']]];
|
||||
$this->records = $this->app->db->name('ActivityLuckdrawRecord')->where($map)->order('id desc')->select()->toArray();
|
||||
foreach ($this->records as &$vo) $vo['username'] = mb_substr($vo['username'], 0, 1) . '**';
|
||||
foreach ($this->records as &$vo) $vo['username'] = mb_substr($vo['username'], 0, 1) . ' * * ';
|
||||
$this->fetch();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user