Przeglądaj źródła

长阳cms

新疆影视学院高职
ndbs 3 lat temu
rodzic
commit
dd543a7c5a
2 zmienionych plików z 3 dodań i 3 usunięć
  1. +2
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Controllers/NewsController.cs
  2. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/system.config

+ 2
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Controllers/NewsController.cs Wyświetl plik

@@ -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("发布成功!");


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/system.config Wyświetl plik

@@ -172,5 +172,5 @@
<!--下发新闻配置--> <!--下发新闻配置-->
<add key="SiteId" value="1"/> <add key="SiteId" value="1"/>
<add key="ChannelId" value="6"/> <add key="ChannelId" value="6"/>
<add key="ApiKey" value="343d69b8-32c3-4731-8c2f-92fdf3d8818e"/>
<add key="ApiKey" value="fafc361a-40c1-4060-8eee-ea796640c39c"/>
</appSettings> </appSettings>

Ładowanie…
Anuluj
Zapisz