...
|
...
|
@@ -333,7 +333,7 @@ func (cashPoolService *CashPoolService) CreateExchangeCashActivity(createExchang |
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, err.Error())
|
|
|
} else {
|
|
|
for _, activity := range activities {
|
|
|
if t2.Equal(activity.Deadline) {
|
|
|
if t2.Format("2006-01-02") == activity.Deadline.UTC().Format("2006-01-02") {
|
|
|
return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "兑换活动截止时间不能重合")
|
|
|
}
|
|
|
}
|
...
|
...
|
|