Commit f684281f authored by 黄奎's avatar 黄奎

用户中心接口修改

parent 29d43ea5
...@@ -1656,14 +1656,14 @@ namespace Mall.WebApi.Controllers.MallBase ...@@ -1656,14 +1656,14 @@ namespace Mall.WebApi.Controllers.MallBase
icon_url = qitem.MenuIcon, icon_url = qitem.MenuIcon,
name = qitem.MenuName, name = qitem.MenuName,
is_show = 1, is_show = 1,
link_url = qitem.MenuUrl, link_url = qitem.MenuUrl.Trim(),
}), }),
//自定义菜单 //自定义菜单
menus = miniProgram?.SelfMenuList.Select(qitem => new menus = miniProgram?.SelfMenuList.Select(qitem => new
{ {
icon_url = qitem.MenuIcon, icon_url = qitem.MenuIcon,
name = qitem.MenuName, name = qitem.MenuName,
link_url = qitem.MenuUrl, link_url = qitem.MenuUrl.Trim(),
open_type = "navigate", open_type = "navigate",
@params = "", @params = "",
...@@ -1673,7 +1673,7 @@ namespace Mall.WebApi.Controllers.MallBase ...@@ -1673,7 +1673,7 @@ namespace Mall.WebApi.Controllers.MallBase
{ {
icon_url = qitem.MenuIcon, icon_url = qitem.MenuIcon,
name = qitem.MenuName, name = qitem.MenuName,
link_url = qitem.MenuUrl, link_url = qitem.MenuUrl.Trim(),
open_type = "navigate", open_type = "navigate",
text = "", text = "",
}), }),
...@@ -1682,7 +1682,7 @@ namespace Mall.WebApi.Controllers.MallBase ...@@ -1682,7 +1682,7 @@ namespace Mall.WebApi.Controllers.MallBase
{ {
icon_url = qitem.MenuIcon, icon_url = qitem.MenuIcon,
name = qitem.MenuName, name = qitem.MenuName,
link_url = qitem.MenuUrl, link_url = qitem.MenuUrl.Trim(),
open_type = "navigate", open_type = "navigate",
}), }),
//版权设置 //版权设置
...@@ -1690,7 +1690,7 @@ namespace Mall.WebApi.Controllers.MallBase ...@@ -1690,7 +1690,7 @@ namespace Mall.WebApi.Controllers.MallBase
{ {
pic_url = miniProgram.CopyRightImg, pic_url = miniProgram.CopyRightImg,
description = miniProgram.CopyRightWord, description = miniProgram.CopyRightWord,
link_url = miniProgram.CopyRightLink, link_url = miniProgram.CopyRightLink.Trim(),
} }
} }
}; };
......
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