update pom, fix profile link

This commit is contained in:
Sola
2016-03-27 16:44:17 +08:00
parent 83c68f7fed
commit 2493153bdf
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@
<name>WechatTicketSystem</name> <name>WechatTicketSystem</name>
<groupId>love.sola.netsupport</groupId> <groupId>love.sola.netsupport</groupId>
<artifactId>WechatTicketSystem</artifactId> <artifactId>WechatTicketSystem</artifactId>
<version>1.4-SNAPSHOT</version> <version>2.0</version>
<packaging>war</packaging> <packaging>war</packaging>
<properties> <properties>

View File

@@ -52,7 +52,7 @@ public class ProfileHandler implements WxMpMessageHandler, OAuth2Handler {
session.setAttribute(Attribute.WECHAT, user); session.setAttribute(Attribute.WECHAT, user);
Redirect.error().icon(Redirect.WeUIIcon.INFO).noButton() Redirect.error().icon(Redirect.WeUIIcon.INFO).noButton()
.title(lang("Need_Register_Title")).msg(lang("Need_Register")) .title(lang("Need_Register_Title")).msg(lang("Need_Register"))
.to(format(lang("User_Register_Link"), session.getId())).go(resp); .to(format("User_Register_Link", session.getId())).go(resp);
return; return;
} }
session.setAttribute(Attribute.AUTHORIZED, Command.PROFILE); session.setAttribute(Attribute.AUTHORIZED, Command.PROFILE);