| | |
| | | @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; |