From a4fa0f621c1b636aa1810ffda08259ac9257fb60 Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Thu, 28 Nov 2024 17:21:46 +0800 Subject: [PATCH] update --- app/hdl/financial_center/hdl_withdraw.go | 3 ++- go.mod | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/hdl/financial_center/hdl_withdraw.go b/app/hdl/financial_center/hdl_withdraw.go index 3acb213..cdb043a 100644 --- a/app/hdl/financial_center/hdl_withdraw.go +++ b/app/hdl/financial_center/hdl_withdraw.go @@ -31,11 +31,12 @@ func GetWithdrawSetting(c *gin.Context) { return } // 不存在则初始化 + var emptyNum []int if setting == nil { now := time.Now() frequency := md2.WithdrawFrequencySettingStruct{ Duration: 0, - Num: 0, + Num: emptyNum, } frequencyStr := utils.SerializeStr(frequency) m := model.FinWithdrawSetting{ diff --git a/go.mod b/go.mod index b12fcb9..14c1983 100644 --- a/go.mod +++ b/go.mod @@ -34,7 +34,7 @@ require ( require ( code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241128084936-6c2fce34f497 - code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.4-0.20241128063602-ed11b9dad994 + code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.4-0.20241128091751-2e1e6fbe16c7 code.fnuoos.com/go_rely_warehouse/zyos_go_es.git v1.0.1-0.20241118083738-0f22da9ba0be code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.5 github.com/360EntSecGroup-Skylar/excelize v1.4.1