Преглед на файлове

cms审核id

临城职教中职
ndbs преди 2 години
родител
ревизия
526ebce7a2
променени са 2 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.OA/News/NewsEntity.cs
  2. +3
    -3
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.OA/News/NewsService.cs

+ 1
- 1
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> contents { get; set; }
public string reasons { get; set; }
}


+ 3
- 3
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<Root>(responses).value.id;
string Nid = JsonConvert.DeserializeObject<Root>(responses).value.id;
AuditList AList = new AuditList();
if (Nid != null)
{
AList.siteId = siteId;
AList.siteId = Convert.ToInt32(siteId);
List<contents> listCon = new List<contents>();
//这里应该循环,如果多个
contents con = new contents();


Зареждане…
Отказ
Запис