liujiandao
2023-12-22 28d04b70a786c5084ddceb12f6cc34b5702e0d36
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 {