Commit 54d9fd74 authored by 黄奎's avatar 黄奎

新增配置文件

parent 8576761e
...@@ -150,6 +150,8 @@ namespace Mall.WebApi.Controllers.MarketingCenter ...@@ -150,6 +150,8 @@ namespace Mall.WebApi.Controllers.MarketingCenter
pagelist.count = Convert.ToInt32(count); pagelist.count = Convert.ToInt32(count);
pagelist.pageData = list.Select(qitem => new pagelist.pageData = list.Select(qitem => new
{ {
HeadImg=Common.Config.ReadConfigKey("ShareConfig", "ShareImg"),
UserName= Common.Config.ReadConfigKey("ShareConfig", "ShareUserName"),
qitem.Id, qitem.Id,
qitem.MaterialInfo, qitem.MaterialInfo,
qitem.ImgList, qitem.ImgList,
......
...@@ -78,5 +78,9 @@ ...@@ -78,5 +78,9 @@
}, },
"InitializeImages": { "InitializeImages": {
"GradeEntranceImage": "1234566778" "GradeEntranceImage": "1234566778"
},
"ShareConfig": {
"ShareImg": "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/zanyang.png",
"ShareUserName": "赞羊生活"
} }
} }
\ No newline at end of file
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