作者 tangxvhui

bug 修复

@@ -572,7 +572,7 @@ func (c RankController) RankTypeConfigSet() { @@ -572,7 +572,7 @@ func (c RankController) RankTypeConfigSet() {
572 } 572 }
573 rankType.AutoCreate = param.AutoCreate 573 rankType.AutoCreate = param.AutoCreate
574 rankType.AutoPeriod = param.AutoCreateDay 574 rankType.AutoPeriod = param.AutoCreateDay
575 - err = models.UpdateRankById(rankType, []string{"AutoCreate", "AutoCreateDay"}) 575 + err = models.UpdateRankById(rankType, []string{"AutoCreate", "AutoPeriod"})
576 if err != nil { 576 if err != nil {
577 log.Error("更新rank_type数据失败;%s", err) 577 log.Error("更新rank_type数据失败;%s", err)
578 e := protocol.NewErrWithMessage("1") 578 e := protocol.NewErrWithMessage("1")