From 185826d384fa48e865a59df7ea8de8afe6ff8aff Mon Sep 17 00:00:00 2001 From: liangkun Date: Thu, 27 Apr 2023 10:52:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dapi=E6=96=B0=E9=97=BB?= =?UTF-8?q?=E5=B7=B2=E8=AF=BB=E6=8E=A5=E5=8F=A3=EF=BC=9B=E6=89=8B=E6=9C=BA?= =?UTF-8?q?=E7=AB=AF=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E6=88=90=E5=86=85=E7=BD=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Learun.Application.WebApi/Modules/NewsApi.cs | 1 + Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/NewsApi.cs b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/NewsApi.cs index e28c2593a..5de436f5d 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/NewsApi.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/NewsApi.cs @@ -22,6 +22,7 @@ namespace Learun.Application.WebApi.Modules : base("/learun/news") { Get["/list"] = GetList; + Post["/newsRead"] = NewsRead; } #region 私有类 diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js index 528feda54..5cad72901 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js @@ -19,7 +19,7 @@ export default { "http://10.30.0.10:9002/" // "/api/", ], - "webHost":"http://218.84.232.3:8000/", + "webHost":"http://10.30.0.10:8000/", // 开发环境下自动填充登录账号密码,与接口地址一一对应,只在开发环境下显示 "devAccount": [ { username: "system", password: "www.qj.com" }