diff --git a/src/main/java/com/yeqifu/sys/controller/SystemController.java b/src/main/java/com/yeqifu/sys/controller/SystemController.java index 64421d1..71ebf7d 100644 --- a/src/main/java/com/yeqifu/sys/controller/SystemController.java +++ b/src/main/java/com/yeqifu/sys/controller/SystemController.java @@ -21,6 +21,24 @@ public class SystemController { return "system/index/login"; } + /** + * 跳转到个人资料页面 + * @return + */ + @RequestMapping("toUserInfo") + public String toUserInfo(){ + return "system/user/userInfo"; + } + + /** + * 跳转到修改密码页面 + * @return + */ + @RequestMapping("toChangePassword") + public String toChangePassword(){ + return "system/user/changePassword"; + } + /** * 跳转到首页 * @return diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 0ce987f..9e3982f 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -59,6 +59,6 @@ shiro: #修改端口号为8088 server: - port: 8088 + port: 8089 diff --git a/src/main/resources/templates/system/index/index.html b/src/main/resources/templates/system/index/index.html index 9a098da..bb0f8c5 100644 --- a/src/main/resources/templates/system/index/index.html +++ b/src/main/resources/templates/system/index/index.html @@ -33,8 +33,8 @@
  • -
    个人资料
    -
    修改密码
    +
    个人资料
    +
    修改密码
    退出
  • diff --git a/src/main/resources/templates/system/user/changePassword.html b/src/main/resources/templates/system/user/changePassword.html new file mode 100644 index 0000000..614294b --- /dev/null +++ b/src/main/resources/templates/system/user/changePassword.html @@ -0,0 +1,54 @@ + + + + + 修改密码 + + + + + + + + + + +
    +
    +
    旧密码请输入“123456”,新密码必须两次输入一致才能提交
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    +
    + + +
    +
    +
    +
    + + + + \ No newline at end of file diff --git a/src/main/resources/templates/system/user/userInfo.html b/src/main/resources/templates/system/user/userInfo.html new file mode 100644 index 0000000..74ce450 --- /dev/null +++ b/src/main/resources/templates/system/user/userInfo.html @@ -0,0 +1,120 @@ + + + + + 个人资料 + + + + + + + + + + +
    +
    +
    + +
    + +

    由于是纯静态页面,所以只能显示一张随机的图片

    +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + + + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    + +
    +
    + +
    +
    +
    + +
    + + + + + + + + + + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    +
    + + +
    +
    +
    +
    + + + + + \ No newline at end of file