This commit is contained in:
parent
6120f23dde
commit
582ed37908
@ -14,7 +14,7 @@ type Option struct {
|
||||
}
|
||||
|
||||
func (c *Controller) LoadOption() {
|
||||
c.db.FirstOrCreate(&c.Option, Option{Interval: time.Hour * 30, ExchangeRate: 7.3, Freight: 100})
|
||||
c.db.FirstOrCreate(&c.Option, Option{Interval: time.Hour * 12, ExchangeRate: 7.3, Freight: 100})
|
||||
}
|
||||
|
||||
func (c *Controller) SaveOption(opt Option) {
|
||||
|
Loading…
Reference in New Issue
Block a user