mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-05-03 20:27:54 +08:00
dubbo-demo 增加测试样例
This commit is contained in:
parent
7a53b5cb00
commit
f9f10477eb
@ -56,5 +56,17 @@ public class TestController {
|
|||||||
|
|
||||||
return "ok";
|
return "ok";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Provider端登录,状态在Provider端保持
|
||||||
|
@RequestMapping("test4")
|
||||||
|
public String test4() {
|
||||||
|
// 登录
|
||||||
|
demoService.doLogin(10004);
|
||||||
|
|
||||||
|
// 打印一下
|
||||||
|
demoService.isLogin("----------- 会话信息 ");
|
||||||
|
|
||||||
|
return "ok";
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user