示例#1
0
        /// <summary>
        /// 文章点击量+1
        /// </summary>
        /// <param name="aId"></param>
        /// <returns></returns>
        public async static Task <int> UpdateDot(long aId)
        {
            const string sql = @"proc_UpdateArticleDot";
            var          par = new DynamicParameters();

            par.Add("@AId", aId, DbType.Int32);
            return(await DapWrapper.InnerExecuteProcAsync(DbConfig.ArticleManagerConnString, sql, par));
        }