diff --git a/app/db/db_user_identity.go b/app/db/db_user_identity.go index b0d0ee9..bb7f4c0 100644 --- a/app/db/db_user_identity.go +++ b/app/db/db_user_identity.go @@ -4,7 +4,6 @@ import ( "applet/app/db/model" "applet/app/enum" "applet/app/utils/logx" - "errors" "reflect" "xorm.io/xorm" ) @@ -60,9 +59,9 @@ func (userIdentityDb *UserIdentityDb) UserIdentityExistV1(enterpriseId int, name if err1 != nil { return nil, err } - if class == nil { - return nil, errors.New("当前学生身份待管理员确认") - } + //if class == nil { + // return nil, errors.New("当前学生身份待管理员确认") + //} if class.ClassId == classId { return m, nil }