mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 18:43:26 +08:00
【新增】广告列表管理新增【广告位】下拉检索,增加行字段说明,增加【原图上传】。
This commit is contained in:
@@ -221,14 +221,17 @@ namespace CoreCms.Net.Web.Admin.Controllers
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
[Description("首页数据")]
|
||||
public AdminUiCallBack GetIndex()
|
||||
public async Task<AdminUiCallBack> GetIndex()
|
||||
{
|
||||
//返回数据
|
||||
var jm = new AdminUiCallBack { code = 0 };
|
||||
var types = EnumHelper.EnumToList<GlobalEnumVars.AdvertisementType>();
|
||||
var advertPosition = await _coreCmsAdvertPositionServices.QueryAsync();
|
||||
|
||||
jm.data = new
|
||||
{
|
||||
types
|
||||
types,
|
||||
advertPosition
|
||||
};
|
||||
return jm;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user