startday2

This commit is contained in:
jiangyong27 2025-03-07 12:23:55 +08:00
parent 25fc142bdf
commit 18c4df1993
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ func (s *StaffCheckin) List(ctx *gin.Context) {
func (s *StaffCheckin) Sync(ctx *gin.Context) {
var req api.SyncCheckin
if err := ctx.ShouldBind(&req); err != nil {
if err := ctx.ShouldBindJSON(&req); err != nil {
panic(config.ErrParam.New().Append(err))
}
sess := ctx.Keys[session.ContextSession].(*session.AdminSession)