From ea1a62ba6484d6c6cb1ca67dcea938a95ba18fc6 Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期一, 26 五月 2025 18:26:26 +0800
Subject: [PATCH] 新增加用户端接口

---
 ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java |   58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 57 insertions(+), 1 deletions(-)

diff --git a/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java b/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java
index 1f01333..c7dd08c 100644
--- a/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java
+++ b/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java
@@ -2,7 +2,7 @@
 
 /**
  * 通用常量信息
- * 
+ *
  * @author jqs
  */
 public class Constants
@@ -113,6 +113,51 @@
     public static final long CAPTCHA_EXPIRATION = 2;
 
     /**
+     * 企业微信返回码 返回码
+     */
+    public static final String QY_WX_ERR_CODE = "errcode";
+
+
+    public static final String QY_WX_NONCE_STR = "Wm3WZYTPz0wzccnW";
+
+    /**
+     * 企业微信返回码 调用接口凭证KEY
+     */
+    public static final String QY_WX_ACCESS_TOKEN_KEY = "qy_wx_access_token";
+
+    /**
+     * 企业微信返回码 调用接口ticket KEY
+     */
+    public static final String QY_WX_TICKET_KEY = "qy_wx_ticket_token";
+
+
+
+    /**
+     * 企业微信返回码 调用接口凭证
+     */
+    public static final String QY_WX_ACCESS_TOKEN = "access_token";
+
+    /**
+     * 企业微信返回码 调用接口凭证
+     */
+    public static final String QY_WX_EXPIRES_IN = "expires_in";
+
+
+    public static final String QY_WX_TICKET = "ticket";
+
+
+
+    /**
+     * 成员UserID
+     */
+    public static final String QY_WX_USER_ID = "userid";
+
+    /**
+     * 成员UserID
+     */
+    public static final String QY_WX_USER_TICKET = "user_ticket";
+
+    /**
      * 资源映射路径 前缀
      */
     public static final String RESOURCE_PREFIX = "/profile";
@@ -127,4 +172,15 @@
      */
     public static final String[] JOB_ERROR_STR = { "java.net.URL", "javax.naming.InitialContext", "org.yaml.snakeyaml",
             "org.springframework", "org.apache", "com.ruoyi.common.core.utils.file" };
+
+
+    /** 登录端 */
+    public static final Integer FROM_SYSTEM = 0;
+
+    public static final Integer FROM_SHOP = 1;
+
+    public static final Integer FROM_STAFF = 2;
+
+    public static final Integer FROM_MINI_APP = 3;
+
 }

--
Gitblit v1.7.1