瀏覽代碼

长阳cms

新疆影视学院高职
ndbs 3 年之前
父節點
當前提交
dd543a7c5a
共有 2 個文件被更改,包括 3 次插入3 次删除
  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 查看文件

@@ -113,7 +113,7 @@ namespace Learun.Application.Web.Areas.LR_OAModule.Controllers
{
{ "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
#region 修改审核状态
@@ -132,7 +132,7 @@ namespace Learun.Application.Web.Areas.LR_OAModule.Controllers
listCon.Add(con);
AList.contents = listCon;
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
return Success("发布成功!");


+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/system.config 查看文件

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

Loading…
取消
儲存