From 95a0a67558f47dfa51ddaab6ed53480b32218dd0 Mon Sep 17 00:00:00 2001 From: pp6vso3t7 <1500247192@qq.com> Date: Sat, 29 Apr 2023 20:53:34 +0800 Subject: [PATCH] Update PageController.java --- .../tmall/controller/PageController.java | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/src/main/java/com/how2java/tmall/controller/PageController.java b/src/main/java/com/how2java/tmall/controller/PageController.java index e074459..0736168 100644 --- a/src/main/java/com/how2java/tmall/controller/PageController.java +++ b/src/main/java/com/how2java/tmall/controller/PageController.java @@ -1,4 +1,33 @@ + + package com.how2java.tmall.controller; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestMapping; + +@Controller +@RequestMapping("") +public class PageController { + @RequestMapping("registerPage") + public String registerPage() { + return "fore/register"; + } + @RequestMapping("registerSuccessPage") + public String registerSuccessPage() { + return "fore/registerSuccess"; + } + @RequestMapping("loginPage") + public String loginPage() { + return "fore/login"; + } + @RequestMapping("forealipay") + public String alipay(){ + return "fore/alipay"; + } +} + + + +