Tutti Nuovi

user:thomas utente che ha creato il gist

title:mygist titolo del gist

filename:myfile.txt nome di file nel gist

extension:yml estensione del file nel gist

language:go linguaggio del file nel gist

topic:homelab gists with given topic

Entra


Tutti Nuovi Entra

All gists matching topic fetch

Più recente creazione
Meno recente creazione
Più recente aggiornamento
Meno recente aggiornamento

waynelone / 前端根据响应类型实现下载

0 mi piace
0 forks
4 files
Ultima volta attivo 5 months ago
前端根据 Content-Type 响应类型决定下载文件或提醒
cors download fetch
1 import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
2 import com.demo.common.reply.Result;
3 import io.swagger.v3.oas.annotations.Operation;
4 import io.swagger.v3.oas.annotations.Parameter;
5 import io.swagger.v3.oas.annotations.enums.ParameterIn;
6 import io.swagger.v3.oas.annotations.tags.Tag;
7 import org.springframework.core.io.ClassPathResource;
8 import org.springframework.core.io.Resource;
9 import org.springframework.http.HttpHeaders;
10 import org.springframework.http.ResponseEntity;
Più nuovi Più vecchi

Creato da Opengist ⋅ Load: 41ms⋅

Italiano
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文