diff --git a/CoreCms.Net.Model/ViewModels/UI/WebApiCallBack.cs b/CoreCms.Net.Model/ViewModels/UI/WebApiCallBack.cs
index 60bf873..8aba0ba 100644
--- a/CoreCms.Net.Model/ViewModels/UI/WebApiCallBack.cs
+++ b/CoreCms.Net.Model/ViewModels/UI/WebApiCallBack.cs
@@ -46,4 +46,26 @@ namespace CoreCms.Net.Model.ViewModels.UI
///
public int code { get; set; } = 0;
}
+
+ ///
+ /// 微信接口回调Json实体
+ ///
+ public class WebApiDto
+ {
+
+ ///
+ /// 状态码
+ ///
+ public int Code { get; set; }
+
+ ///
+ /// 信息说明。
+ ///
+ public string Msg { get; set; } = "接口响应成功";
+
+ ///
+ /// 返回数据
+ ///
+ public object Data { get; set; }
+ }
}
\ No newline at end of file
diff --git a/CoreCms.Net.Web.Admin/Controllers/Com/ToolsController.cs b/CoreCms.Net.Web.Admin/Controllers/Com/ToolsController.cs
index 1d73393..813f9da 100644
--- a/CoreCms.Net.Web.Admin/Controllers/Com/ToolsController.cs
+++ b/CoreCms.Net.Web.Admin/Controllers/Com/ToolsController.cs
@@ -309,9 +309,9 @@ namespace CoreCms.Net.Web.Admin.Controllers
{
var jm = new AdminUiCallBack();
- if (entity.trueName.Length > 4)
+ if (entity.trueName.Length > 10)
{
- jm.msg = "用户真实姓名不能大于4个字符。";
+ jm.msg = "用户真实姓名不能大于10个字符。";
return jm;
}
diff --git a/CoreCms.Net.Web.Admin/NLog.config b/CoreCms.Net.Web.Admin/NLog.config
index 4f57dd7..be08bd5 100644
--- a/CoreCms.Net.Web.Admin/NLog.config
+++ b/CoreCms.Net.Web.Admin/NLog.config
@@ -14,7 +14,7 @@
dbProvider="Microsoft.Data.SqlClient.SqlConnection, Microsoft.Data.SqlClient"
connectionString="Server=127.0.0.1;Database=BaseMIS;User ID=sa;Password=123456"
-->
-
+
INSERT INTO SysNLogRecords
(LogDate,LogLevel,LogType,LogTitle,Logger,Message,MachineName,MachineIp,NetRequestMethod
diff --git a/CoreCms.Net.Web.Admin/appsettings.json b/CoreCms.Net.Web.Admin/appsettings.json
index 06f5f4b..508ae8f 100644
--- a/CoreCms.Net.Web.Admin/appsettings.json
+++ b/CoreCms.Net.Web.Admin/appsettings.json
@@ -1,7 +1,7 @@
{
"ConnectionStrings": {
"DbType": "SqlServer", //数据库将支持两种模式【SqlServer,MySql】
- "SqlConnection": "Server=192.168.195.8;uid=sa;pwd=Dbt@com@123;Database=CoreShop;MultipleActiveResultSets=true;pooling=true;min pool size=5;max pool size=32767;connect timeout=20;Encrypt=True;TrustServerCertificate=True;"
+ "SqlConnection": "Server=192.168.195.8;uid=sa;pwd=Dbt@com@123;Database=MaJiangYuYue;MultipleActiveResultSets=true;pooling=true;min pool size=5;max pool size=32767;connect timeout=20;Encrypt=True;TrustServerCertificate=True;"
//SqlServer数据库连接字符串,需要开启数据库连接复用【MultipleActiveResultSets=true】
// 如果采用容器化部署Service 要写成mysql的服务名,否则写地址
@@ -14,7 +14,7 @@
"PassWord": "CoreShop"
},
"AppConfig": {
- "AppUrl": "https://admin.demo.coreshop.cn/", //后端管理地址
+ "AppUrl": "http://localhost:1987/", //后端管理地址
"AppInterFaceUrl": "https://api.demo.coreshop.cn/" //接口请求地址
},
//redis为必须启动项,请保持redis为正常可用
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/shop/setting/index.html b/CoreCms.Net.Web.Admin/wwwroot/views/shop/setting/index.html
index c217d19..fdca10d 100644
--- a/CoreCms.Net.Web.Admin/wwwroot/views/shop/setting/index.html
+++ b/CoreCms.Net.Web.Admin/wwwroot/views/shop/setting/index.html
@@ -9,14 +9,42 @@