fix
wangpengfei
2023-08-30 18a4518b5bc98edb78649ad3b864d019b06a8609
service/test/product.go
@@ -34,7 +34,7 @@
// UpdateProduct 更新Product记录
// Author [piexlmax](https://github.com/piexlmax)
func (pService *ProductService) UpdateProduct(p test.Product) (err error) {
   err = global.GVA_DB.Save(&p).Error
   err = global.GVA_DB.Updates(&p).Error
   return err
}