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