Przeglądaj źródła

cms审核id

临城职教中职
ndbs 2 lat temu
rodzic
commit
526ebce7a2
2 zmienionych plików z 4 dodań i 4 usunięć
  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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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();


Ładowanie…
Anuluj
Zapisz