From 3146c5f900b5871c0645396c2d67111cb9b2f12b Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Tue, 6 Aug 2024 09:54:08 +0800 Subject: [PATCH] 1 --- api/service/order.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } // 修改商品表