diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.OA/News/NewsEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.OA/News/NewsEntity.cs index c22cf9573..2459d74bd 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.OA/News/NewsEntity.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.OA/News/NewsEntity.cs @@ -404,7 +404,7 @@ namespace Learun.Application.OA public class AuditList { - public string siteId { get; set; } + public int siteId { get; set; } public List contents { get; set; } public string reasons { get; set; } } diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.OA/News/NewsService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.OA/News/NewsService.cs index 87d98f58e..326f292c2 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.OA/News/NewsService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.OA/News/NewsService.cs @@ -251,12 +251,12 @@ namespace Learun.Application.OA string responses = HttpMethods.HttpPosts("http://" + ports + "/api/v1/contents/" + siteId + "/" + channelId, SendNew.ToJson(), ApiId); #region 修改审核状态 - - string Nid = JsonConvert.DeserializeObject(responses).value.id; + + string Nid = JsonConvert.DeserializeObject(responses).value.id; AuditList AList = new AuditList(); if (Nid != null) { - AList.siteId = siteId; + AList.siteId = Convert.ToInt32(siteId); List listCon = new List(); //这里应该循环,如果多个 contents con = new contents();