|
@@ -27,8 +27,7 @@ namespace ZhonTai.Admin.Services.DiTuiAPI
|
|
/// 首页信息
|
|
/// 首页信息
|
|
/// </summary>
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
/// <returns></returns>
|
|
- [HttpPost]
|
|
|
|
- [AllowAnonymous]
|
|
|
|
|
|
+ [HttpGet]
|
|
[NoOprationLog]
|
|
[NoOprationLog]
|
|
public async Task<IndexOutput> IndexAsync()
|
|
public async Task<IndexOutput> IndexAsync()
|
|
{
|
|
{
|
|
@@ -65,16 +64,16 @@ namespace ZhonTai.Admin.Services.DiTuiAPI
|
|
indexOutPut.Imgs = imgsList;
|
|
indexOutPut.Imgs = imgsList;
|
|
|
|
|
|
|
|
|
|
- List<Notice> notices = new List<Notice>();
|
|
|
|
|
|
+ List<Notices> notices = new List<Notices>();
|
|
List<string> tags = new List<string>();
|
|
List<string> tags = new List<string>();
|
|
tags.Add("最新");
|
|
tags.Add("最新");
|
|
tags.Add("重要");
|
|
tags.Add("重要");
|
|
List<string> importentTags = new List<string>();
|
|
List<string> importentTags = new List<string>();
|
|
importentTags.Add("重要");
|
|
importentTags.Add("重要");
|
|
- notices.Add(new Notice(tags,"平台悬赏任务、游戏试玩任务上线通知…","11"));
|
|
|
|
- notices.Add(new Notice(importentTags, "快手极速版直推版价格政策调整通知", "22"));
|
|
|
|
- notices.Add(new Notice(tags, "12月平台项目重要通知请注意查看!12月平台项目重要通知请注意查看!", "33"));
|
|
|
|
- indexOutPut.Notice = notices;
|
|
|
|
|
|
+ notices.Add(new Notices(tags,"平台悬赏任务、游戏试玩任务上线通知…","11"));
|
|
|
|
+ notices.Add(new Notices(importentTags, "快手极速版直推版价格政策调整通知", "22"));
|
|
|
|
+ notices.Add(new Notices(tags, "12月平台项目重要通知请注意查看!12月平台项目重要通知请注意查看!", "33"));
|
|
|
|
+ indexOutPut.Notices = notices;
|
|
|
|
|
|
List<Settlement> settlements = new List<Settlement>();
|
|
List<Settlement> settlements = new List<Settlement>();
|
|
settlements.Add(new Settlement("抖音电商1分购-高价版", "未结算"));
|
|
settlements.Add(new Settlement("抖音电商1分购-高价版", "未结算"));
|