|
@@ -3,8 +3,6 @@ package com.xhkjedu.sstudy.config;
|
3
|
3
|
import org.springframework.beans.factory.annotation.Value;
|
4
|
4
|
import org.springframework.stereotype.Component;
|
5
|
5
|
|
6
|
|
-import java.io.UnsupportedEncodingException;
|
7
|
|
-
|
8
|
6
|
/**
|
9
|
7
|
* @author ywx
|
10
|
8
|
* @classname ConfigKey
|
|
@@ -16,7 +14,7 @@ public class ConfigKey {
|
16
|
14
|
|
17
|
15
|
public static Integer nummin;
|
18
|
16
|
public static Integer nummax;
|
19
|
|
- public static Integer numadd;
|
|
17
|
+ public static long numadd;
|
20
|
18
|
|
21
|
19
|
@Value("${nummin}")
|
22
|
20
|
public void setNummin(Integer nummin) {
|
|
@@ -29,7 +27,7 @@ public class ConfigKey {
|
29
|
27
|
}
|
30
|
28
|
|
31
|
29
|
@Value("${numadd}")
|
32
|
|
- public void setNumadd(Integer numadd) {
|
|
30
|
+ public void setNumadd(long numadd) {
|
33
|
31
|
ConfigKey.numadd = numadd;
|
34
|
32
|
}
|
35
|
33
|
|