mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 18:03:27 +08:00
【新增】后台增加【取消并退款】功能,针对用户支付后并未发货的订单,后台可以直接取消并生成退款单,后台再进行选择退款方式。
This commit is contained in:
@@ -108,7 +108,12 @@ namespace CoreCms.Net.Services
|
||||
|
||||
var res = await _userBalanceServices.Change(paymentInfo.userId,
|
||||
(int)GlobalEnumVars.UserBalanceSourceTypes.Refund, refundInfo.money, paymentInfo.paymentId);
|
||||
if (res.status == false) return jm;
|
||||
if (res.status == false)
|
||||
{
|
||||
jm.msg = res.msg;
|
||||
jm.status = false;
|
||||
return jm;
|
||||
}
|
||||
jm.status = true;
|
||||
jm.data = res;
|
||||
jm.msg = "退款成功";
|
||||
|
||||
Reference in New Issue
Block a user