| | |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | |
| | | #region 预览数据============================================================ |
| | | |
| | | // POST: Api/CoreCmsDistribution/GetDetailsAchievement/10 |
| | | /// <summary> |
| | | /// 预览数据 |
| | | /// </summary> |
| | | /// <param name="entity"></param> |
| | | /// <returns></returns> |
| | | [HttpPost] |
| | | [Description("预览数据")] |
| | | public async Task<AdminUiCallBack> GetDetailsAchievement([FromBody] FMIntId entity) |
| | | { |
| | | var jm = new AdminUiCallBack(); |
| | | |
| | | var model = await _coreCmsDistributionServices.QueryByIdAsync(entity.id); |
| | | if (model == null) |
| | | { |
| | | jm.msg = "不存在此信息"; |
| | | return jm; |
| | | } |
| | | var distributionRankingDTOs = _coreCmsDistributionServices.QueryAchievement(model.userId); |
| | | |
| | | |
| | | |
| | | |
| | | jm.code = 0; |
| | | jm.data = distributionRankingDTOs; |
| | | |
| | | return jm; |
| | | } |
| | | |
| | | #endregion |
| | | } |
| | | } |