update
This commit is contained in:
@@ -9,6 +9,7 @@ type AuthConfig struct {
|
||||
jwtOrderExpiresTTL int
|
||||
jwtSecretResetPassword JWT
|
||||
jwtWithdraw JWT
|
||||
jwtCustomer JWT
|
||||
}
|
||||
|
||||
type JWT struct {
|
||||
@@ -24,6 +25,10 @@ func (c *AuthConfig) AccessTokenOrderSecret() string {
|
||||
return c.jwtOrderSecret
|
||||
}
|
||||
|
||||
func (c *AuthConfig) AccessTokenCustomerSecret() string {
|
||||
return c.jwtCustomer.secret
|
||||
}
|
||||
|
||||
func (c *AuthConfig) AccessTokenWithdrawSecret() string {
|
||||
return c.jwtWithdraw.secret
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user