Commit 204047b2 authored by 黄奎's avatar 黄奎

1

parent 16c26e4e
......@@ -1663,6 +1663,8 @@ namespace Mall.WebApi.Controllers.MallBase
if (configModel.Type == 1)
{
string alimsg = orderModule.GetOrderExpressInfoForAliyun(ExpressNumber, model.ExpressCode, configModel.AppCode, configModel.RquUrl);
if (!string.IsNullOrEmpty(alimsg))
{
JObject Rparms = JObject.Parse(alimsg);
if (Rparms.GetStringValue("Success").ToLower() == "true")
{
......@@ -1678,6 +1680,11 @@ namespace Mall.WebApi.Controllers.MallBase
return ApiResult.Failed("未能查询到该快递信息");
}
}
else
{
return ApiResult.Failed("未能查询到该快递信息");
}
}
else if (configModel.Type == 2)
{
var jsonStr = orderModule.GetOrderExpressInfo(model.ExpressCode, ExpressNumber, configModel.AppID, configModel.AppKey, configModel.RquUrl);
......
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