Dockerfile
This commit is contained in:
13
consts/app/application_status.go
Normal file
13
consts/app/application_status.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package app
|
||||
|
||||
// AppStatus 应用状态
|
||||
type AppStatus string
|
||||
|
||||
const (
|
||||
AppStatusActive AppStatus = "active" // 启用
|
||||
AppStatusInactive AppStatus = "inactive" // 停用
|
||||
)
|
||||
|
||||
func (s AppStatus) String() string {
|
||||
return string(s)
|
||||
}
|
||||
17
consts/app/application_type.go
Normal file
17
consts/app/application_type.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package app
|
||||
|
||||
// AppType 应用类型
|
||||
type AppType string
|
||||
|
||||
const (
|
||||
AppTypeWeb AppType = "web" // Web应用
|
||||
AppTypeMobile AppType = "mobile" // 移动应用
|
||||
AppTypeMiniApp AppType = "mini_app" // 小程序
|
||||
AppTypeH5 AppType = "h5" // H5应用
|
||||
AppTypeDesktop AppType = "desktop" // 桌面应用
|
||||
AppTypeThirdParty AppType = "third_party" // 第三方应用
|
||||
)
|
||||
|
||||
func (s AppType) String() string {
|
||||
return string(s)
|
||||
}
|
||||
Reference in New Issue
Block a user