From 36be00e0f3cbe0d559c646fd2977e6e3a74aa6f9 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Mon, 30 Sep 2024 16:57:22 +0800
Subject: [PATCH] Merge branch 'bea' of http://120.27.238.55:7000/r/exchange into bea

---
 src/main/java/com/xcong/excoin/common/contants/AppContants.java |   69 ++++++++++++++++++++++++++++++++++
 1 files changed, 69 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/common/contants/AppContants.java b/src/main/java/com/xcong/excoin/common/contants/AppContants.java
index 4513ee1..4e173f2 100644
--- a/src/main/java/com/xcong/excoin/common/contants/AppContants.java
+++ b/src/main/java/com/xcong/excoin/common/contants/AppContants.java
@@ -1,5 +1,7 @@
 package com.xcong.excoin.common.contants;
 
+import java.math.BigDecimal;
+
 /**
  * @author wzy
  * @date 2020-05-12
@@ -7,9 +9,17 @@
 public class AppContants {
 
     /**
+     * 系统用户
+     */
+    public static final String SYSTEM_USER = "system";
+
+
+    /**
      * app用户登陆redis前缀
      */
     public static final String APP_LOGIN_PREFIX = "app_";
+
+    public static final String PC_LOGIN_PREFIX = "pc_";
 
     /**
      * token头部
@@ -21,4 +31,63 @@
      */
     public static final String TOKEN_START_WITH = "Bearer ";
 
+    /**
+     * 账号类型-手机号
+     */
+    public static final String ACCOUNT_TYPE_MOBILE = "1";
+
+    /**
+     * 账号类型-邮箱
+     */
+    public static final String ACCOUNT_TYPE_EMAIL = "2";
+
+    /**
+     * 系统推荐人id
+     */
+    public static final String SYSTEM_REFERER = "rxadr3";
+
+    /**
+     * 初始化金额
+     */
+    public static final BigDecimal INIT_MONEY = BigDecimal.ZERO;
+
+
+    public static final Integer INIT_SIMULATE_MONEY = 5000;
+
+    /**
+     * homeSymbols 接口状态值 币币
+     */
+    public static final int HOME_SYMBOLS_COIN = 1;
+
+    /**
+     * homeSymbols 接口状态值 合约
+     */
+    public static final int HOME_SYMBOLS_CONTRACT = 2;
+
+    /**
+     * 验证码前缀 手机
+     */
+    public static final String VERIFY_CODE_PREFIX = "CODE_SMS_";
+
+    /**
+     * 图片后缀
+     */
+    public static final String UPLOAD_IMAGE_SUFFIX = ".jpg";
+
+    public static final String TIME_OUT = "time_out";
+
+    /**
+     *  取消订单id
+     */
+    public static final String ORDER_CANCEL_KEY = "COIN_ORDER_CANCEL_";
+
+    public static final BigDecimal DEFAULT_PRICE = BigDecimal.valueOf(1.28);
+
+
+    public static final String OTC_ORDER_CANCEL_TIMES = "OTC_ORDER_CANCEL_TIMES_";
+
+    public static final String MSG_NOTICE = "MSG_NOTICE_";
+
+    public static final String MSG_CHATTING = "MSG_CHATTING_";
+
 }

--
Gitblit v1.9.1