liujiandao
2023-11-21 fb70fc08ff0a58f74d0bf45be375484617c7d7e5
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 {