liujiandao
2024-03-15 38e5627134a81c831d4867ef4085b2bda9291b24
api/v1/priorityLevel.go
@@ -71,6 +71,10 @@
   if !ok {
      return
   }
    if params.Id == 0 {
        ctx.Fail(ecode.ParamsErr)
    }
    params.PriorityLevel.Id = params.Id
   errCode := service.NewPriorityLevelService().UpdatePriorityLevel(&params.PriorityLevel)
   if errCode != ecode.OK {