mirror of
https://gitee.com/dromara/sa-token.git
synced 2024-12-04 21:08:22 +08:00
!152 update sa-token-doc/doc/up/safe-auth.md.
Merge pull request !152 from yangyang/N/A
This commit is contained in:
commit
e42b70836c
@ -57,7 +57,7 @@ public String add() {
|
||||
@RequestMapping("deleteProject")
|
||||
public SaResult deleteProject(String projectId) {
|
||||
// 第1步,先检查当前会话是否已完成二级认证
|
||||
if(StpUtil.isSafe()) {
|
||||
if(!StpUtil.isSafe()) {
|
||||
return SaResult.error("请完成二级认证后再次访问接口");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user