初始项目信息导入
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package com.macro.mall;
|
||||
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
/**
|
||||
* 应用启动入口
|
||||
*/
|
||||
@SpringBootApplication
|
||||
@MapperScan("com.macro.mall.mapper")
|
||||
public class MallAdminApplication {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(MallAdminApplication.class, args);
|
||||
}
|
||||
}
|
||||
5
mall-admin/src/main/resources/application.properties
Normal file
5
mall-admin/src/main/resources/application.properties
Normal file
@@ -0,0 +1,5 @@
|
||||
spring.datasource.url=jdbc:mysql://localhost:3306/mall
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=root
|
||||
#mybatis<69><73><EFBFBD><EFBFBD>
|
||||
mybatis.mapper-locations=classpath:mapper/*.xml,classpath*:com/**/mapper/*.xml
|
||||
7
mall-admin/src/main/webapp/WEB-INF/web.xml
Normal file
7
mall-admin/src/main/webapp/WEB-INF/web.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<!DOCTYPE web-app PUBLIC
|
||||
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
|
||||
"http://java.sun.com/dtd/web-app_2_3.dtd" >
|
||||
|
||||
<web-app>
|
||||
<display-name>Archetype Created Web Application</display-name>
|
||||
</web-app>
|
||||
5
mall-admin/src/main/webapp/index.jsp
Normal file
5
mall-admin/src/main/webapp/index.jsp
Normal file
@@ -0,0 +1,5 @@
|
||||
<html>
|
||||
<body>
|
||||
<h2>Hello World!</h2>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user