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 1bab8ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/services/userCenterServices/del.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ func DelAccount(stuID, iid string) error {
}
if resp.Code == 400 {
return apiException.StudentNumAndIidError
}else if resp.Code == 401 {
return nil
} else if resp.Code != 200 {
return apiException.ServerError
}
Expand Down

0 comments on commit 1bab8ef

Please sign in to comment.