diff --git a/app/admin/hdl/hdl_audit_center.go b/app/admin/hdl/hdl_audit_center.go index 32ed20e..033b5db 100644 --- a/app/admin/hdl/hdl_audit_center.go +++ b/app/admin/hdl/hdl_audit_center.go @@ -136,7 +136,7 @@ func CentralKitchenForSchoolOrderRefundAudit(c *gin.Context) { } if returnDay.State != enum.CentralKitchenForSchoolUserRefundDayStateForAuditing { _ = session.Rollback() - e.OutErr(c, e.ERR, errors.New("请勿重复审核申请单!")) + e.OutErr(c, e.ERR, "请勿重复审核申请单!") return } diff --git a/app/admin/svc/order/svc_central_kitchen_for_school_order.go b/app/admin/svc/order/svc_central_kitchen_for_school_order.go index 6751f67..42d4dca 100644 --- a/app/admin/svc/order/svc_central_kitchen_for_school_order.go +++ b/app/admin/svc/order/svc_central_kitchen_for_school_order.go @@ -236,7 +236,7 @@ func CentralKitchenForSchoolOrderRefundAudit(c *gin.Context, req md.CentralKitch OutRequestNo string Amount float64 Total string - }{OutRequestNo: outRequestNo, Amount: dealReturnOrdMap[returnDay.OutTradeNo].Amount + utils.StrToFloat64(returnDay.Amount), Total: ord.TotalPrice}) + }{OutRequestNo: outRequestNo, Amount: dealReturnOrdMapForWx[returnDay.OutTradeNo].Amount + utils.StrToFloat64(returnDay.Amount), Total: ord.TotalPrice}) } returnDay.OutRequestNo = outRequestNo