作者 潘浩文
1 个管道 的构建 通过 耗费 0 秒

1

... ... @@ -171,6 +171,7 @@ tpl;
public function test(){
$data=Db::name('portal_post')->field('post_title,published_time')->select()->each(function ($item){
$item['time']=date('Y-m-d',$item['published_time']);
return $item;
});
var_dump($data);
}
... ...