Skip to content

Commit

Permalink
Fix calendar update failed
Browse files Browse the repository at this point in the history
  • Loading branch information
Cairry committed Jul 8, 2024
1 parent 18fe799 commit cb5a8bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/duty_calendar.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
type DutyCalendarController struct{}

/*
值班表 API
/api/w8t/calendar
值班表 API
/api/w8t/calendar
*/
func (dc DutyCalendarController) API(gin *gin.RouterGroup) {
calendarA := gin.Group("calendar")
Expand Down Expand Up @@ -50,7 +50,7 @@ func (dc DutyCalendarController) Create(ctx *gin.Context) {
}

func (dc DutyCalendarController) Update(ctx *gin.Context) {
r := new(models.DutyScheduleCreate)
r := new(models.DutySchedule)
BindJson(ctx, r)

tid, _ := ctx.Get("TenantID")
Expand Down

0 comments on commit cb5a8bf

Please sign in to comment.