liujiandao
2023-09-23 bcbd47ebfa5cdb0762c2a33601dc68dd8dd564ec
api/v1/test/product.go
@@ -160,6 +160,10 @@
      global.GVA_LOG.Error("获取失败!", zap.Error(err))
      response.FailWithMessage("获取失败", c)
   } else {
      //添加供应商名称
      for i := 0; i < len(list); i++ {
         list[i].SupplierName = list[i].Supplier.Name
      }
      response.OkWithDetailed(response.PageResult{
         List:     list,
         Total:    total,