app-cloudep-portal-api-gateway/internal/domain/const.go

23 lines
355 B
Go

package domain
const (
DefaultCurrency = "NTD"
DefaultLanguage = "zh-tw"
DefaultGrantType = "client_credentials"
DefaultScope = "gateway"
)
type GrantType string
func (g GrantType) ToString() string {
return string(g)
}
const (
GrantTypeClientCredentials GrantType = "client_credentials"
)
const (
SendVerifyCodeTypeForgetPassword = 3
)