Commit 322cf306 authored by 黄奎's avatar 黄奎

页面修改

parent 48fe2e40
...@@ -229,11 +229,14 @@ namespace Mall.Module.MarketingCenter ...@@ -229,11 +229,14 @@ namespace Mall.Module.MarketingCenter
{ {
linkModel.new_link_url = linkItem["new_link_url"].ToString(); linkModel.new_link_url = linkItem["new_link_url"].ToString();
} }
if (string.IsNullOrWhiteSpace(linkModel.new_link_url))
{
linkModel.new_link_url = linkItem["PageUrl"].ToString();
}
if (linkItem["name"] != null && !string.IsNullOrWhiteSpace(linkItem["name"].ToString())) if (linkItem["name"] != null && !string.IsNullOrWhiteSpace(linkItem["name"].ToString()))
{ {
linkModel.ParameterValue = linkItem["name"].ToString(); linkModel.ParameterValue = linkItem["name"].ToString();
} }
if (string.IsNullOrWhiteSpace(linkModel.ParameterValue)) if (string.IsNullOrWhiteSpace(linkModel.ParameterValue))
{ {
linkModel.ParameterValue = linkItem["ParameterValue"].ToString(); linkModel.ParameterValue = linkItem["ParameterValue"].ToString();
......
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