電工行業(yè)中的安全鐵則:從規(guī)程到細(xì)節(jié)的全面揭秘
$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']);