zhangqian
2024-03-29 f14c22065bf5c3b615a8d909c29b90f37ef6419d
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 {