This commit is contained in:
IT 老营长 @云轩领航-创始人 2024-09-20 20:53:30 +08:00
parent c58811a855
commit 3ca3d6ae9c
5 changed files with 0 additions and 5 deletions

View File

@ -6,7 +6,6 @@ const (
UID = "uid"
NAME = "name"
TYPE = "type"
ROLE = "role"
TITLE = "title"
CONTENT = "content"
USER_UID = "user_uid"

View File

@ -51,7 +51,6 @@ func (s Table) SelectJoinSchool(m *ice.Message) *ice.Message {
func (s Table) CheckRole(m *ice.Message, arg ...string) {
role := UserClassRole(s.UserPlaceRole(m))
m.WarnNotRight(!kit.IsIn(role.String(), append(arg, UserClassCreator.String())...), role.String())
m.Option(model.USER_ROLE, kit.Format(role))
}
type Tables struct{ Table }

View File

@ -6,7 +6,6 @@ const (
UID = "uid"
NAME = "name"
TYPE = "type"
ROLE = "role"
TITLE = "title"
CONTENT = "content"
USER_UID = "user_uid"

View File

@ -6,7 +6,6 @@ const (
UID = "uid"
NAME = "name"
TYPE = "type"
ROLE = "role"
TITLE = "title"
CONTENT = "content"
USER_UID = "user_uid"

View File

@ -6,7 +6,6 @@ const (
UID = "uid"
NAME = "name"
TYPE = "type"
ROLE = "role"
TITLE = "title"
CONTENT = "content"
USER_UID = "user_uid"