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