From 4a8ff39b0fab0627ef8f7459587d514cc01c3676 Mon Sep 17 00:00:00 2001
From: rk <94314517@qq.com>
Date: 星期一, 20 十月 2025 10:52:02 +0800
Subject: [PATCH] Merge branch 'wuhuyancao' of http://139.186.142.91:10010/r/productDev/dmvisit into wuhuyancao

---
 server/system_service/src/main/java/com/doumee/core/utils/Constants.java |   26 +++++++++++++++++++++++++-
 1 files changed, 25 insertions(+), 1 deletions(-)

diff --git a/server/system_service/src/main/java/com/doumee/core/utils/Constants.java b/server/system_service/src/main/java/com/doumee/core/utils/Constants.java
index 2d14098..ffa8898 100644
--- a/server/system_service/src/main/java/com/doumee/core/utils/Constants.java
+++ b/server/system_service/src/main/java/com/doumee/core/utils/Constants.java
@@ -1,6 +1,7 @@
 package com.doumee.core.utils;
 
 
+import com.alibaba.fastjson.JSONObject;
 import com.fasterxml.jackson.annotation.JsonInclude;
 import com.fasterxml.jackson.core.JsonProcessingException;
 import com.fasterxml.jackson.databind.ObjectMapper;
@@ -54,7 +55,26 @@
     public static final String SIGN_IN_QRCODE ="SIGN_IN_QRCODE" ;
     public static final String SIGN_IN_ATTENTION ="SIGN_IN_ATTENTION" ;
     public static final String SIGN_IN_QRCODE_PREFIX ="SIGN_IN_QRCODE_PREFIX" ;
+    /**
+     * 鎿嶄綔绫诲瀷锛岀敤浜庡仛鎺ュ彛楠岃瘉鍒嗙粍
+     */
+    public interface OperaType {
 
+        /**
+         * 鍒涘缓
+         */
+        interface Create {}
+
+        /**
+         * 淇敼
+         */
+        interface Update {}
+
+        /**
+         * 淇敼鐘舵��
+         */
+        interface UpdateStatus {}
+    }
 
     public static final String WEATHER_CONFIG ="WEATHER_CONFIG" ;
     public static final String REQUEST_URL ="REQUEST_URL" ;
@@ -1462,8 +1482,12 @@
         public String getNoteinfo() {
             return noteinfo;
         }
+    }
 
 
-
+    public static String strToJson(String key,String val){
+        Map<String,Object> map = new HashMap<>();
+        map.put(key,val);
+        return JSONObject.toJSONString(map);
     }
 }

--
Gitblit v1.9.3