diff --git a/api/service/order.go b/api/service/order.go index 5b5a346..b865205 100644 --- a/api/service/order.go +++ b/api/service/order.go @@ -278,7 +278,7 @@ func (r *OrderService) ReportPreProduct(orderProductId, adminUserId int64) (bool _, err = ReportPreRequest.ReportPre() if err != nil { tx.Rollback() - return false, errors.New("上报处方失败1") + return false, err } // 修改商品表