23 lines
595 B
Java
23 lines
595 B
Java
package com.webgame.webgamebackend.controller;
|
|||
|
|
|
||
|
|
import cn.dev33.satoken.annotation.SaIgnore;
|
||
|
|
import lombok.RequiredArgsConstructor;
|
||
|
|
import org.springframework.validation.annotation.Validated;
|
||
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
||
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||
|
|
import org.springframework.web.bind.annotation.RestController;
|
||
|
|
|
||
|
|
@Validated
|
||
|
|
@RestController
|
||
|
|
@RequestMapping("/account")
|
||
|
|
@RequiredArgsConstructor
|
||
|
|
public class AccountController {
|
||
|
|
|
||
|
|
|
||
|
|
@SaIgnore
|
||
|
|
@PostMapping("/login")
|
||
|
|
public String login() {
|
||
|
|
return "login";
|
||
|
|
}
|
||
|
|
}
|