mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 20:33:26 +08:00
【修复】修复后台审核售后单类型,对支付单类型传值错误可能导致退款操作失败的问题。
This commit is contained in:
@@ -607,8 +607,7 @@ namespace CoreCms.Net.Services
|
||||
//如果有退款,生成退款单
|
||||
if (refund > 0)
|
||||
{
|
||||
var refundRes = await refundServices.ToAdd(info.userId, info.orderId,
|
||||
(int)GlobalEnumVars.BillRefundType.Order, refund, info.aftersalesId);
|
||||
var refundRes = await refundServices.ToAdd(info.userId, info.orderId, orderInfo.orderType, refund, info.aftersalesId);
|
||||
if (!refundRes.status)
|
||||
{
|
||||
return refundRes;
|
||||
|
||||
Reference in New Issue
Block a user