提交注册bug
|
@ -69,3 +69,7 @@
|
|||
|_ jstack 实战死锁循环与死锁
|
||||
|
||||
|
||||
| ID | Problem | Article |
|
||||
| --- | --- | :--- |
|
||||
| 000 |JVM参数类型 | 三种: 标准参数 , X参数 ,XX 参数 |
|
||||
| 001 |如何对本项目进行jmeter压测 | [解决思路](https://raw.githubusercontent.com/qiurunze123/imageall/master/miaosha.png) |
|
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 143 KiB |
Before Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 7.4 KiB |
Before Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 82 KiB |
Before Width: | Height: | Size: 127 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 8.4 KiB |
Before Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 8.9 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 65 KiB |
BIN
img/es-write.png
Before Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 8.4 KiB |
BIN
img/hash.png
Before Width: | Height: | Size: 7.9 KiB |
Before Width: | Height: | Size: 52 KiB |
Before Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 98 KiB |
BIN
img/mq-1.png
Before Width: | Height: | Size: 22 KiB |
BIN
img/mq-10.png
Before Width: | Height: | Size: 19 KiB |
BIN
img/mq-11.png
Before Width: | Height: | Size: 17 KiB |
BIN
img/mq-2.png
Before Width: | Height: | Size: 28 KiB |
BIN
img/mq-3.png
Before Width: | Height: | Size: 16 KiB |
BIN
img/mq-4.png
Before Width: | Height: | Size: 26 KiB |
BIN
img/mq-5.png
Before Width: | Height: | Size: 7.9 KiB |
BIN
img/mq-6.png
Before Width: | Height: | Size: 17 KiB |
BIN
img/mq-7.png
Before Width: | Height: | Size: 50 KiB |
BIN
img/mq-8.png
Before Width: | Height: | Size: 54 KiB |
BIN
img/mq-9.png
Before Width: | Height: | Size: 114 KiB |
Before Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 29 KiB |
Before Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 8.8 KiB |
Before Width: | Height: | Size: 106 KiB |
Before Width: | Height: | Size: 7.1 KiB |
Before Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 7.7 KiB |
Before Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 29 KiB |
|
@ -93,7 +93,7 @@ public class MiaoShaUserService {
|
|||
miaoShaUser.setNickname(userName);
|
||||
try {
|
||||
miaoShaUserDao.insertMiaoShaUser(miaoShaUser);
|
||||
MiaoshaUser user = miaoShaUserDao.getById(Long.valueOf(miaoShaUser.getNickname()));
|
||||
MiaoshaUser user = miaoShaUserDao.getByNickname(miaoShaUser.getNickname());
|
||||
if(user == null){
|
||||
return false;
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@ mybatis.mapperLocations=classpath:mybatis/mapper/*.xml
|
|||
#add mybatis
|
||||
mybatis.config-locations=classpath:mybatis/config.xml
|
||||
#datasource
|
||||
spring.datasource.url=jdbc:mysql://39.107.245.253:3306/miaosha?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
|
||||
spring.datasource.url=jdbc:mysql://localhost:3306/miaosha?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=nihaoma
|
||||
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
|
||||
|
|