Quellcode durchsuchen

cms审核id

临城职教中职
ndbs vor 2 Jahren
Ursprung
Commit
526ebce7a2
2 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  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 Datei anzeigen

@@ -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 Datei anzeigen

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


Laden…
Abbrechen
Speichern