mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-03-22 20:07:20 +08:00
【新增】后台用户列表,积分调整为可用积分,增加累计积分列及可点击列表展示。
This commit is contained in:
@@ -1256,15 +1256,15 @@ namespace CoreCms.Net.Web.Admin.Controllers
|
||||
|
||||
#endregion
|
||||
|
||||
#region 获取列表============================================================
|
||||
#region 获取积分列表============================================================
|
||||
|
||||
// POST: Api/CoreCmsUser/GetUserPointLogPageList
|
||||
/// <summary>
|
||||
/// 获取列表
|
||||
/// 获取积分列表
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
[Description("获取列表")]
|
||||
[Description("获取积分列表")]
|
||||
public async Task<AdminUiCallBack> GetUserPointLogPageList()
|
||||
{
|
||||
var jm = new AdminUiCallBack();
|
||||
@@ -1349,6 +1349,14 @@ namespace CoreCms.Net.Web.Admin.Controllers
|
||||
}
|
||||
}
|
||||
|
||||
//积分余额 int
|
||||
var searchType = Request.Form["searchType"].FirstOrDefault();
|
||||
if (!string.IsNullOrEmpty(searchType) && searchType == "accumulativePoint")
|
||||
{
|
||||
where = where.And(p => p.num > 0);
|
||||
}
|
||||
|
||||
|
||||
//获取数据
|
||||
var list = await _coreCmsUserPointLogServices.QueryPageAsync(where, orderEx, orderBy, pageCurrent,
|
||||
pageSize);
|
||||
|
||||
Reference in New Issue
Block a user