mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-04-05 17:37:53 +08:00
完善 sa-token-demo-sso2-client-solon demo
This commit is contained in:
parent
9dcbd591d9
commit
78b062a7b0
@ -6,6 +6,8 @@ import cn.dev33.satoken.stp.StpUtil;
|
||||
import cn.dev33.satoken.util.SaResult;
|
||||
import org.noear.solon.annotation.Controller;
|
||||
import org.noear.solon.annotation.Mapping;
|
||||
import org.noear.solon.annotation.Produces;
|
||||
import org.noear.solon.boot.web.MimeType;
|
||||
import org.noear.solon.core.handle.Context;
|
||||
import org.noear.solon.core.handle.Render;
|
||||
|
||||
@ -16,7 +18,8 @@ import org.noear.solon.core.handle.Render;
|
||||
@Controller
|
||||
public class SsoClientController implements Render {
|
||||
|
||||
// 首页
|
||||
// 首页
|
||||
@Produces(MimeType.TEXT_HTML_VALUE)
|
||||
@Mapping("/")
|
||||
public String index() {
|
||||
String str = "<h2>Sa-Token SSO-Client 应用端</h2>" +
|
||||
|
Loading…
Reference in New Issue
Block a user