333
This commit is contained in:
parent
c5ced09149
commit
65f39352d6
|
|
@ -80,10 +80,10 @@ namespace CoreCms.Net.Web.WebApi.Controllers
|
|||
/// 接口测试反馈
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public WebApiCallBack InterFaceTest()
|
||||
[HttpGet]
|
||||
public WebApiDto h()
|
||||
{
|
||||
var jm = new WebApiCallBack { status = true, msg = "接口访问正常", data = DateTime.Now };
|
||||
var jm = new WebApiDto { Code = 0, Msg = "", Data = DateTime.Now };
|
||||
return jm;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
"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的服务名,否则写地址
|
||||
// 如果采用容器化部署Service 要写成mysql的服务名,否则写地址 git@192.168.195.14:server/Coreshop.git
|
||||
//"SqlConnection": "Server=127.0.0.1;Port=3306;Database=CoreShop;Uid=CoreShop;Pwd=CoreShop;CharSet=utf8;pooling=true;SslMode=None;Allow User Variables=true;Convert Zero Datetime=True;Allow Zero Datetime=True;"
|
||||
// Mysql数据库链接字符串,请保持后面的属性别少。经过测试,mysql版本需要5.7或以上
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user