fix
wangpengfei
2023-08-09 1041c15ba9f55e1be4078fc24cef9acfbc0a4326
api/v1/faultType.go
@@ -71,6 +71,10 @@
   if !ok {
      return
   }
    if params.Id == 0 {
        ctx.Fail(ecode.ParamsErr)
    }
    params.FaultType.Id = params.Id
   errCode := service.NewFaultTypeService().UpdateFaultType(&params.FaultType)
   if errCode != ecode.OK {