shicf
2024-08-23 2fef20fe45a1fc901b51243bcc60682524447990
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.product.device.controller;
 
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
import javax.servlet.http.HttpServletResponse;
 
import com.product.device.service.QuickResponseService;
 
import java.io.IOException;
 
@RestController
@RequestMapping("/api/common/util")
public class QuickResponseController {
    @Autowired
    QuickResponseService qrService;
    @RequestMapping("/create-qr")
    public void generateV3(String content, HttpServletResponse servletResponse) throws IOException {
        qrService.generateStream(content,servletResponse);
    }
}