コード例 #1
0
        public async Task <IActionResult> ModifyAppInfoAsync(IFormCollection forms)
        {
            #region 参数验证
            Check.IfNullOrZero(forms);
            #endregion
            var userContext = await GetUserContextAsync();

            await _appServices.ModifyUserAppInfoAsync(userContext.Id, WrapperAppDto(forms));

            return(Json(new ResponseSimple
            {
                IsSuccess = true,
                Message = "修改app信息成功"
            }));
        }