From c279b0695286bea0e915981f4b8dc52abd039dd0 Mon Sep 17 00:00:00 2001
From: huliguo <2023611923@qq.com>
Date: 星期四, 19 六月 2025 15:11:10 +0800
Subject: [PATCH] 抽奖bug修改
---
ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/constant/Constants.java | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 58 insertions(+), 2 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 5f7b06f..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,8 +2,8 @@
/**
* 通用常量信息
- *
- * @author ruoyi
+ *
+ * @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