$value) { $cache[$key] = $value; } wcache('config', ['data' => serialize($_POST)], 'refill-'); showMessage('编辑成功'); } else { $config = rcache('config', 'refill-'); if (empty($config)) { $config = []; } else { $config = unserialize($config['data']); } Tpl::output('config', $config); Tpl::showpage('refill.config'); } } }