| | |
| | | game.setOperationId(0); |
| | | } |
| | | System.out.println("============"+game); |
| | | |
| | | TStore tStore = storeService.getById(store); |
| | | game.setOperationId(tStore.getOperatorId()); |
| | | // 判断是新增还是修改 修改不会重新生成sutuId |
| | | if (game.getId()==null) { |
| | | HashMap<String, String> map5 = new HashMap<>(); |
| | |
| | | return null; |
| | | } |
| | | |
| | | |
| | | public static void main(String[] args) throws Exception { |
| | | String blueS = "{\"vipDetail\":1,role\":1,\"time\":[{\"start_time\":\"2025-08-25 09:00:00\",\"end_time\":\"2025-08-30 23:00:00\"}]}"; |
| | | MyQrCodeUtil.createCodeToFile(blueS); |
| | | BufferedImage blueImage = QRCodeUtil.createImage(blueS); |
| | | MultipartFile blueFile = convert(blueImage, new Date().getTime() + UUIDUtil.getRandomCode(3) + ".PNG"); |
| | | String s = OssUploadUtil.ossUpload("img/", blueFile); |
| | | System.err.println(s); |
| | | } |
| | | |
| | | @RequestMapping("/pre_add") |
| | | public String add(Model model) { |