mysql中each( use () {})

查询语句->each(function ($item, $key) use (&$events) {
$events[] = [
"attachment" => $item->screenpath,
"black_url" => $item->blackurl,
"dip" => null
];
});
posted @ 2019-07-09 14:16  阿陌i  阅读(466)  评论(0编辑  收藏  举报