feat(currency): add currency configuration support and integrate into payment processing
This commit is contained in:
@@ -29,6 +29,7 @@ type Config struct {
|
||||
Invite InviteConfig `yaml:"Invite"`
|
||||
Telegram Telegram `yaml:"Telegram"`
|
||||
Log Log `yaml:"Log"`
|
||||
Currency Currency `yaml:"Currency"`
|
||||
Administrator struct {
|
||||
Email string `yaml:"Email" default:"admin@ppanel.dev"`
|
||||
Password string `yaml:"Password" default:"password"`
|
||||
@@ -241,3 +242,9 @@ type NodeDBConfig struct {
|
||||
Block string
|
||||
Outbound string
|
||||
}
|
||||
|
||||
type Currency struct {
|
||||
Unit string `yaml:"Unit" default:"CNY"`
|
||||
Symbol string `yaml:"Symbol" default:"USD"`
|
||||
AccessKey string `yaml:"AccessKey" default:""`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user