DuGuYang 3 years ago
parent
commit
c5eea388f2
2 changed files with 28 additions and 6 deletions
  1. 17 6
      AppStart/PublicChangePosFee.cs
  2. 11 0
      Areas/Admin/Controllers/HomeController.cs

+ 17 - 6
AppStart/PublicChangePosFee.cs

@@ -81,7 +81,7 @@ namespace MySystem
 
 
 
 
         #region 开店宝-设置押金
         #region 开店宝-设置押金
-        public string SetKDBDeposit(string SnIds, string DepositId)
+        public string SetKDBDeposit(string SnIds)
         {
         {
             string check = RedisDbconn.Instance.Get<string>("SetKDBPosDepositWait:" + SnIds);
             string check = RedisDbconn.Instance.Get<string>("SetKDBPosDepositWait:" + SnIds);
             if (!string.IsNullOrEmpty(check))
             if (!string.IsNullOrEmpty(check))
@@ -127,7 +127,7 @@ namespace MySystem
 
 
 
 
         #region 乐刷-设置押金
         #region 乐刷-设置押金
-        public string SetLSDeposit(string SnIds, string DepositId)
+        public string SetLSDeposit(string SnIds, string DepositId = "300")
         {
         {
             string check = RedisDbconn.Instance.Get<string>("SetLSPosDepositWait:" + SnIds);
             string check = RedisDbconn.Instance.Get<string>("SetLSPosDepositWait:" + SnIds);
             if (!string.IsNullOrEmpty(check))
             if (!string.IsNullOrEmpty(check))
@@ -203,7 +203,7 @@ namespace MySystem
 
 
 
 
         #region 立刷-设置押金
         #region 立刷-设置押金
-        public string SetLISDeposit(string SnIds, string DepositId)
+        public string SetLISDeposit(string SnIds, string DepositId = "249")
         {
         {
             string check = RedisDbconn.Instance.Get<string>("SetLISPosDepositWait:" + SnIds);
             string check = RedisDbconn.Instance.Get<string>("SetLISPosDepositWait:" + SnIds);
             if (!string.IsNullOrEmpty(check))
             if (!string.IsNullOrEmpty(check))
@@ -304,7 +304,7 @@ namespace MySystem
 
 
 
 
         #region 海科-设置押金
         #region 海科-设置押金
-        public string SetHKDeposit(string SnIds, string DepositId)
+        public string SetHKDeposit(string SnIds, string DepositId = "300")
         {
         {
             string check = RedisDbconn.Instance.Get<string>("SetHKPosDepositWait:" + SnIds);
             string check = RedisDbconn.Instance.Get<string>("SetHKPosDepositWait:" + SnIds);
             if (!string.IsNullOrEmpty(check))
             if (!string.IsNullOrEmpty(check))
@@ -380,7 +380,7 @@ namespace MySystem
 
 
 
 
         #region 联动-设置押金
         #region 联动-设置押金
-        public string SetLDDeposit(string SnIds, string DepositId)
+        public string SetLDDeposit(string SnIds, string DepositId = "299")
         {
         {
             string check = RedisDbconn.Instance.Get<string>("SetLDPosDepositWait:" + SnIds);
             string check = RedisDbconn.Instance.Get<string>("SetLDPosDepositWait:" + SnIds);
             if (!string.IsNullOrEmpty(check))
             if (!string.IsNullOrEmpty(check))
@@ -427,7 +427,7 @@ namespace MySystem
 
 
 
 
         #region 盒易付-设置押金
         #region 盒易付-设置押金
-        public string SetHYFDeposit(string SnIds, string DepositId)
+        public string SetHYFDeposit(string SnIds, string DepositId = "299")
         {
         {
             string check = RedisDbconn.Instance.Get<string>("SetHYFPosDepositWait:" + SnIds);
             string check = RedisDbconn.Instance.Get<string>("SetHYFPosDepositWait:" + SnIds);
             if (!string.IsNullOrEmpty(check))
             if (!string.IsNullOrEmpty(check))
@@ -475,5 +475,16 @@ namespace MySystem
         }
         }
         #endregion
         #endregion
 
 
+
+        #region 
+        public string SeeInfo(string Brand)
+        {
+            var info = "";
+            //KDB
+            info = PublicImportDataService.Instance.GetPolicyList();
+            return info;
+        }
+        #endregion
+
     }
     }
 }
 }

+ 11 - 0
Areas/Admin/Controllers/HomeController.cs

@@ -343,5 +343,16 @@ namespace MySystem.Areas.Admin.Controllers
             OtherMySqlConn.connstr = "";
             OtherMySqlConn.connstr = "";
             return "ok";
             return "ok";
         }
         }
+
+        #region 
+        [HttpPost]
+        public string SeeInfo(string Brand)
+        {
+            var info = "";
+            //KDB
+            info = PublicImportDataService.Instance.GetPolicyList();
+            return info;
+        }
+        #endregion
     }
     }
 }
 }