|
@@ -188,6 +188,23 @@ public class RedPackController : BaseController
|
|
public async Task<PagedDto<SnapshotRedPackRecordItemsGuiderOutDto>> GetRedPackRecordGuiderItemsAsync([FromQuery] SnapshotRedPackRecordItemsGuiderInDto dto)
|
|
public async Task<PagedDto<SnapshotRedPackRecordItemsGuiderOutDto>> GetRedPackRecordGuiderItemsAsync([FromQuery] SnapshotRedPackRecordItemsGuiderInDto dto)
|
|
=> (await _redPackApplication.GetRedPackRecordGuiderItemsAsync(dto).ToPagedListAsync(dto)).ToPaged();
|
|
=> (await _redPackApplication.GetRedPackRecordGuiderItemsAsync(dto).ToPagedListAsync(dto)).ToPaged();
|
|
|
|
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 红包发放明细基础数据
|
|
|
|
+ /// </summary>
|
|
|
|
+ /// <returns></returns>
|
|
|
|
+ [HttpGet("record/send/database")]
|
|
|
|
+ public async Task<Dictionary<string, object>> GetRedPackRecordSendBaseDataAsync()
|
|
|
|
+ {
|
|
|
|
+ return new Dictionary<string, object>()
|
|
|
|
+ {
|
|
|
|
+ { "industry", await _industryRepository.Queryable()
|
|
|
|
+ .Select(m => new { m.Id, m.Name })
|
|
|
|
+ .ToListAsync()},
|
|
|
|
+ { "sendStatus", EnumExts.GetDescriptions<EReadPackSendStatus>().Where(m => m.Key != 2).ToList() },
|
|
|
|
+ { "userType", EnumExts.GetDescriptions<EReadPackUserType>() }
|
|
|
|
+ };
|
|
|
|
+ }
|
|
|
|
+
|
|
/// <summary>
|
|
/// <summary>
|
|
/// 红包发放明细
|
|
/// 红包发放明细
|
|
/// </summary>
|
|
/// </summary>
|