Skip to content

Commit 2ce4efd

Browse files
committed
user
1 parent a576409 commit 2ce4efd

File tree

2 files changed

+2
-17
lines changed

2 files changed

+2
-17
lines changed

website/src/main/java/info/xiaomo/website/XiaomoMain.java

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -40,23 +40,8 @@ public static void main(String[] args) throws Exception {
4040
SpringApplication.run(XiaomoMain.class, args);
4141
}
4242

43-
/**
44-
* 后台
45-
*
46-
* @return 后台
47-
*/
48-
@RequestMapping(value = "/admin", method = RequestMethod.GET)
49-
public String admin() {
50-
return "admin/index";
51-
}
52-
53-
/**
54-
* 前台
55-
*
56-
* @return 前台
57-
*/
5843
@RequestMapping(value = "/web", method = RequestMethod.GET)
59-
public String web() {
44+
public String admin() {
6045
return "web/index";
6146
}
6247

website/src/main/java/info/xiaomo/website/controller/UserController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public Result register(@PathVariable("email") String email, @PathVariable("passw
9292
return new Result(Err.USER_REPEAT.getCode(), Err.USER_REPEAT.getMessage());
9393
}
9494
String redirectValidateUrl = MailUtil.redirectValidateUrl(email, password);
95-
MailUtil.send(email, redirectValidateUrl);
95+
MailUtil.send(email, "帐号激活邮件", redirectValidateUrl);
9696
return new Result(redirectValidateUrl);
9797
}
9898

0 commit comments

Comments
 (0)