huwhois 5 ans auparavant
Parent
commit
5a59a06214

+ 1 - 1
src/main/java/io/renren/modules/app/controller/QRCodeTest.java

@ -34,7 +34,7 @@ public class QRCodeTest {
34 34
35 35
    @GetMapping("qcodetest.jpg")
36 36
    @ApiOperation("获取二维码图片")
37
    public void  getCodeImg(HttpServletResponse response, String text){
37
    public void  getCodeImg(HttpServletResponse response, String text)throws IOException {
38 38
        response.setHeader("Cache-Control", "no-store, no-cache");
39 39
		response.setContentType("image/jpeg");
40 40