|
|
@@ -31,18 +31,18 @@ public class SmsSydUtil {
|
|
|
// 证号 djjx
|
|
|
// 登录密码 6B1aQety
|
|
|
// 发送密码 yfhzfGSJ
|
|
|
- private static Account account = new Account("djjx", "yfhzfGSJ");
|
|
|
+ private Account account = new Account("djjx", "yfhzfGSJ");
|
|
|
|
|
|
@Value("${sms-syd.ip:127.0.0.1}")
|
|
|
- private static String SMS_IP = "127.0.0.1";
|
|
|
+ private String SMS_IP = "127.0.0.1";
|
|
|
@Value("${sms-syd.down-port:8090}")
|
|
|
- public static int DOWN_PORT = 8090;
|
|
|
+ public int DOWN_PORT = 8090;
|
|
|
@Value("${sms-syd.up-port:8188}")
|
|
|
- public static int UP_PORT = 8188;
|
|
|
+ public int UP_PORT = 8188;
|
|
|
|
|
|
// 8090 下发端口 8188 拉取状态报告和上行
|
|
|
- private static PostMsg DOWN_PM = new PostMsg(SMS_IP, DOWN_PORT);
|
|
|
- private static PostMsg UP_PM = new PostMsg(SMS_IP, UP_PORT);
|
|
|
+ private PostMsg DOWN_PM = new PostMsg(SMS_IP, DOWN_PORT);
|
|
|
+ private PostMsg UP_PM = new PostMsg(SMS_IP, UP_PORT);
|
|
|
|
|
|
private static Map<Integer, String> DOWN_MAP;
|
|
|
|