From 1bab8ef472baba987c6aa3d3b8182d521f81d2af Mon Sep 17 00:00:00 2001 From: Penryn <1515805213@163.com> Date: Sun, 15 Sep 2024 18:38:01 +0800 Subject: [PATCH] =?UTF-8?q?fix(userController):=E4=BF=AE=E5=A4=8D=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E4=B8=AD=E5=BF=83=E8=B4=A6=E5=8F=B7=E4=B8=8D=E5=AD=98?= =?UTF-8?q?=E5=9C=A8=E6=97=B6=E5=BE=AE=E7=B2=BE=E5=BC=98=E6=B3=A8=E9=94=80?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/services/userCenterServices/del.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/services/userCenterServices/del.go b/app/services/userCenterServices/del.go index 4230e47..c360f6a 100644 --- a/app/services/userCenterServices/del.go +++ b/app/services/userCenterServices/del.go @@ -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 }