From 829f629756e5402bcd3e9f6ef1f9c6dbffbabb11 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Wed, 17 Apr 2024 14:46:29 +0800 Subject: [PATCH] 55测试环境 --- src/main/java/com/xcong/excoin/common/contants/AppContants.java | 75 +++++++++++++++++++++++++++++++++++++ 1 files changed, 75 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..ced45f7 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,69 @@ */ 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"; + + public static final String CLOSING_ORDER_PREFIX = "closing_cnt_"; + + /** + * 任务进行中前缀 + */ + public static final String RABBIT_TYPE = "rabbit_type_"; + + public static final String MEMBER_TYPE = "member_type_"; + + public static final String WHOLE_BOMB_PREFIX = "whole_bomb_"; + + public static final String HOLD_BOND_RATIO = "hold_bond_ratio"; + public static final String WHOLE_BOMB_MAP = "whole_bomb_map"; + public static final String MEMBER_HAS_FOLLOW = "follower_member_id"; + + public static final String BASE_URL_L1 = "http://123.60.4.127:8880"; + public static final String BASE_URL_L2 = "http://123.60.4.127:8880"; + public static final BigDecimal BASE_MIN_AMOUNT = new BigDecimal(100); + + } -- Gitblit v1.9.1