18 lines
384 B
Java
18 lines
384 B
Java
|
|
package com.cool;
|
||
|
|
|
||
|
|
import com.cool.core.annotation.TokenIgnore;
|
||
|
|
import lombok.RequiredArgsConstructor;
|
||
|
|
import org.springframework.stereotype.Controller;
|
||
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||
|
|
|
||
|
|
@Controller
|
||
|
|
@RequiredArgsConstructor
|
||
|
|
public class Welcome {
|
||
|
|
|
||
|
|
@RequestMapping("/")
|
||
|
|
@TokenIgnore
|
||
|
|
public String welcome() {
|
||
|
|
return "welcome";
|
||
|
|
}
|
||
|
|
}
|