feat(api): role perm

This commit is contained in:
hu.sima
2024-04-28 19:22:10 +08:00
parent b4326722e6
commit 03ec2e7d01
5 changed files with 182 additions and 1 deletions

View File

@@ -64,3 +64,9 @@ MIMEExtMap = {
'text/plain': '.txt',
'text/csv': '.csv',
}
class RoleType(BaseEnum):
System = 'system'
Technician = 'technician'
User = 'user'