From b92553420da5ffe384000b9f41a4c280f93c2050 Mon Sep 17 00:00:00 2001 From: Peng Date: Fri, 27 Sep 2019 22:06:29 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=80=E4=BA=9B?= =?UTF-8?q?=E5=AF=BC=E8=87=B4IDEA=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/pom.xml b/pom.xml index e749752..80cc069 100644 --- a/pom.xml +++ b/pom.xml @@ -8,8 +8,9 @@ 10.0-FEATURE-SNAPSHOT yyyyMMdd - ${version} + ${project.version} ${maven.build.timestamp} + UTF-8 @@ -129,9 +130,10 @@ - ${project.artifactId}-${version}-${maven.build.timestamp} + ${project.artifactId}-${project.version}-${maven.build.timestamp} + org.apache.maven.plugins maven-compiler-plugin 3.1 @@ -141,17 +143,10 @@ none - - org.apache.maven.plugins - maven-compiler-plugin - - 8 - 8 - - org.apache.maven.plugins maven-jar-plugin + 3.1.2 @@ -167,6 +162,7 @@ target javadocs + -Xdoclint:none From ec3ec37130ef39642b204261fa4c9753ee05086e Mon Sep 17 00:00:00 2001 From: Peng Date: Fri, 27 Sep 2019 22:55:29 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=86=E9=80=9A?= =?UTF-8?q?=E8=BF=87=E9=82=AE=E7=AE=B1=E8=8E=B7=E5=8F=96=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=90=8D=E7=9A=84=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/fanruan/api/decision/user/UserKit.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/main/java/com/fanruan/api/decision/user/UserKit.java b/src/main/java/com/fanruan/api/decision/user/UserKit.java index eeb1429..6375a0e 100644 --- a/src/main/java/com/fanruan/api/decision/user/UserKit.java +++ b/src/main/java/com/fanruan/api/decision/user/UserKit.java @@ -7,6 +7,7 @@ import com.fr.decision.webservice.utils.user.source.UserSource; import com.fr.decision.webservice.v10.user.UserService; import javax.servlet.http.HttpServletRequest; +import java.util.List; /** * @author richie @@ -63,4 +64,15 @@ public class UserKit { public static void add(OpenUser user) throws Exception { AuthorityContext.getInstance().getUserController().update(user.select()); } + + /** + * 通过邮箱获取用户名数组 + * + * @param email 邮箱 + * @return 用户名数组 + * @throws Exception 如果邮箱不存在则抛出此异常 + */ + public static List getUserNamesFromEmail(String email) throws Exception { + return UserService.getInstance().getUserNamesFromEmail(email); + } } From a6e44bee46feb02c1909309aa1af3daa94a81e35 Mon Sep 17 00:00:00 2001 From: Peng Date: Fri, 27 Sep 2019 23:04:09 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E4=BA=86doclint=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E7=9A=84=E9=82=A3=E4=B8=AA=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/pom.xml b/pom.xml index 80cc069..099c654 100644 --- a/pom.xml +++ b/pom.xml @@ -162,7 +162,6 @@ target javadocs - -Xdoclint:none