Add flyway database migration tool. Read diva news from database

This commit is contained in:
samnyan
2020-01-17 01:03:14 +09:00
parent a9a9ae4bbc
commit 3d99839fef
15 changed files with 7229 additions and 9 deletions

View File

@@ -46,6 +46,16 @@ public class RegisterHandler implements BaseHandler {
logger.info("Request: " + logMapper.write(requestMap));
if (((String) requestMap.get("luid")).equals("0c1ea200000000000000")) {
ctx.close();
return;
}
if (((String) requestMap.get("luid")).equals("0c1ea200000000000000")) {
ctx.close();
return;
}
Card card = new Card();
card.setLuid((String) requestMap.get("luid"));
card.setExtId(ThreadLocalRandom.current().nextLong(99999999));