parent
9b7cd0009c
commit
5c41ad4a07
@ -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){
|
||||
|
||||
}
|
||||
}
|
||||
// }
|
||||
// }
|
||||
|
Loading…
Reference in new issue