|
|
@@ -1193,7 +1193,7 @@ func CentralKitchenForSchoolBatchAskForLeave(c *gin.Context) { |
|
|
|
e.OutErr(c, err1.Code, err1.Error()) |
|
|
|
return |
|
|
|
} |
|
|
|
var datesMap map[string]string |
|
|
|
var datesMap = map[string]string{} |
|
|
|
for _, v := range req.Dates { |
|
|
|
datesMap[v] = v |
|
|
|
} |
|
|
@@ -1219,7 +1219,7 @@ func CentralKitchenForSchoolBatchAskForLeave(c *gin.Context) { |
|
|
|
e.OutErr(c, err1.Code, err1.Error()) |
|
|
|
return |
|
|
|
} |
|
|
|
var datesMap map[string]string |
|
|
|
var datesMap = map[string]string{} |
|
|
|
for _, v := range req.Dates { |
|
|
|
datesMap[v] = v |
|
|
|
} |
|
|
@@ -1245,7 +1245,7 @@ func CentralKitchenForSchoolBatchAskForLeave(c *gin.Context) { |
|
|
|
e.OutErr(c, err1.Code, err1.Error()) |
|
|
|
return |
|
|
|
} |
|
|
|
var datesMap map[string]string |
|
|
|
var datesMap = map[string]string{} |
|
|
|
for _, v := range req.Dates { |
|
|
|
datesMap[v] = v |
|
|
|
} |
|
|
|