初始化项目框架,完成部分接口开发

This commit is contained in:
2025-07-10 21:04:29 +08:00
commit b2871ec0d2
168 changed files with 6399 additions and 0 deletions

View File

@ -0,0 +1 @@
package consts

8
internal/consts/role.go Normal file
View File

@ -0,0 +1,8 @@
package consts
const (
GuestRoleCode = "guest"
UserRoleCode = "user"
AuthorRoleCode = "author"
AdminRoleCode = "admin"
)

6
internal/consts/user.go Normal file
View File

@ -0,0 +1,6 @@
package consts
const (
UserEnable = iota + 1
UserDisable
)