From d451f2d07d2a628e61aa89a4e4ce2903e18336ab Mon Sep 17 00:00:00 2001 From: "wangiegie@gmail.com" Date: Wed, 18 Oct 2017 21:01:42 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8C=85=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/github/pig/{ => config}/PigConfigApplication.java | 2 +- .../com/github/pig/{ => eureka}/PigEurekaApplication.java | 2 +- .../com/github/pig/{ => gateway}/PigGatewayApplication.java | 2 +- .../github/pig/{ => auth}/PigServiceAuthApplication.java | 2 +- .../github/pig/{ => auth}/controller/AuthController.java | 4 ++-- .../java/com/github/pig/{ => auth}/service/AuthService.java | 2 +- .../com/github/pig/{ => auth}/service/ClientService.java | 2 +- .../com/github/pig/{ => auth}/service/JwtTokenUtil.java | 2 +- .../github/pig/{ => auth}/service/impl/AuthServiceImpl.java | 6 +++--- 9 files changed, 12 insertions(+), 12 deletions(-) rename pig-config/src/main/java/com/github/pig/{ => config}/PigConfigApplication.java (94%) rename pig-eureka/src/main/java/com/github/pig/{ => eureka}/PigEurekaApplication.java (92%) rename pig-gateway/src/main/java/com/github/pig/{ => gateway}/PigGatewayApplication.java (93%) rename pig-service-auth/src/main/java/com/github/pig/{ => auth}/PigServiceAuthApplication.java (93%) rename pig-service-auth/src/main/java/com/github/pig/{ => auth}/controller/AuthController.java (96%) rename pig-service-auth/src/main/java/com/github/pig/{ => auth}/service/AuthService.java (95%) rename pig-service-auth/src/main/java/com/github/pig/{ => auth}/service/ClientService.java (94%) rename pig-service-auth/src/main/java/com/github/pig/{ => auth}/service/JwtTokenUtil.java (99%) rename pig-service-auth/src/main/java/com/github/pig/{ => auth}/service/impl/AuthServiceImpl.java (85%) diff --git a/pig-config/src/main/java/com/github/pig/PigConfigApplication.java b/pig-config/src/main/java/com/github/pig/config/PigConfigApplication.java similarity index 94% rename from pig-config/src/main/java/com/github/pig/PigConfigApplication.java rename to pig-config/src/main/java/com/github/pig/config/PigConfigApplication.java index de7d2727..660f46bd 100644 --- a/pig-config/src/main/java/com/github/pig/PigConfigApplication.java +++ b/pig-config/src/main/java/com/github/pig/config/PigConfigApplication.java @@ -1,4 +1,4 @@ -package com.github.pig; +package com.github.pig.config; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; diff --git a/pig-eureka/src/main/java/com/github/pig/PigEurekaApplication.java b/pig-eureka/src/main/java/com/github/pig/eureka/PigEurekaApplication.java similarity index 92% rename from pig-eureka/src/main/java/com/github/pig/PigEurekaApplication.java rename to pig-eureka/src/main/java/com/github/pig/eureka/PigEurekaApplication.java index b34cf522..b9350d3a 100644 --- a/pig-eureka/src/main/java/com/github/pig/PigEurekaApplication.java +++ b/pig-eureka/src/main/java/com/github/pig/eureka/PigEurekaApplication.java @@ -1,4 +1,4 @@ -package com.github.pig; +package com.github.pig.eureka; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; diff --git a/pig-gateway/src/main/java/com/github/pig/PigGatewayApplication.java b/pig-gateway/src/main/java/com/github/pig/gateway/PigGatewayApplication.java similarity index 93% rename from pig-gateway/src/main/java/com/github/pig/PigGatewayApplication.java rename to pig-gateway/src/main/java/com/github/pig/gateway/PigGatewayApplication.java index 8102ee36..37394122 100644 --- a/pig-gateway/src/main/java/com/github/pig/PigGatewayApplication.java +++ b/pig-gateway/src/main/java/com/github/pig/gateway/PigGatewayApplication.java @@ -1,4 +1,4 @@ -package com.github.pig; +package com.github.pig.gateway; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; diff --git a/pig-service-auth/src/main/java/com/github/pig/PigServiceAuthApplication.java b/pig-service-auth/src/main/java/com/github/pig/auth/PigServiceAuthApplication.java similarity index 93% rename from pig-service-auth/src/main/java/com/github/pig/PigServiceAuthApplication.java rename to pig-service-auth/src/main/java/com/github/pig/auth/PigServiceAuthApplication.java index 15cb336f..0e010411 100644 --- a/pig-service-auth/src/main/java/com/github/pig/PigServiceAuthApplication.java +++ b/pig-service-auth/src/main/java/com/github/pig/auth/PigServiceAuthApplication.java @@ -1,4 +1,4 @@ -package com.github.pig; +package com.github.pig.auth; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; diff --git a/pig-service-auth/src/main/java/com/github/pig/controller/AuthController.java b/pig-service-auth/src/main/java/com/github/pig/auth/controller/AuthController.java similarity index 96% rename from pig-service-auth/src/main/java/com/github/pig/controller/AuthController.java rename to pig-service-auth/src/main/java/com/github/pig/auth/controller/AuthController.java index c4b25d39..f44ad5a8 100644 --- a/pig-service-auth/src/main/java/com/github/pig/controller/AuthController.java +++ b/pig-service-auth/src/main/java/com/github/pig/auth/controller/AuthController.java @@ -1,6 +1,6 @@ -package com.github.pig.controller; +package com.github.pig.auth.controller; -import com.github.pig.service.AuthService; +import com.github.pig.auth.service.AuthService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.http.ResponseEntity; diff --git a/pig-service-auth/src/main/java/com/github/pig/service/AuthService.java b/pig-service-auth/src/main/java/com/github/pig/auth/service/AuthService.java similarity index 95% rename from pig-service-auth/src/main/java/com/github/pig/service/AuthService.java rename to pig-service-auth/src/main/java/com/github/pig/auth/service/AuthService.java index bfa7ec6d..461c32df 100644 --- a/pig-service-auth/src/main/java/com/github/pig/service/AuthService.java +++ b/pig-service-auth/src/main/java/com/github/pig/auth/service/AuthService.java @@ -1,4 +1,4 @@ -package com.github.pig.service; +package com.github.pig.auth.service; /** * @author lengleng diff --git a/pig-service-auth/src/main/java/com/github/pig/service/ClientService.java b/pig-service-auth/src/main/java/com/github/pig/auth/service/ClientService.java similarity index 94% rename from pig-service-auth/src/main/java/com/github/pig/service/ClientService.java rename to pig-service-auth/src/main/java/com/github/pig/auth/service/ClientService.java index b30d3086..9c548f64 100644 --- a/pig-service-auth/src/main/java/com/github/pig/service/ClientService.java +++ b/pig-service-auth/src/main/java/com/github/pig/auth/service/ClientService.java @@ -1,4 +1,4 @@ -package com.github.pig.service; +package com.github.pig.auth.service; import java.util.List; diff --git a/pig-service-auth/src/main/java/com/github/pig/service/JwtTokenUtil.java b/pig-service-auth/src/main/java/com/github/pig/auth/service/JwtTokenUtil.java similarity index 99% rename from pig-service-auth/src/main/java/com/github/pig/service/JwtTokenUtil.java rename to pig-service-auth/src/main/java/com/github/pig/auth/service/JwtTokenUtil.java index 7ae8b798..49c6bfee 100644 --- a/pig-service-auth/src/main/java/com/github/pig/service/JwtTokenUtil.java +++ b/pig-service-auth/src/main/java/com/github/pig/auth/service/JwtTokenUtil.java @@ -1,4 +1,4 @@ -package com.github.pig.service; +package com.github.pig.auth.service; import io.jsonwebtoken.Claims; import io.jsonwebtoken.Jwts; diff --git a/pig-service-auth/src/main/java/com/github/pig/service/impl/AuthServiceImpl.java b/pig-service-auth/src/main/java/com/github/pig/auth/service/impl/AuthServiceImpl.java similarity index 85% rename from pig-service-auth/src/main/java/com/github/pig/service/impl/AuthServiceImpl.java rename to pig-service-auth/src/main/java/com/github/pig/auth/service/impl/AuthServiceImpl.java index d4ebaf6b..f0cd5a6f 100644 --- a/pig-service-auth/src/main/java/com/github/pig/service/impl/AuthServiceImpl.java +++ b/pig-service-auth/src/main/java/com/github/pig/auth/service/impl/AuthServiceImpl.java @@ -1,7 +1,7 @@ -package com.github.pig.service.impl; +package com.github.pig.auth.service.impl; -import com.github.pig.service.AuthService; -import com.github.pig.service.JwtTokenUtil; +import com.github.pig.auth.service.AuthService; +import com.github.pig.auth.service.JwtTokenUtil; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service;