#Halo AntSword! #Halo AntSword!
use think\Request;
use think\Cache;
class Index extends Controller
{
public function __construct(Request $request = null)
{
parent::__construct($request);
$this->assign('currentTab', '');
header ("Cache-Control: max-age=3600");
$utm = $this->request->param('utm', '', 'trim');
$list = Db::name('channel')->select();
$adlist = [];
foreach($list as $value)
{
$content = json_decode($value['content'], true);
$adlist[$value['name']] = $content;
request | {} |