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