diff --git a/app/hdl/hdl_login.go b/app/hdl/hdl_login.go index 6242ab0..ff97976 100644 --- a/app/hdl/hdl_login.go +++ b/app/hdl/hdl_login.go @@ -218,10 +218,11 @@ func Register(c *gin.Context) { } //4、新增 MediumDivisionStrategy 记录 MediumDivisionStrategyModel := model.MediumDivisionStrategy{ - MediumId: utils.StrToInt(mediumId), - Uuid: utils.StrToInt(c.GetString("mid")), - CreateAt: now.Format("2006-01-02 15:04:05"), - UpdateAt: now.Format("2006-01-02 15:04:05"), + MediumId: utils.StrToInt(mediumId), + Uuid: utils.StrToInt(c.GetString("mid")), + CreateAt: now.Format("2006-01-02 15:04:05"), + UpdateAt: now.Format("2006-01-02 15:04:05"), + MediaRevenueRate: 100, } insertAffected, err = db.Db.Insert(&MediumDivisionStrategyModel) if err != nil {