From 576f7eefe00832b8a7f7750cfd0ee6975bcf6acf Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Mon, 15 Jun 2020 10:16:02 +0800 Subject: [PATCH] 20200615 代码提交 --- src/main/java/com/xcong/excoin/common/contants/AppContants.java | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 53 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..732ae93 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,47 @@ */ 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"; + } -- Gitblit v1.9.1