作者 陈志颖

fix:修复排行榜时间

@@ -13,7 +13,7 @@ import ( @@ -13,7 +13,7 @@ import (
13 type ListIntervalService struct { 13 type ListIntervalService struct {
14 } 14 }
15 15
16 -// TODO 创建排行榜时间,需要判断是否和当前排行榜时间冲突 16 +// 创建排行榜时间
17 func (listIntervalService *ListIntervalService) CreateListInterval(createListIntervalCommand *command.CreateListIntervalCommand) (interface{}, error) { 17 func (listIntervalService *ListIntervalService) CreateListInterval(createListIntervalCommand *command.CreateListIntervalCommand) (interface{}, error) {
18 if err := createListIntervalCommand.ValidateCommand(); err != nil { 18 if err := createListIntervalCommand.ValidateCommand(); err != nil {
19 return nil, application.ThrowError(application.ARG_ERROR, err.Error()) 19 return nil, application.ThrowError(application.ARG_ERROR, err.Error())