ConfigServer::get('map', 'tx_map_key'), ]; return $config; } /** * @notes 设置配置 * @param $post * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException * @author 段誉 * @date 2022/1/17 10:31 */ public static function setConfig($post) { ConfigServer::set('map', 'tx_map_key', $post['tx_map_key']); } }