Commit 58e74850 authored by liudong1993's avatar liudong1993

1

parent 0112da95
...@@ -5552,6 +5552,7 @@ namespace Mall.Module.Product ...@@ -5552,6 +5552,7 @@ namespace Mall.Module.Product
}; };
string apiResult = Mall.Common.Plugin.HttpHelper.HttpPost(Config.PaymentFinanceApi, JsonHelper.Serialize(resultInfo), ""); string apiResult = Mall.Common.Plugin.HttpHelper.HttpPost(Config.PaymentFinanceApi, JsonHelper.Serialize(resultInfo), "");
LogHelper.Write(apiResult);
var apir = JsonConvert.DeserializeObject<ApiResult>(apiResult); var apir = JsonConvert.DeserializeObject<ApiResult>(apiResult);
if (apir.resultCode == 1) if (apir.resultCode == 1)
{ {
......
...@@ -2033,6 +2033,7 @@ namespace Mall.Module.User ...@@ -2033,6 +2033,7 @@ namespace Mall.Module.User
string apiResult = Mall.Common.Plugin.HttpHelper.HttpPost(Config.PaymentFinanceApi, JsonHelper.Serialize(resultInfo), ""); string apiResult = Mall.Common.Plugin.HttpHelper.HttpPost(Config.PaymentFinanceApi, JsonHelper.Serialize(resultInfo), "");
var apir = JsonConvert.DeserializeObject<ApiResult>(apiResult); var apir = JsonConvert.DeserializeObject<ApiResult>(apiResult);
LogHelper.Write(apiResult);
if (apir.resultCode == 1) if (apir.resultCode == 1)
{ {
Dictionary<string, object> keyValues = new Dictionary<string, object>() { Dictionary<string, object> keyValues = new Dictionary<string, object>() {
......
...@@ -678,7 +678,7 @@ namespace Mall.WebApi.Controllers.MallBase ...@@ -678,7 +678,7 @@ namespace Mall.WebApi.Controllers.MallBase
{ {
TotalFee = Convert.ToInt32((omodel.Income ?? 0) * 100), TotalFee = Convert.ToInt32((omodel.Income ?? 0) * 100),
RefundFee = (omodel.Income ?? 0) * 100, RefundFee = (omodel.Income ?? 0) * 100,
OrderNumber = omodel.OrderNo, OrderNumber = omodel.MerchantsNo,
RefundNumber = RefundOrderNo RefundNumber = RefundOrderNo
}; };
var Robj = new App_Code.PayUtil().Refund(pram, mallModel, _accessor); var Robj = new App_Code.PayUtil().Refund(pram, mallModel, _accessor);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment