From e867f048e92c830af97ddb346a618e08eb1ff662 Mon Sep 17 00:00:00 2001
From: DESKTOP-9BNTV8O <DESKTOP-9BNTV8O@163.com>
Date: 星期五, 13 十二月 2024 10:30:45 +0800
Subject: [PATCH] 修改问题
---
HTML/js/public.js | 3
Wms/Wms/Controllers/UpApiController.cs | 260 --------------------------
HTML/web.config | 11 +
Wms/Wms/appsettings.json | 3
Wms/Wms/Controllers/DownApiController.cs | 267 ++++++++++++++++++++++++++
5 files changed, 281 insertions(+), 263 deletions(-)
diff --git a/HTML/js/public.js b/HTML/js/public.js
index a15a788..dc1bbb7 100644
--- a/HTML/js/public.js
+++ b/HTML/js/public.js
@@ -1,7 +1,8 @@
//var IP = "http://47.104.149.73:1991";//鎺ュ彛IP
// var IP = "http://172.16.71.101:8082/";//鎺ュ彛IP
//var IP = "http://localhost:13243/api";
-var IP = "http://localhost:50515/api"; //鏈湴
+//var IP = "http://localhost:50515/api"; //鏈湴
+var IP = "http://172.16.105.10:8086/api";
// var IP = "http://localhost:44318/api";
//var IP = "http://192.168.1.6:8017";
//var IP = "http://192.168.1.226:8086";
diff --git a/HTML/web.config b/HTML/web.config
new file mode 100644
index 0000000..cbf85bb
--- /dev/null
+++ b/HTML/web.config
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<configuration>
+ <system.webServer>
+ <defaultDocument>
+ <files>
+ <add value="Login.html" />
+ </files>
+ </defaultDocument>
+ <httpRedirect enabled="true" destination="/views" childOnly="true" />
+ </system.webServer>
+</configuration>
diff --git a/Wms/Wms/Controllers/DownApiController.cs b/Wms/Wms/Controllers/DownApiController.cs
index 27d21f1..d422a58 100644
--- a/Wms/Wms/Controllers/DownApiController.cs
+++ b/Wms/Wms/Controllers/DownApiController.cs
@@ -16,6 +16,8 @@
using WMS.Entity.BllTaskEntity;
using WMS.IBLL.IBllTaskServer;
using Model.ModelVm.BllTaskVm;
+using static Model.InterFaceModel.RCSModel;
+using WMS.IBLL.IBllTransServer;
namespace Wms.Controllers
{
@@ -33,7 +35,9 @@
private readonly ITaskServer _taskSvc;//浠诲姟Svc
private readonly IBllTaskSyncServer _taskSyncSvc;//浠诲姟鍚屾Svc
private readonly IWaveMageServer _waveSvc;//浠诲姟鍚屾Svc
- public DownApiController(IOptions<ApiUrlConfig> setting, IExportNoticeServer exNoticeSvc, IPalletBindServer asnPalletBindSvc, IStockCheckServer crCheckSvc, ITaskServer taskSvc, IBllTaskSyncServer taskSyncSvc, IWaveMageServer waveSvc)
+ private readonly IRcsServer _rcsserver;//RCS鐩稿叧浠诲姟
+ private readonly INoticeServer _noticeSvc;//浜屾ゼ鍗曟嵁鐩稿叧
+ public DownApiController(IOptions<ApiUrlConfig> setting, IExportNoticeServer exNoticeSvc, IPalletBindServer asnPalletBindSvc, IStockCheckServer crCheckSvc, ITaskServer taskSvc, IBllTaskSyncServer taskSyncSvc, IWaveMageServer waveSvc, IRcsServer rcsserver, INoticeServer noticeSvc)
{
_config = setting.Value;
_exNoticeSvc = exNoticeSvc;
@@ -42,6 +46,8 @@
_taskSvc = taskSvc;
_taskSyncSvc = taskSyncSvc;
_waveSvc = waveSvc;
+ _rcsserver = rcsserver;
+ _noticeSvc = noticeSvc;
}
#region WMS鎺ュ彛 璋冪敤涓嬫父绯荤粺鎺ュ彛
@@ -641,5 +647,264 @@
#endregion
+
+ #region 浜屾ゼ涓氬姟
+ /// <summary>
+ /// RCS鍙《
+ /// </summary>
+ /// <param name="pallmsg"></param>
+ /// <returns></returns>
+ [HttpPost]
+ public IActionResult GetPalletNo(Pallnetmsg pallmsg)
+ {
+ var logStr = $@".\log\AGV\AGV鐢宠鍙《" + DateTime.Now.ToString("yyyyMMdd") + ".txt";
+ var result = new ErpModel { Success = -1, Message = "", };
+ try
+ {
+ var jsonData = JsonConvert.SerializeObject(pallmsg);
+ LogFile.SaveLogToFile($"AGV鐢宠鍙《锛�( {jsonData} ),", logStr);
+
+ if (string.IsNullOrWhiteSpace(pallmsg.Location))
+ {
+ result.Message = "鍙枡浣嶇疆涓虹┖锛�";
+ return Ok(result);
+ }
+ if (string.IsNullOrWhiteSpace(pallmsg.Type))
+ {
+ result.Message = "浠诲姟绫诲瀷涓虹┖锛�";
+ return Ok(result);
+ }
+ _rcsserver.GetPalletNo(pallmsg, _config.AgvHost + _config.GenAgvSchedulingTask);
+ result.Success = 0;
+ result.Message = "鍙《鎴愬姛锛�";
+ return Ok(result);
+ }
+ catch (Exception e)
+ {
+ LogFile.SaveLogToFile($"AGV鐢宠鍙《寮傚父锛�( {e.Message} ),", logStr);
+
+ result.Message = e.Message;
+ return Ok(result);
+ }
+ }
+ /// <summary>
+ /// 灏嗗噣妗舵敼涓鸿剰妗跺苟鎷夊埌鑴忔《鍖�
+ /// </summary>
+ /// <param name="pallmsg"></param>
+ /// <returns></returns>
+ [HttpPost]
+ public IActionResult ChangePalletStatus(Pallnetmsg pallmsg)
+ {
+ var result = new ErpModel { Success = -1, Message = "", };
+ try
+ {
+ if (string.IsNullOrWhiteSpace(pallmsg.PalletNo))
+ {
+ result.Message = "妗剁紪鍙蜂笉鑳戒负绌猴紒";
+ return Ok(result);
+ }
+ _rcsserver.ChangePalletStatus(pallmsg.PalletNo, _config.AgvHost + _config.GenAgvSchedulingTask);
+ result.Success = 0;
+ result.Message = "鎿嶄綔鎴愬姛锛�";
+ return Ok(result);
+ }
+ catch (Exception e)
+ {
+ result.Message = e.Message;
+ return Ok(result);
+ }
+ }
+
+ /// <summary>
+ /// MES涓嬪彂娓呮礂閿佸畾鑴忔《
+ /// </summary>
+ /// <param name="pallmsg"></param>
+ /// <returns></returns>
+ [HttpPost]
+ public IActionResult CleanPallet(Pallnetmsg pallmsg)
+ {
+ var result = new ErpModel { Success = -1, Message = "", };
+ try
+ {
+ if (string.IsNullOrWhiteSpace(pallmsg.Location))
+ {
+ result.Message = "鍙枡浣嶇疆涓虹┖锛�";
+ return Ok(result);
+ }
+ if (string.IsNullOrWhiteSpace(pallmsg.PalletNo))
+ {
+ result.Message = "妗跺彿涓虹┖锛�";
+ return Ok(result);
+ }
+ _rcsserver.CleanPallet(pallmsg, _config.AgvHost + _config.GenAgvSchedulingTask);
+ result.Success = 0;
+ result.Message = "鍙《鎴愬姛锛�";
+ return Ok(result);
+ }
+ catch (Exception e)
+ {
+ result.Message = e.Message;
+ return Ok(result);
+ }
+ }
+
+ /// <summary>
+ /// RCS鐢宠鍌ㄤ綅
+ /// </summary>
+ /// <param name="pallmsg"></param>
+ /// <returns></returns>
+ [HttpPost]
+ public IActionResult ApplyLocatNo(Pallnetmsg pallmsg)
+ {
+ var logStr = $@".\log\AGV\AGV鐢宠鍌ㄤ綅" + DateTime.Now.ToString("yyyyMMdd") + ".txt";
+
+ var result = new ErpModel { Success = -1, Message = "" };
+ try
+ {
+ var jsonData = JsonConvert.SerializeObject(pallmsg);
+ LogFile.SaveLogToFile($"AGV鐢宠鍌ㄤ綅锛�( {jsonData} ),", logStr);
+
+ if (string.IsNullOrWhiteSpace(pallmsg.Location))
+ {
+ result.Message = "鐢宠浣嶇疆涓虹┖锛�";
+ return Ok(result);
+ }
+ if (string.IsNullOrWhiteSpace(pallmsg.Type))
+ {
+ result.Message = "浠诲姟绫诲瀷涓虹┖锛�";
+ return Ok(result);
+ }
+ if (string.IsNullOrWhiteSpace(pallmsg.PalletNo))
+ {
+ result.Message = "鐢宠鎵樼洏鍙蜂负绌猴紒";
+ return Ok(result);
+ }
+ _rcsserver.ApplyLocatNo(pallmsg, _config.AgvHost + _config.GenAgvSchedulingTask);
+ result.Success = 0;
+ result.Message = "鐢宠鍌ㄤ綅鎴愬姛锛�";
+ return Ok(result);
+ }
+ catch (Exception e)
+ {
+ LogFile.SaveLogToFile($"AGV鐢宠鍌ㄤ綅寮傚父锛�( {e.Message} ),", logStr);
+
+ result.Message = e.Message;
+ return Ok(result);
+ }
+ }
+
+ /// <summary>
+ /// 鍏ュ簱鍗曟嵁涓嬪彂
+ /// </summary>
+ /// <param name="model">鍏ュ簱鍗曚俊鎭�</param>
+ /// <returns></returns>
+ //[Authorize]
+ [HttpPost]
+ public IActionResult CreateAsnWork(AsnInfo model)
+ {
+ var result = new ErpModel { Success = -1, Message = "" };
+ try
+ {
+ /*var claimsIdentity = this.User.Identity as ClaimsIdentity;
+ if (claimsIdentity == null)
+ {
+ throw new Exception("鏈幏鍙栧埌鐢ㄦ埛淇℃伅");
+ }
+ string UserId = claimsIdentity.FindFirst(ClaimTypes.Name)?.Value;
+ if (string.IsNullOrWhiteSpace(UserId))
+ {
+ throw new Exception("鏈幏鍙栧埌鐢ㄦ埛淇℃伅");
+ }*/
+
+ result = _noticeSvc.CreateAsnWork(model);
+
+ return Ok(result);
+ }
+ catch (Exception e)
+ {
+ result.Message = e.Message;
+ return Ok(result);
+ }
+ }
+
+ /// <summary>
+ /// Agv浠诲姟瀹屾垚鍙嶉
+ /// </summary>
+ /// <param name="model"></param>
+ /// <returns></returns>
+ [HttpPost]
+ public IActionResult agvCallBack(AgvTaskDto model)
+ {
+ var result = new ErpModel { Success = -1, Message = "" };
+ try
+ {
+ //璁板綍log
+ var logStr = $@".\log\AGV\浠诲姟鎵ц閫氱煡" + DateTime.Now.ToString("yyyyMMdd") + ".txt";
+ var jsonData = JsonConvert.SerializeObject(model);
+ LogFile.SaveLogToFile($"浠诲姟鎵ц閫氱煡锛�( {jsonData} ),", logStr);
+
+ if (string.IsNullOrEmpty(model.reqCode))
+ {
+ return Ok(new AgvResultModel { code = "-1", message = "璇锋眰澶辫触锛宺eqCode鍙傛暟寮傚父", reqCode = model.reqCode });
+ }
+ switch (model.method)
+ {
+ case "start"://浠诲姟寮�濮�
+ return Ok(new AgvResultModel { code = "0", message = "鎴愬姛", reqCode = model.reqCode });
+
+ case "outbin"://璧板嚭鍌ㄤ綅
+ return Ok(new AgvResultModel { code = "0", message = "鎴愬姛", reqCode = model.reqCode });
+
+ case "end"://浠诲姟缁撴潫
+ result = _noticeSvc.RCSFinishTask(model.reqCode, "1");
+ return Ok(result);
+ case "cancel"://浠诲姟鍗曞彇娑�
+ return Ok(new AgvResultModel { code = "0", message = "鎴愬姛", reqCode = model.reqCode });
+
+ case "apply"://CTU鏂欑鍙栨斁鐢宠
+ return Ok(new AgvResultModel { code = "0", message = "鎴愬姛", reqCode = model.reqCode });
+
+ default:
+ return Ok(new AgvResultModel { code = "-1", message = "璇锋眰澶辫触锛宮ethod浠诲姟绫诲瀷閿欒", reqCode = model.reqCode });
+ }
+ }
+ catch (Exception ex)
+ {
+ return Ok(new AgvResultModel { code = "-1", message = ex.Message, reqCode = model.reqCode });
+ }
+ }
+
+ /// <summary>
+ /// 鍑哄簱鍗曟嵁涓嬪彂
+ /// </summary>
+ /// <param name="model">鍑哄簱鍗曚俊鎭�</param>
+ /// <returns></returns>
+ //[Authorize]
+ [HttpPost]
+ public IActionResult CreateSoWork(SoInfo model)
+ {
+ try
+ {
+ /*var claimsIdentity = this.User.Identity as ClaimsIdentity;
+ if (claimsIdentity == null)
+ {
+ throw new Exception("鏈幏鍙栧埌鐢ㄦ埛淇℃伅");
+ }
+ string UserId = claimsIdentity.FindFirst(ClaimTypes.Name)?.Value;
+ if (string.IsNullOrWhiteSpace(UserId))
+ {
+ throw new Exception("鏈幏鍙栧埌鐢ㄦ埛淇℃伅");
+ }*/
+
+ SoResInfo result = _noticeSvc.CreateSoWork(model);
+ return Ok(result);
+
+ }
+ catch (Exception e)
+ {
+ return Ok(new ErpModel { Success = -1, Message = e.Message });
+ }
+ }
+ #endregion
}
}
diff --git a/Wms/Wms/Controllers/UpApiController.cs b/Wms/Wms/Controllers/UpApiController.cs
index 632d00f..448e85f 100644
--- a/Wms/Wms/Controllers/UpApiController.cs
+++ b/Wms/Wms/Controllers/UpApiController.cs
@@ -403,266 +403,6 @@
return Ok(result);
}
}
-
- #region 浜屾ゼ涓氬姟
- /// <summary>
- /// RCS鍙《
- /// </summary>
- /// <param name="pallmsg"></param>
- /// <returns></returns>
- [HttpPost]
- public IActionResult GetPalletNo(Pallnetmsg pallmsg)
- {
- var logStr = $@".\log\AGV\AGV鐢宠鍙《" + DateTime.Now.ToString("yyyyMMdd") + ".txt";
- var result = new ErpModel { Success = -1, Message = "", };
- try
- {
- var jsonData = JsonConvert.SerializeObject(pallmsg);
- LogFile.SaveLogToFile($"AGV鐢宠鍙《锛�( {jsonData} ),", logStr);
-
- if (string.IsNullOrWhiteSpace(pallmsg.Location))
- {
- result.Message = "鍙枡浣嶇疆涓虹┖锛�";
- return Ok(result);
- }
- if (string.IsNullOrWhiteSpace(pallmsg.Type))
- {
- result.Message = "浠诲姟绫诲瀷涓虹┖锛�";
- return Ok(result);
- }
- _rcsserver.GetPalletNo(pallmsg ,_config.AgvHost + _config.GenAgvSchedulingTask);
- result.Success = 0;
- result.Message = "鍙《鎴愬姛锛�";
- return Ok(result);
- }
- catch (Exception e)
- {
- LogFile.SaveLogToFile($"AGV鐢宠鍙《寮傚父锛�( {e.Message} ),", logStr);
-
- result.Message = e.Message;
- return Ok(result);
- }
- }
- /// <summary>
- /// 灏嗗噣妗舵敼涓鸿剰妗跺苟鎷夊埌鑴忔《鍖�
- /// </summary>
- /// <param name="pallmsg"></param>
- /// <returns></returns>
- [HttpPost]
- public IActionResult ChangePalletStatus(Pallnetmsg pallmsg)
- {
- var result = new ErpModel { Success = -1, Message = "", };
- try
- {
- if (string.IsNullOrWhiteSpace(pallmsg.PalletNo))
- {
- result.Message = "妗剁紪鍙蜂笉鑳戒负绌猴紒";
- return Ok(result);
- }
- _rcsserver.ChangePalletStatus(pallmsg.PalletNo, _config.AgvHost + _config.GenAgvSchedulingTask);
- result.Success = 0;
- result.Message = "鎿嶄綔鎴愬姛锛�";
- return Ok(result);
- }
- catch (Exception e)
- {
- result.Message = e.Message;
- return Ok(result);
- }
- }
-
- /// <summary>
- /// MES涓嬪彂娓呮礂閿佸畾鑴忔《
- /// </summary>
- /// <param name="pallmsg"></param>
- /// <returns></returns>
- [HttpPost]
- public IActionResult CleanPallet(Pallnetmsg pallmsg)
- {
- var result = new ErpModel { Success = -1, Message = "", };
- try
- {
- if (string.IsNullOrWhiteSpace(pallmsg.Location))
- {
- result.Message = "鍙枡浣嶇疆涓虹┖锛�";
- return Ok(result);
- }
- if (string.IsNullOrWhiteSpace(pallmsg.PalletNo))
- {
- result.Message = "妗跺彿涓虹┖锛�";
- return Ok(result);
- }
- _rcsserver.CleanPallet(pallmsg, _config.AgvHost + _config.GenAgvSchedulingTask);
- result.Success = 0;
- result.Message = "鍙《鎴愬姛锛�";
- return Ok(result);
- }
- catch (Exception e)
- {
- result.Message = e.Message;
- return Ok(result);
- }
- }
-
- /// <summary>
- /// RCS鐢宠鍌ㄤ綅
- /// </summary>
- /// <param name="pallmsg"></param>
- /// <returns></returns>
- [HttpPost]
- public IActionResult ApplyLocatNo(Pallnetmsg pallmsg)
- {
- var logStr = $@".\log\AGV\AGV鐢宠鍌ㄤ綅" + DateTime.Now.ToString("yyyyMMdd") + ".txt";
-
- var result = new ErpModel { Success = -1, Message = "" };
- try
- {
- var jsonData = JsonConvert.SerializeObject(pallmsg);
- LogFile.SaveLogToFile($"AGV鐢宠鍌ㄤ綅锛�( {jsonData} ),", logStr);
-
- if (string.IsNullOrWhiteSpace(pallmsg.Location))
- {
- result.Message = "鐢宠浣嶇疆涓虹┖锛�";
- return Ok(result);
- }
- if (string.IsNullOrWhiteSpace(pallmsg.Type))
- {
- result.Message = "浠诲姟绫诲瀷涓虹┖锛�";
- return Ok(result);
- }
- if (string.IsNullOrWhiteSpace(pallmsg.PalletNo))
- {
- result.Message = "鐢宠鎵樼洏鍙蜂负绌猴紒";
- return Ok(result);
- }
- _rcsserver.ApplyLocatNo(pallmsg, _config.AgvHost + _config.GenAgvSchedulingTask);
- result.Success = 0;
- result.Message = "鐢宠鍌ㄤ綅鎴愬姛锛�";
- return Ok(result);
- }
- catch (Exception e)
- {
- LogFile.SaveLogToFile($"AGV鐢宠鍌ㄤ綅寮傚父锛�( {e.Message} ),", logStr);
-
- result.Message = e.Message;
- return Ok(result);
- }
- }
-
- /// <summary>
- /// 鍏ュ簱鍗曟嵁涓嬪彂
- /// </summary>
- /// <param name="model">鍏ュ簱鍗曚俊鎭�</param>
- /// <returns></returns>
- //[Authorize]
- [HttpPost]
- public IActionResult CreateAsnWork(AsnInfo model)
- {
- var result = new ErpModel { Success = -1, Message = "" };
- try
- {
- /*var claimsIdentity = this.User.Identity as ClaimsIdentity;
- if (claimsIdentity == null)
- {
- throw new Exception("鏈幏鍙栧埌鐢ㄦ埛淇℃伅");
- }
- string UserId = claimsIdentity.FindFirst(ClaimTypes.Name)?.Value;
- if (string.IsNullOrWhiteSpace(UserId))
- {
- throw new Exception("鏈幏鍙栧埌鐢ㄦ埛淇℃伅");
- }*/
-
- result = _noticeSvc.CreateAsnWork(model);
-
- return Ok(result);
- }
- catch (Exception e)
- {
- result.Message = e.Message;
- return Ok(result);
- }
- }
-
- /// <summary>
- /// Agv浠诲姟瀹屾垚鍙嶉
- /// </summary>
- /// <param name="model"></param>
- /// <returns></returns>
- [HttpPost]
- public IActionResult agvCallBack(AgvTaskDto model)
- {
- var result = new ErpModel { Success = -1, Message = "" };
- try
- {
- //璁板綍log
- var logStr = $@".\log\AGV\浠诲姟鎵ц閫氱煡" + DateTime.Now.ToString("yyyyMMdd") + ".txt";
- var jsonData = JsonConvert.SerializeObject(model);
- LogFile.SaveLogToFile($"浠诲姟鎵ц閫氱煡锛�( {jsonData} ),", logStr);
-
- if (string.IsNullOrEmpty(model.reqCode))
- {
- return Ok(new AgvResultModel { code = "-1", message = "璇锋眰澶辫触锛宺eqCode鍙傛暟寮傚父", reqCode = model.reqCode });
- }
- switch (model.method)
- {
- case "start"://浠诲姟寮�濮�
- return Ok(new AgvResultModel { code = "0", message = "鎴愬姛", reqCode = model.reqCode });
-
- case "outbin"://璧板嚭鍌ㄤ綅
- return Ok(new AgvResultModel { code = "0", message = "鎴愬姛", reqCode = model.reqCode });
-
- case "end"://浠诲姟缁撴潫
- result = _noticeSvc.RCSFinishTask(model.reqCode, "1");
- return Ok(result);
- case "cancel"://浠诲姟鍗曞彇娑�
- return Ok(new AgvResultModel { code = "0", message = "鎴愬姛", reqCode = model.reqCode });
-
- case "apply"://CTU鏂欑鍙栨斁鐢宠
- return Ok(new AgvResultModel { code = "0", message = "鎴愬姛", reqCode = model.reqCode });
-
- default:
- return Ok(new AgvResultModel { code = "-1", message = "璇锋眰澶辫触锛宮ethod浠诲姟绫诲瀷閿欒", reqCode = model.reqCode });
- }
- }
- catch (Exception ex)
- {
- return Ok(new AgvResultModel { code = "-1", message = ex.Message, reqCode = model.reqCode });
- }
- }
-
- /// <summary>
- /// 鍑哄簱鍗曟嵁涓嬪彂
- /// </summary>
- /// <param name="model">鍑哄簱鍗曚俊鎭�</param>
- /// <returns></returns>
- //[Authorize]
- [HttpPost]
- public IActionResult CreateSoWork(SoInfo model)
- {
- try
- {
- /*var claimsIdentity = this.User.Identity as ClaimsIdentity;
- if (claimsIdentity == null)
- {
- throw new Exception("鏈幏鍙栧埌鐢ㄦ埛淇℃伅");
- }
- string UserId = claimsIdentity.FindFirst(ClaimTypes.Name)?.Value;
- if (string.IsNullOrWhiteSpace(UserId))
- {
- throw new Exception("鏈幏鍙栧埌鐢ㄦ埛淇℃伅");
- }*/
-
- SoResInfo result = _noticeSvc.CreateSoWork(model);
- return Ok(result);
-
- }
- catch (Exception e)
- {
- return Ok(new ErpModel { Success = -1, Message = e.Message });
- }
- }
- #endregion
-
//绠辩爜淇℃伅 鎵嬫寔缁勬墭鐢� (璧嬬爜鎴栬拷婧笅鍙戝埌wms)
//璐ㄦ缁撴灉涓嬪彂鎺ュ彛
diff --git a/Wms/Wms/appsettings.json b/Wms/Wms/appsettings.json
index 3655da1..bd21742 100644
--- a/Wms/Wms/appsettings.json
+++ b/Wms/Wms/appsettings.json
@@ -14,7 +14,8 @@
//"ConnectionString": "Server=192.168.62.200;Database=WMS_JC23-2;User ID=sa;Password=sql2019;Integrated Security=False;"
//"ConnectionString": "Server=.;Database=WMS_JC09;User ID=sa;Password=sql2019;Integrated Security=False;"
//"ConnectionString": "Data Source=DESKTOP-0EJDG95\\MSSQLSERVER1;Initial Catalog=WMS_V01;Integrated Security=True;"
- "ConnectionString": "Server=.\\MSSQLSERVER2019;Database=WMS_JC23-2;User Id=sa;Password=admin2023@;" // SqlServer 搴撹繛鎺ュ瓧绗︿覆
+ //"ConnectionString": "Server=.\\MSSQLSERVER2019;Database=WMS_JC23-2;User Id=sa;Password=admin2023@;" // SqlServer 搴撹繛鎺ュ瓧绗︿覆
+ "ConnectionString": "Server=172.16.105.10;Database=WMS_JC23-2;User ID=sa;Password=sql2019;Integrated Security=False;"
},
"JWTConfig": {
"Issuer": "WYY", //Token锟斤拷锟斤拷锟斤拷
--
Gitblit v1.8.0