摩托車(chē)時(shí)代又來(lái)臨??jī)蓚€(gè)“好消息”,車(chē)主:我們的福音來(lái)了
$config = self::init($module);// 模塊請(qǐng)求緩存檢查$request->cache($config['request_cache'],$config['request_cache_expire'],$config['request_cache_except']);} else {throw new HttpException(404, 'module not exists:' . $module);}} else {// 單一模塊部署$module = '';$request->module($module);}// 設(shè)置默認(rèn)過(guò)濾機(jī)制$request->filter($config['default_filter']);