From 89cc8f054c27f70fcfe16f14554a8a12e0c19e23 Mon Sep 17 00:00:00 2001
From: yujian <yujian@163.com>
Date: 星期三, 18 十二月 2019 09:22:31 +0800
Subject: [PATCH] 邀请统计
---
fanli/src/main/java/com/yeshi/fanli/util/Constant.java | 85 +++++++++++++++++++++++++++++++++++++++---
1 files changed, 79 insertions(+), 6 deletions(-)
diff --git a/fanli/src/main/java/com/yeshi/fanli/util/Constant.java b/fanli/src/main/java/com/yeshi/fanli/util/Constant.java
index 73c4d60..8426794 100644
--- a/fanli/src/main/java/com/yeshi/fanli/util/Constant.java
+++ b/fanli/src/main/java/com/yeshi/fanli/util/Constant.java
@@ -7,7 +7,7 @@
import org.yeshi.utils.annotation.MapUtil;
-import com.yeshi.fanli.entity.accept.AcceptData;
+import com.yeshi.fanli.dto.wx.WXAccountInfoDTO;
import com.yeshi.fanli.entity.config.AlipayConfig;
import com.yeshi.fanli.entity.config.ConstantConfig;
import com.yeshi.fanli.entity.config.SMSConfig;
@@ -24,6 +24,8 @@
public static boolean IS_TEST = true;
public static int PAGE_SIZE = 20;
+
+ public static String YINGYONGBAO_LINK="https://a.app.qq.com/o/simple.jsp?pkgname=com.yeshi.ec.rebate";
public final static String UIDAESKEY = "WW782ss@8*px/%2v";
@@ -101,6 +103,8 @@
public static final int SOURCE_TYPE_WPH = 4;
// 鏉ユ簮-鑻忓畞
public static final int SOURCE_TYPE_SUNING = 5;
+ // 鏉ユ簮-楗夸簡涔�
+ public static final int SOURCE_TYPE_ELME = 6;
// 鑷喘-杩斿埄
public static final int TYPE_REBATE = 1;
@@ -113,7 +117,66 @@
public static final int TOKEN_DAYS = 1;
// 璧犻�佹湁鏁堟湡-澶�
public static final int GIVE_DAYS = 1;
-
+
+
+ // 寰俊鑷姩鎻愮幇閲戦
+ public static final int AUTO_EXTRACT_MONEY = 1;
+ // 寰俊鑷姩鎻愮幇鏈�浣庝綑棰�
+ public static final int AUTO_EXTRACT_MIN_SURPLUS = 2;
+
+ // vip銆佺孩鍖呫�佸鍔卞埜鍊掕鏃� 2.1涓婄嚎鏃堕棿
+ public static final String VIP_ONLINE_TIME = "2019-12-20";
+
+ // 绾㈠寘閭�璇峰鍔�
+ public static final String RED_PACK_ONLINE_TIME = "2019-12-14";
+
+ // 涓�闃舵锛�20澶╂暟闄愬埗
+ public static final int ONE_STAGE_LIMIT_DAYS = 20;
+ // 涓�闃舵锛氱珛寰楃幇閲�3鍏�
+ public static final BigDecimal ONE_STAGE_MONEY = new BigDecimal("3");
+
+ // 浜岄樁娈碉細90澶╂暟闄愬埗
+ public static final int TWO_STAGE_LIMIT_DAYS = 90;
+ // 浜岄樁娈碉細-闃熷弸浜х敓鐨勮鍗曚腑锛堣嚜璐�+鍒嗕韩锛夛紝閭�璇蜂汉绱浜х敓鈮�1 鍏冨閲�
+ public static final BigDecimal TWO_STAGE_ORDER_REWARD_MIN = new BigDecimal("1");
+ // 浜岄樁娈碉細 绾㈠寘閲戦鏈�灏�3鍏�
+ public static final BigDecimal TWO_STAGE_MONEY_MIN = new BigDecimal("3");
+ // 浜岄樁娈碉細姣忔鏈�澶氬鍔�0.5
+ public static final BigDecimal TWO_STAGE_MONEY_ADD = new BigDecimal("0.5");
+ // 浜岄樁娈碉細 澧炲姞9娆�
+ public static final int TWO_STAGE_MONEY_ADD_NUM = 9;
+
+ // 涓夐樁娈碉細杩炵画濂栧姳鏈堟暟
+ public static final int THREE_STAGE_REWARD_MONTH = 15;
+ // 涓夐樁娈碉細-杩炵画 15 涓湀濂藉弸姣忔湀鈥滅粰浣犵疮璁′骇鐢熲墺2 鍏冨 閲戔��
+ public static final BigDecimal THREE_STAGE_ORDER_REWARD_MIN = new BigDecimal("2");
+ // 涓夐樁娈碉細绾㈠寘濂栧姳闅忔満鑼冨洿
+ public static final double THREE_STAGE_RANDOM_MIN = 1.5;
+ public static final double THREE_STAGE_RANDOM_MAX = 2;
+
+ // 鏂颁汉濂栧姳杩炵画澶╂暟
+ public static final long TLJ_NEW_USER_DAYS = 7;
+ // 鏂颁汉濂栧姳鏈�楂�
+ public static final BigDecimal TLJ_NEW_USER_MONEY = new BigDecimal("2");
+ // 鏂颁汉濂栧姳绗竴娆¢殢鏈烘渶灏�
+ public static final int TLJ_NEW_USER_MIN = 50;
+ // 鏂颁汉濂栧姳绗竴娆¢殢鏈烘渶澶�
+ public static final int TLJ_NEW_USER_MAX = 60;
+ // 鏂颁汉绾㈠寘鏈夋晥鏈�10澶�
+ public static final int TLJ_NEW_USER_LIMIT = 10;
+ // 鏂颁汉瀹氫箟锛� 鑷畬鎴愭敞鍐岃捣10澶╁唴锛�
+ public static final int TLJ_NEW_USER_DEFINE = 10;
+
+ // vip濂栧姳鍒稿埜5寮�
+ public static final int VIP_COUPON_REWARD_NUM = 30;
+ // vip璧犻�佸厤鍗曞埜5寮�
+ public static final int VIP_COUPON_GIVEFREE_NUM = 5;
+ // vip璧犻�侀噾甯�
+ public static final int VIP_COLDCOIN_NUM = 1800;
+
+ // 濂栧姳鍒稿�掕鏃� - 澶╂暟
+ public static final int COUPON_REWARD_LIMIT_DAY = 5;
+
public static WXGZConfig wxGZConfig;
// 鐭俊楠岃瘉鐮侀厤缃�
@@ -248,6 +311,8 @@
return "鍞搧浼�";
case SOURCE_TYPE_SUNING:
return "鑻忓畞";
+ case SOURCE_TYPE_ELME:
+ return "楗夸簡涔�";
default:// 鍏朵粬绫诲瀷
return "";
}
@@ -263,9 +328,17 @@
}
public static String getAppName(String platform, String version) {
- if (VersionUtil.greaterThan_2_0(platform, version))
- return Constant.systemCommonConfig.getProjectName();
- else
- return "杩斿埄鍒�";
+ // if (VersionUtil.greaterThan_2_0(platform, version))
+ return Constant.systemCommonConfig.getProjectChineseName();
+ // else
+ // return "杩斿埄鍒�";
+ }
+
+ public static WXAccountInfoDTO getWXAccount(String platform, String version) {
+ // return new WXAccountInfoDTO("wx43617e2ed82c5b28",
+ // "f8a65908fb4681bdd181de70f6ab9a3b", "wx5c0d167c6e3ad726",
+ // "0c79d5869bb0f2d7c13e43f9a18f440d");
+ return new WXAccountInfoDTO("wxa99686bb65a9f466", "57390718ddedaa1591f6876cdcf96f43", "wx5c0d167c6e3ad726",
+ "0c79d5869bb0f2d7c13e43f9a18f440d");
}
}
--
Gitblit v1.8.0