Пример #1
0
        public async Task <IActionResult> RecommendAsync(Int32 appId)
        {
            #region 参数验证
            Check.IfNullOrZero(appId);
            #endregion

            await _appServices.SetTodayRecommandAppAsync(appId);

            return(Json(new ResponseSimple
            {
                IsSuccess = true,
                Message = "设置成功"
            }));
        }