From 5c41ad4a07cebff4c632c5493067147d4a8d9050 Mon Sep 17 00:00:00 2001 From: ziyonghong <1131002466@qq.com> Date: Sat, 4 Jan 2020 15:33:51 +0800 Subject: [PATCH] add --- .../Controller/LoginRegisterController.java | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/cmkg/src/main/java/com/cmkg/cmkg/Controller/LoginRegisterController.java b/cmkg/src/main/java/com/cmkg/cmkg/Controller/LoginRegisterController.java index 8d29c30..0129941 100644 --- a/cmkg/src/main/java/com/cmkg/cmkg/Controller/LoginRegisterController.java +++ b/cmkg/src/main/java/com/cmkg/cmkg/Controller/LoginRegisterController.java @@ -1,22 +1,22 @@ -package com.cmkg.cmkg.Controller; +// package com.cmkg.cmkg.Controller; -import com.cmkg.cmkg.database.ReturnData; -import org.springframework.data.repository.query.Param; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestParam; +// import com.cmkg.cmkg.database.ReturnData; +// import org.springframework.data.repository.query.Param; +// import org.springframework.web.bind.annotation.RequestMapping; +// import org.springframework.web.bind.annotation.RequestParam; -@RequestMapping("/request") -public class LoginRegisterController { +// @RequestMapping("/request") +// public class LoginRegisterController { - @RequestMapping("/login") - public ReturnData LoginGet(@RequestParam("phonenumber") String phonenumber, @RequestParam("password") String password){ +// @RequestMapping("/login") +// public ReturnData LoginGet(@RequestParam("phonenumber") String phonenumber, @RequestParam("password") String password){ - } +// } - @RequestMapping("/register") - public ReturnData RegisterGet(@RequestParam("phonenumber") String phonenumber, @RequestParam("username") String username,@RequestParam("password") String password, - @RequestParam("region") String region, @RequestParam("age") Long age){ +// @RequestMapping("/register") +// public ReturnData RegisterGet(@RequestParam("phonenumber") String phonenumber, @RequestParam("username") String username,@RequestParam("password") String password, +// @RequestParam("region") String region, @RequestParam("age") Long age){ - } -} +// } +// }