23 lines
355 B
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
|
|
)
|