Browse Source

更新

master
huangjiajun 1 month ago
parent
commit
611b4d2dde
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      app/hdl/hdl_login.go

+ 5
- 4
app/hdl/hdl_login.go View File

@@ -218,10 +218,11 @@ func Register(c *gin.Context) {
} }
//4、新增 MediumDivisionStrategy 记录 //4、新增 MediumDivisionStrategy 记录
MediumDivisionStrategyModel := model.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) insertAffected, err = db.Db.Insert(&MediumDivisionStrategyModel)
if err != nil { if err != nil {


Loading…
Cancel
Save