Skip to content

Commit 9d54072

Browse files
author
bob
committed
sync
1 parent a6fb330 commit 9d54072

File tree

956 files changed

+97677
-70
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

956 files changed

+97677
-70
lines changed

.gitignore

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,6 @@
22
/.classpath
33
/.project
44
/.settings
5-
/*.iml
65
/.idea
7-
/base-parent/base-parent.iml
8-
/commons-base/target/
9-
/commons-base/commons-base.iml
10-
/commons-databse/target/
11-
/commons-databse/commons-databse.iml
12-
/commons-web-spring/commons-web-spring.iml
13-
/commons-web-spring/target/
14-
/commons-parent/commons-parent.iml
15-
/commons-orderno-generator/target/
16-
/commons-distributed/target/
17-
/commons-distributed/commons-distributed.iml
18-
/commons-orderno-generator/commons-orderno-generator.iml
19-
/commons-utils/commons-utils.iml
20-
/commons-utils/target/
6+
/**/target/
7+
/**/*.iml

bob-admin/.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
target/
2+
!.mvn/wrapper/maven-wrapper.jar
3+
4+
### STS ###
5+
.apt_generated
6+
.classpath
7+
.factorypath
8+
.project
9+
.settings
10+
.springBeans
11+
12+
### IntelliJ IDEA ###
13+
.idea
14+
*.iws
15+
*.iml
16+
*.ipr
17+
18+
### NetBeans ###
19+
nbproject/private/
20+
build/
21+
nbbuild/
22+
dist/
23+
nbdist/
24+
.nb-gradle/

bob-admin/pom.xml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<groupId>com.bob</groupId>
7+
<artifactId>bob-admin</artifactId>
8+
<version>0.0.1-SNAPSHOT</version>
9+
<packaging>jar</packaging>
10+
11+
<name>bob-admin</name>
12+
<description>后台管理系统</description>
13+
14+
<parent>
15+
<groupId>org.springframework.boot</groupId>
16+
<artifactId>spring-boot-starter-parent</artifactId>
17+
<version>1.5.7.RELEASE</version>
18+
<relativePath/> <!-- lookup parent from repository -->
19+
</parent>
20+
21+
<properties>
22+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
23+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
24+
<java.version>1.8</java.version>
25+
</properties>
26+
27+
<dependencies>
28+
<dependency>
29+
<groupId>org.springframework.boot</groupId>
30+
<artifactId>spring-boot-starter-freemarker</artifactId>
31+
</dependency>
32+
<dependency>
33+
<groupId>org.springframework.boot</groupId>
34+
<artifactId>spring-boot-starter-web</artifactId>
35+
</dependency>
36+
37+
<dependency>
38+
<groupId>org.springframework.boot</groupId>
39+
<artifactId>spring-boot-starter-test</artifactId>
40+
<scope>test</scope>
41+
</dependency>
42+
</dependencies>
43+
44+
<build>
45+
<plugins>
46+
<plugin>
47+
<groupId>org.springframework.boot</groupId>
48+
<artifactId>spring-boot-maven-plugin</artifactId>
49+
</plugin>
50+
</plugins>
51+
</build>
52+
53+
54+
</project>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package com.bob;
2+
3+
import org.springframework.boot.SpringApplication;
4+
import org.springframework.boot.autoconfigure.SpringBootApplication;
5+
6+
/**
7+
* @author bob
8+
*/
9+
@SpringBootApplication
10+
public class BobAdminApplication {
11+
12+
public static void main(String[] args) {
13+
SpringApplication.run(BobAdminApplication.class, args);
14+
}
15+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
package com.bob.auth;
2+
3+
import org.springframework.stereotype.Controller;
4+
import org.springframework.web.bind.annotation.RequestMapping;
5+
6+
/**
7+
* Created by bob on 2017/10/15.
8+
*
9+
* @author bob <bobyang_coder@163.com>
10+
* @version v1.0
11+
* @since 2017/10/15
12+
*/
13+
@Controller
14+
@RequestMapping("auth")
15+
public class AuthController {
16+
17+
@RequestMapping()
18+
public String hello() {
19+
return "login";
20+
}
21+
22+
@RequestMapping("index")
23+
public String index() {
24+
return "index";
25+
}
26+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
server.port=8080
2+
spring.freemarker.cache=true
3+
spring.freemarker.template-loader-path=classpath:/templates/
4+
spring.freemarker.check-template-location=true
5+
spring.freemarker.suffix=.ftl
6+
spring.freemarker.content-type=text/html
7+
spring.freemarker.charset=UTF-8

0 commit comments

Comments
 (0)