摘要: $list = Db::name('*****')->where([])->select(); $arr[0] = ['name'=>'推荐']; array_walk($arr,function($item) use (&$list) { array_unshift($list, $item); 阅读全文
posted @ 2021-08-18 08:47 主心骨 阅读(793) 评论(0) 推荐(0)
摘要: public function Sec2Time($time) { if (is_numeric($time)) { $value = array( "years" => 0, "days" => 0, "hours" => 0, "minutes" => 0, "seconds" => 0, ); 阅读全文
posted @ 2021-06-16 15:52 主心骨 阅读(348) 评论(0) 推荐(0)