demo.BasicDetailExampleApp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of basic-detail-example Show documentation
Show all versions of basic-detail-example Show documentation
使用用户管理脚手架(ums) core 模块基本功能详细的配置: 含anonymous/session简单配置/rememberMe/csrf/登录路由/签到,
不包含session详细配置/验证码/手机登录/权限.
The newest version!
package demo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import top.dcenter.ums.security.core.permission.config.EnableUriAuthorize;
import top.dcenter.ums.security.core.sign.config.EnableSign;
/**
* ums ums.client 详细配置
* @author zyw
* @version V1.0 Created by 2020/9/20 11:20
*/
@SpringBootApplication
@Controller
@EnableUriAuthorize()
@EnableSign
public class BasicDetailExampleApp {
public static void main(String[] args) {
SpringApplication.run(BasicDetailExampleApp.class, args);
}
@RequestMapping("/hello")
@ResponseBody
public String hello() {
return "hello world!";
}
}