Commit b947a816 authored by haoyanbin's avatar haoyanbin

Mobile info time

parent 915646b7
...@@ -627,9 +627,8 @@ func (e *OrgPlayer) GetPageWonderful(evaluateId string, list *[]cDto.Wonderful, ...@@ -627,9 +627,8 @@ func (e *OrgPlayer) GetPageWonderful(evaluateId string, list *[]cDto.Wonderful,
func (e *OrgPlayer) GetNowSeasonId() string { func (e *OrgPlayer) GetNowSeasonId() string {
reply := new(models.OrgSeason) reply := new(models.OrgSeason)
now := time.Now() timeObj := time.Now()
//negativeM, _ := time.ParseDuration("-5m") var now = timeObj.Format("2006-01-02 03:04:05")
//nowBefore := now.Add(negativeM)
err := e.Orm.Table("org_season"). err := e.Orm.Table("org_season").
Select("id"). Select("id").
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment