!152 update sa-token-doc/doc/up/safe-auth.md.

Merge pull request !152 from yangyang/N/A
This commit is contained in:
孔明 2022-07-27 04:49:42 +00:00 committed by Gitee
commit e42b70836c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -57,7 +57,7 @@ public String add() {
@RequestMapping("deleteProject")
public SaResult deleteProject(String projectId) {
// 第1步先检查当前会话是否已完成二级认证
if(StpUtil.isSafe()) {
if(!StpUtil.isSafe()) {
return SaResult.error("请完成二级认证后再次访问接口");
}