|
@@ -113,7 +113,7 @@ namespace Learun.Application.Web.Areas.LR_OAModule.Controllers |
|
|
{ |
|
|
{ |
|
|
{ "X-SS-API-KEY", ApiKey } |
|
|
{ "X-SS-API-KEY", ApiKey } |
|
|
}; |
|
|
}; |
|
|
string responses = Util.HttpMethods.HttpPosts("http://localhost:8005/api/v1/contents/" + siteId + "/" + channelId, SendNew.ToJson(), ApiId); |
|
|
|
|
|
|
|
|
string responses = Util.HttpMethods.HttpPosts("http://localhost:8007/api/v1/contents/" + siteId + "/" + channelId, SendNew.ToJson(), ApiId); |
|
|
|
|
|
|
|
|
#endregion |
|
|
#endregion |
|
|
#region 修改审核状态 |
|
|
#region 修改审核状态 |
|
@@ -132,7 +132,7 @@ namespace Learun.Application.Web.Areas.LR_OAModule.Controllers |
|
|
listCon.Add(con); |
|
|
listCon.Add(con); |
|
|
AList.contents = listCon; |
|
|
AList.contents = listCon; |
|
|
AList.reasons = "终审通过"; |
|
|
AList.reasons = "终审通过"; |
|
|
Util.HttpMethods.HttpPosts("http://localhost:8005/api/v1/contents/actions/check", AList.ToJson(), ApiId); |
|
|
|
|
|
|
|
|
Util.HttpMethods.HttpPosts("http://localhost:8007/api/v1/contents/actions/check", AList.ToJson(), ApiId); |
|
|
} |
|
|
} |
|
|
#endregion |
|
|
#endregion |
|
|
return Success("发布成功!"); |
|
|
return Success("发布成功!"); |
|
|