|
|
@@ -426,6 +426,9 @@ func SetCentralKitchenForSchoolWithSpecByTeacher(c *gin.Context) { |
|
|
|
BreakfastUnitPriceForTeacher: req.BreakfastUnitPriceForTeacher, |
|
|
|
LunchUnitPriceForTeacher: req.LunchUnitPriceForTeacher, |
|
|
|
DinnerUnitPriceForTeacher: req.DinnerUnitPriceForTeacher, |
|
|
|
BreakfastTeacherNotice: req.BreakfastTeacherNotice, |
|
|
|
LunchTeacherNotice: req.LunchTeacherNotice, |
|
|
|
DinnerTeacherNotice: req.DinnerTeacherNotice, |
|
|
|
CreateAt: now.Format("2006-01-02 15:04:05"), |
|
|
|
UpdateAt: now.Format("2006-01-02 15:04:05"), |
|
|
|
}) |
|
|
@@ -446,6 +449,9 @@ func SetCentralKitchenForSchoolWithSpecByTeacher(c *gin.Context) { |
|
|
|
BreakfastUnitPriceForTeacher: req.BreakfastUnitPriceForTeacher, |
|
|
|
LunchUnitPriceForTeacher: req.LunchUnitPriceForTeacher, |
|
|
|
DinnerUnitPriceForTeacher: req.DinnerUnitPriceForTeacher, |
|
|
|
BreakfastTeacherNotice: req.BreakfastTeacherNotice, |
|
|
|
LunchTeacherNotice: req.LunchTeacherNotice, |
|
|
|
DinnerTeacherNotice: req.DinnerTeacherNotice, |
|
|
|
CreateAt: now.Format("2006-01-02 15:04:05"), |
|
|
|
UpdateAt: now.Format("2006-01-02 15:04:05"), |
|
|
|
}) |
|
|
@@ -917,6 +923,9 @@ func GetBasicCentralKitchenForSchool(c *gin.Context) { |
|
|
|
BreakfastUnitPriceForTeacher: "0", |
|
|
|
LunchUnitPriceForTeacher: "0", |
|
|
|
DinnerUnitPriceForTeacher: "0", |
|
|
|
BreakfastTeacherNotice: "", |
|
|
|
LunchTeacherNotice: "", |
|
|
|
DinnerTeacherNotice: "", |
|
|
|
CreateAt: time.Now().Format("2006-01-02 15:04:05"), |
|
|
|
UpdateAt: time.Now().Format("2006-01-02 15:04:05"), |
|
|
|
} |
|
|
|