1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-21 01:10:39 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

删除独立的作者、出版社、缩略图表;修正部分字段;实现部分Service以及Controller;项目框架基本建立

This commit is contained in:
2022-03-12 21:56:37 +08:00
parent 3813f54c5e
commit dffb94a148
42 changed files with 801 additions and 1205 deletions

View File

@@ -1,23 +1,24 @@
package plus.bookshelf;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* Hello world!
*
*/
@SpringBootApplication(scanBasePackages = { "plus.bookshelf" })
@SpringBootApplication(scanBasePackages = {"plus.bookshelf"})
@RestController
@MapperScan("plus.bookshelf.mapper")
public class App
{
public static void main( String[] args )
{
System.out.println( "Hello World!" );
@MapperScan("plus.bookshelf.Dao.Mapper")
public class App {
public static void main(String[] args) {
System.out.println("Dreams remain daydreams until they are put into action. \n" +
"Now, let's start.");
// 启动SpringBoot项目
SpringApplication.run(App.class, args);
}
@RequestMapping("/")