后端初始提交
This commit is contained in:
17
cool-admin-java/src/main/java/com/cool/Welcome.java
Normal file
17
cool-admin-java/src/main/java/com/cool/Welcome.java
Normal file
@@ -0,0 +1,17 @@
|
||||
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";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user