Commit 595f1867 authored by zhouzihao's avatar zhouzihao

conf-修改线上配置

parent be02a4c5
Pipeline #96 failed with stages
in 23 seconds
...@@ -21,7 +21,7 @@ import java.util.Map; ...@@ -21,7 +21,7 @@ import java.util.Map;
@Component @Component
public class Tmp { public class Tmp {
private static final Logger log = LoggerFactory.getLogger(Tmp.class); private static final Logger log = LoggerFactory.getLogger(Tmp.class);
private static Integer times = 0; // private static Integer times = 0;
@Value("${vandyo.sid}") @Value("${vandyo.sid}")
private String sId; private String sId;
...@@ -39,7 +39,7 @@ public class Tmp { ...@@ -39,7 +39,7 @@ public class Tmp {
@Scheduled(fixedRate = 1000*30) @Scheduled(fixedRate = 1000*30)
public void test() { public void test() {
log.info("we run it {} times", ++times); // log.info("we run it {} times", ++times);
Case case1 = null; Case case1 = null;
// 上线前使用这段代码 // 上线前使用这段代码
// 登录 // 登录
......
...@@ -27,7 +27,7 @@ public class CollectionMachine { ...@@ -27,7 +27,7 @@ public class CollectionMachine {
if (temp.size() > 100) { if (temp.size() > 100) {
logger.info("try to put data"); logger.info("try to put data");
// 删除一分钟前的key数据 // 删除一分钟前的key数据
checkSize(1); checkSize(5);
} }
try { try {
temp.put(System.currentTimeMillis(), log); temp.put(System.currentTimeMillis(), log);
......
...@@ -12,9 +12,10 @@ import java.util.*; ...@@ -12,9 +12,10 @@ import java.util.*;
public class Signature { public class Signature {
private static final Logger log = LoggerFactory.getLogger(Tmp.class); private static final Logger log = LoggerFactory.getLogger(Tmp.class);
// need be change to product env // need be change to product env
// public static final String host = "http://10.100.11.41:8080"; // public static final String host = "http://10.100.12.42:8080";
public static final String host = "http://10.100.12.42:8080"; public static final String host = "http://api.vandyo.com:80";
public static final String msgHost = "http://10.100.12.42:8089"; // public static final String msgHost = "http://10.100.12.42:8089";
public static final String msgHost = "http://msg.vandyo.com:80";
/** /**
* 生成签名 * 生成签名
......
vandyo: vandyo:
sid: 38201fe198ef43b68f6bcf6101bc2970 sid: 38201fe198ef43b68f6bcf6101bc2970
uid: 860a776c832749ce86754d59c7ca9fca uid: 860a776c832749ce86754d59c7ca9fca
mobile: 13193073015 mobile: 13290090728
# pwd: 5f83f54fb34e2eed0439d37d80f5b1a3 # pwd: 5f83f54fb34e2eed0439d37d80f5b1a3
pwd: b41cb62ec6767f2e41f9df7a2d161515 pwd: 5b93b77302ea31f6ae776cb58334afe1
checkmeta: checkmeta:
desMap: desMap:
......
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