Skip to content

Commit

Permalink
fix(userController):修复用户中心账号不存在时微精弘注销失败
Browse files Browse the repository at this point in the history
  • Loading branch information
Penryn committed Sep 15, 2024
1 parent 473755b commit 4f0ef71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/userCenterServices/del.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func DelAccount(stuID, iid string) error {
}
if resp.Code == 400 {
return apiException.StudentNumAndIidError
} else if resp.Code != 200 {
} else if resp.Code != 200 && resp.Code != 401 {
return apiException.ServerError
}
return nil
Expand Down

0 comments on commit 4f0ef71

Please sign in to comment.