From 4b22e543a050b9f8bf8bdab1f0f1e5a7ebbe75a0 Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期三, 27 八月 2025 18:09:49 +0800
Subject: [PATCH] 硬件回调

---
 cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/system/BallController.java |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/system/BallController.java b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/system/BallController.java
index 0bdd233..0080217 100644
--- a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/system/BallController.java
+++ b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/system/BallController.java
@@ -303,7 +303,8 @@
             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<>();
@@ -569,7 +570,14 @@
         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) {

--
Gitblit v1.7.1