修改版本号

This commit is contained in:
xxy 2020-05-13 22:35:25 +08:00
parent 0fa929f9de
commit a662f42bcf
9 changed files with 34 additions and 29 deletions

View File

@ -24,9 +24,9 @@
- [x] 排行榜 - [x] 排行榜
- [x] 小说评论模块 - [x] 小说评论模块
- [x] 阅读主题模块 - [x] 阅读主题模块
- [ ] 作家专区 - [x] 作家专区
- [x] 充值 - [x] 充值
- [ ] 后台管理系统 - [x] 后台管理系统
- [x] 爬虫管理系统 - [x] 爬虫管理系统
#### 项目结构 #### 项目结构

View File

@ -1,3 +1,5 @@
2020-05-07 04:15:36,250 INFO (StartupInfoLogger.java:50)- Starting TestDemo on USER-20180729KA with PID 9748 (started by Administrator in E:\baseprojectparent\novel-plus\novel-admin) 2020-05-13 21:52:00,972 INFO (StartupInfoLogger.java:50)- Starting TestDemo on USER-20180729KA with PID 3532 (started by Administrator in E:\baseprojectparent\novel-plus\novel-admin)
2020-05-07 04:15:36,253 DEBUG (StartupInfoLogger.java:53)- Running with Spring Boot v2.0.1.RELEASE, Spring v5.0.5.RELEASE 2020-05-13 21:52:01,113 DEBUG (StartupInfoLogger.java:53)- Running with Spring Boot v2.0.1.RELEASE, Spring v5.0.5.RELEASE
2020-05-07 04:15:36,260 INFO (SpringApplication.java:663)- The following profiles are active: dev 2020-05-13 21:52:01,131 INFO (SpringApplication.java:663)- The following profiles are active: dev
2020-05-13 21:52:54,469 DEBUG (ApplicationContextRegister.java:29)- ApplicationContext registed-->org.springframework.web.context.support.GenericWebApplicationContext@5b529706: startup date [Wed May 13 21:52:01 CST 2020]; root of context hierarchy
2020-05-13 21:53:49,622 INFO (StartupInfoLogger.java:59)- Started TestDemo in 114.268 seconds (JVM running for 124.957)

View File

@ -188,7 +188,6 @@
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId> <artifactId>lombok</artifactId>
@ -239,7 +238,7 @@
</configuration> </configuration>
</plugin>--> </plugin>-->
<!--SpringBoot项目默认使用spring-boot-maven-plugin要打成被其他项目引用的jar包需要更换此插件--> <!--SpringBoot项目默认使用spring-boot-maven-plugin要打成被其他项目引用的jar包需要更换此插件-->
<plugin> <!-- <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<configuration> <configuration>
@ -247,10 +246,14 @@
<target>1.8</target> <target>1.8</target>
<encoding>UTF-8</encoding> <encoding>UTF-8</encoding>
</configuration> </configuration>
</plugin>-->
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<distributionManagement> <!--<distributionManagement>
<repository> <repository>
<id>nexus_release</id> <id>nexus_release</id>
<name>release</name> <name>release</name>
@ -261,5 +264,5 @@
<name>snapshots</name> <name>snapshots</name>
<url>http://47.106.243.172:8081/nexus/content/repositories/snapshots/</url> <url>http://47.106.243.172:8081/nexus/content/repositories/snapshots/</url>
</snapshotRepository> </snapshotRepository>
</distributionManagement> </distributionManagement>-->
</project> </project>

View File

@ -5,7 +5,7 @@
<parent> <parent>
<artifactId>novel</artifactId> <artifactId>novel</artifactId>
<groupId>com.java2nb</groupId> <groupId>com.java2nb</groupId>
<version>1.2.0</version> <version>2.0.0</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent> <parent>
<artifactId>novel</artifactId> <artifactId>novel</artifactId>
<groupId>com.java2nb</groupId> <groupId>com.java2nb</groupId>
<version>1.2.0</version> <version>2.0.0</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View File

@ -5,7 +5,7 @@
<parent> <parent>
<artifactId>novel</artifactId> <artifactId>novel</artifactId>
<groupId>com.java2nb</groupId> <groupId>com.java2nb</groupId>
<version>1.2.0</version> <version>2.0.0</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View File

@ -51,7 +51,7 @@ public class PageController extends BaseController{
UserDetails user = getUserDetails(request); UserDetails user = getUserDetails(request);
if (user == null) { if (user == null) {
//未登录 //未登录
return "redirect:/user/login.html?originUrl=" + URLEncoder.encode(request.getRequestURL().toString()); return "redirect:/user/login.html?originUrl=" + request.getRequestURI();
} }
boolean isAuthor = authorService.isAuthor(user.getId()); boolean isAuthor = authorService.isAuthor(user.getId());

View File

@ -276,7 +276,7 @@ public class UserServiceImpl implements UserService {
.and(UserBuyRecordDynamicSqlSupport.bookIndexId,isEqualTo(bookIndexId))) > 0; .and(UserBuyRecordDynamicSqlSupport.bookIndexId,isEqualTo(bookIndexId))) > 0;
} }
@Transactional @Transactional(rollbackFor = Exception.class)
@Override @Override
public void buyBookIndex(Long userId, UserBuyRecord buyRecord) { public void buyBookIndex(Long userId, UserBuyRecord buyRecord) {
//查询用户余额 //查询用户余额

View File

@ -5,7 +5,7 @@
<groupId>com.java2nb</groupId> <groupId>com.java2nb</groupId>
<artifactId>novel</artifactId> <artifactId>novel</artifactId>
<version>1.2.0</version> <version>2.0.0</version>
<modules> <modules>
<module>novel-common</module> <module>novel-common</module>
<module>novel-front</module> <module>novel-front</module>