From 4964493368c7e4721a063ca8048abfaec76ac66b Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Thu, 28 Dec 2023 18:24:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/db_subsidy_with_month.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/db_subsidy_with_month.go b/db/db_subsidy_with_month.go index 7d9c3f6..9410a67 100644 --- a/db/db_subsidy_with_month.go +++ b/db/db_subsidy_with_month.go @@ -16,7 +16,7 @@ func SubsidyWithMonthInsert(session *xorm.Session, SubsidyWithUserFlow *model.Su Uid: SubsidyWithUserFlow.Uid, Date: SubsidyWithUserFlow.Date, } - _, err := session.InsertOne(&SubsidyWithUserFlow) + _, err := session.InsertOne(&data) if err != nil { return 0, err }