...
|
...
|
@@ -121,7 +121,7 @@ func (c RankController) RankSeasonAdd() { |
|
|
endTime int64
|
|
|
)
|
|
|
companyid := c.GetCompanyId()
|
|
|
err := serverank.AddRankSeason(param.RankTypeId, beginTime, endTime, param.Name, companyid)
|
|
|
err := serverank.AddRankPeriod(param.RankTypeId, beginTime, endTime, param.Name, companyid)
|
|
|
msg = protocol.NewReturnResponse(nil, err)
|
|
|
return
|
|
|
}
|
...
|
...
|
@@ -150,7 +150,7 @@ func (c RankController) RankSeasonEdit() { |
|
|
endTime int64
|
|
|
)
|
|
|
companyid := c.GetCompanyId()
|
|
|
err := serverank.EditRankSeason(param.Id, beginTime, endTime, param.Name, companyid)
|
|
|
err := serverank.EditRankPeriod(param.Id, beginTime, endTime, param.Name, companyid)
|
|
|
msg = protocol.NewReturnResponse(nil, err)
|
|
|
return
|
|
|
}
|
...
|
...
|
|