From 582ed3790804d698045d6d6db17228cfe4d2e70f Mon Sep 17 00:00:00 2001 From: timerzz Date: Tue, 21 May 2024 22:17:50 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E9=BB=98=E8=AE=A412=E5=B0=8F=E6=97=B6?= =?UTF-8?q?=E6=8B=89=E4=B8=80=E6=AC=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- product/option.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/option.go b/product/option.go index c0a301c..0bc87b2 100644 --- a/product/option.go +++ b/product/option.go @@ -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) {