From 566688e65e27730f872d7794b93a3c1a22c343c9 Mon Sep 17 00:00:00 2001 From: zhangli <1109134334@qq.com> Date: Wed, 30 Mar 2022 15:40:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AF=AD=E8=A8=80=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E6=97=A0=E6=B3=95=E5=88=A0=E9=99=A4=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=9B=20=E4=BF=AE=E5=A4=8D=E6=96=B0=E9=97=BB?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=A0=8F=E7=9B=AE=E6=9C=AA=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E3=80=81=E6=98=AF=E5=90=A6=E4=B8=8B=E5=8F=91=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E5=9B=9E=E5=A1=AB=E4=B8=8D=E6=AD=A3=E7=A1=AE=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Areas/LR_OAModule/Controllers/NewsController.cs | 4 ++-- .../Areas/LR_OAModule/Views/News/Form.cshtml | 4 ++-- .../Areas/LR_OAModule/Views/News/Form.js | 4 ++-- .../Areas/LR_OAModule/Views/News/Index.js | 2 +- .../Learun.Application.Language/LGMap/LGMapService.cs | 2 +- .../Learun.Application.OA/News/NewsEntity.cs | 5 +++++ 6 files changed, 13 insertions(+), 8 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Controllers/NewsController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Controllers/NewsController.cs index f112cb0a3..3c8c0e95f 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Controllers/NewsController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Controllers/NewsController.cs @@ -93,7 +93,7 @@ namespace Learun.Application.Web.Areas.LR_OAModule.Controllers newsIBLL.SaveEntity(keyValue, entity); #region 发送到网站 - if (entity.IsSend == "1") + if (entity.F_IsSendCMS == 1) { //获取配置文件 string siteId = ConfigurationManager.AppSettings["SiteId"]; @@ -133,7 +133,7 @@ namespace Learun.Application.Web.Areas.LR_OAModule.Controllers listCon.Add(con); AList.contents = listCon; //AList.reasons = "终审通过"; - Util.HttpMethods.HttpPosts("http://"+Ports+"/api/v1/contents/check", AList.ToJson(), ApiId); + Util.HttpMethods.HttpPosts("http://" + Ports + "/api/v1/contents/check", AList.ToJson(), ApiId); //Util.HttpMethods.HttpPosts("http://"+Ports+"/api/v1/contents/actions/check", AList.ToJson(), ApiId); } #endregion diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/News/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/News/Form.cshtml index acf4cb7e9..1f7b26fe7 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/News/Form.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_OAModule/Views/News/Form.cshtml @@ -9,8 +9,8 @@