/i'; $local_url = UrlServer::getFileUrl(); $res = preg_replace($preg, '', $service); return $res; } public static function privacy() { $privacy = ConfigServer::get('policy', 'privacy', ''); $preg = '//i'; $local_url = UrlServer::getFileUrl(); $res = preg_replace($preg, '', $privacy); return $res; } public static function afterSale() { $after_sale = ConfigServer::get('policy', 'after_sale', ''); $preg = '//i'; $local_url = UrlServer::getFileUrl(); $res = preg_replace($preg, '', $after_sale); return $res; } public static function userDelete() { $user_delete = ConfigServer::get('policy', 'user_delete', ''); $preg = '//i'; $local_url = UrlServer::getFileUrl(); $res = preg_replace($preg, '', $user_delete); return $res; } }