Commit 217f05c8 authored by hezhen's avatar hezhen

123

parent af21de1e
......@@ -6,7 +6,7 @@ import java.util.Set;
public class ReferralCodeUtil {
//验证码长度
private static final int LEN = 8;
private static final int LEN = 6;
//验证码字符初始列表
private static final char STUFFS[] = {
'E','5','F','C','D','G','3','H',
......@@ -21,7 +21,7 @@ public class ReferralCodeUtil {
static {
PERMUTATION = permutation(LEN);
MAX_COMBINATION = combination(_stuffs.length, LEN);
MAX_COMBINATION = combination(36, LEN);
}
// public static void resetStuffs() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment