소스 검색

广电卡激活数据,不加0.01押金

lcl 1 년 전
부모
커밋
b2dc76596f
3개의 변경된 파일5개의 추가작업 그리고 6개의 파일을 삭제
  1. 0 1
      AppStart/Helper/SycnSpServer/SycnSpBindService.cs
  2. 1 1
      Controllers/HomeController.cs
  3. 4 4
      Startup.cs

+ 0 - 1
AppStart/Helper/SycnSpServer/SycnSpBindService.cs

@@ -234,7 +234,6 @@ namespace MySystem
                                 pos.BindMerchantId = add.Id;
                                 pos.LastMerchantId = add.Id;
                                 pos.IsFirst = 1;
-                                pos.SeoKeyword = "0.01";
                                 db.SaveChanges();
 
                                 BindRecord edit = spdb.BindRecord.FirstOrDefault(m => m.Id == Bind.Id);

+ 1 - 1
Controllers/HomeController.cs

@@ -187,7 +187,7 @@ namespace MySystem.Controllers
             string result = "";
 
             // result += SetDepositPostService.Instance.ModifyFee("00005002681889119293", 0.0063M, "3") + "\n\n";
-            result += SetDepositPostService.Instance.SetFeeForSft("39103661", "0.6300", "3") + "\n\n";
+            // result += SetDepositPostService.Instance.SetFeeForSft("39103661", "0.6300", "3") + "\n\n";
             // result += SetDepositPostService.Instance.LDFeeRate("110000004032435", "0.0063", 10, 3) + "\n\n";
             // result += SetDepositPostService.Instance.LDFeeRate("110000004008674", "0.0063", 11, 3) + "\n\n";
 

+ 4 - 4
Startup.cs

@@ -272,10 +272,10 @@ namespace MySystem
         {
             string conn = Configuration["Setting:SqlConnStr"];
             string dbName = "KxsMainServer";
-            // if(Library.ConfigurationManager.EnvironmentFlag == 2)
-            // {
-            //     dbName = "KxsProfitServer";
-            // }
+            if(Library.ConfigurationManager.EnvironmentFlag == 2)
+            {
+                dbName = "KxsProfitServer";
+            }
             Dictionary<string, Dictionary<string, string>> tables = new Dictionary<string, Dictionary<string, string>>();
             System.Data.DataTable tablecollection = Library.CustomerSqlConn.dtable("select DISTINCT TABLE_NAME from information_schema.columns where table_schema = '" + dbName + "'", conn);
             foreach (System.Data.DataRow subtable in tablecollection.Rows)