自动化立体仓库 - WMS系统
13
zhang
3 天以前 82de5a307466894bbb0258f8a63a26a7bb96d80d
src/main/java/com/zy/common/web/FileController.java
@@ -23,16 +23,16 @@
@RequestMapping("file/")
public class FileController {
    @RequestMapping(value = "/barcode/qrcode/auth")
//    @ManagerAuth(memo = "商品编号条形码获取(type:1(条形码);2(二维码)")
    public R matCodeBarcode(@RequestParam(defaultValue = "1") Integer type
                            , @RequestParam String param
                            , @RequestParam(required = false) Integer width
                            , @RequestParam(required = false) Integer height
                            , HttpServletResponse response) throws Exception {
            , @RequestParam String param
            , @RequestParam(required = false) Integer width
            , @RequestParam(required = false) Integer height
            , HttpServletResponse response) throws Exception {
        AdminInterceptor.cors(response);
        if (Cools.isEmpty(param)){
        if (Cools.isEmpty(param)) {
            return R.parse(BaseRes.EMPTY);
        }
        BufferedImage img;