Browse Source

整理同步tedis数据到mysql,已正常运行

lichunlei 3 years ago
parent
commit
5a24e50780
36 changed files with 830 additions and 104 deletions
  1. 56 32
      AppStart/BothdisDbconn.cs
  2. 54 0
      AppStart/Helper/CheckWeChatSignService.cs
  3. 1 1
      AppStart/Helper/Profit/OpenService.cs
  4. 1 1
      AppStart/Helper/Profit/ProfitHelper.cs
  5. 51 42
      AppStart/Helper/ReceiveTaskService.cs
  6. 68 0
      AppStart/Helper/SycnMysql/ConsumerOpenIdsHelper.cs
  7. 68 0
      AppStart/Helper/SycnMysql/ConsumersHelper.cs
  8. 68 0
      AppStart/Helper/SycnMysql/MerchantParamSetHelper.cs
  9. 12 0
      AppStart/Tables/MerchantSign.cs
  10. 319 0
      AppStart/WeChatFunction.cs
  11. 1 1
      Startup.cs
  12. 1 1
      Views/Home/Index.cshtml
  13. BIN
      bin/release/netcoreapp3.0/MySystem.Views.dll
  14. BIN
      bin/release/netcoreapp3.0/MySystem.dll
  15. BIN
      bin/release/netcoreapp3.0/MySystem.pdb
  16. BIN
      bin/release/netcoreapp3.0/MySystemLib.dll
  17. BIN
      bin/release/netcoreapp3.0/MySystemLib.pdb
  18. 1 1
      bin/release/netcoreapp3.0/Properties/launchSettings.json
  19. 9 9
      bin/release/netcoreapp3.0/appsettings.json
  20. BIN
      bin/release/netcoreapp3.0/publish/MySystem.Views.dll
  21. BIN
      bin/release/netcoreapp3.0/publish/MySystem.dll
  22. BIN
      bin/release/netcoreapp3.0/publish/MySystem.pdb
  23. BIN
      bin/release/netcoreapp3.0/publish/MySystemLib.dll
  24. BIN
      bin/release/netcoreapp3.0/publish/MySystemLib.pdb
  25. 9 9
      bin/release/netcoreapp3.0/publish/appsettings.json
  26. 1 1
      bin/release/netcoreapp3.0/publish/wwwroot/layuiadmin/tpl/system/about.html
  27. 1 1
      obj/Debug/netcoreapp3.0/Razor/Views/Home/Index.cshtml.g.cs
  28. BIN
      obj/release/netcoreapp3.0/MySystem.Views.dll
  29. BIN
      obj/release/netcoreapp3.0/MySystem.assets.cache
  30. 104 0
      obj/release/netcoreapp3.0/MySystem.csproj.FileListAbsolute.txt
  31. BIN
      obj/release/netcoreapp3.0/MySystem.csprojAssemblyReference.cache
  32. BIN
      obj/release/netcoreapp3.0/MySystem.dll
  33. BIN
      obj/release/netcoreapp3.0/MySystem.pdb
  34. 1 1
      obj/release/netcoreapp3.0/Razor/Views/Home/Error.cshtml.g.cs
  35. 3 3
      obj/release/netcoreapp3.0/Razor/Views/Home/Index.cshtml.g.cs
  36. 1 1
      wwwroot/layuiadmin/tpl/system/about.html

+ 56 - 32
AppStart/BothdisDbconn.cs

@@ -13,7 +13,10 @@ namespace MySystem
         {
             try
             {
-                TendisDbconn.Instance.Set(key, value);
+                if (TendisDbconn.Instance.Set(key, value))
+                {
+                    RedisDbconn.Instance.Clear(key);
+                }
             }
             catch (Exception ex)
             {
@@ -25,7 +28,6 @@ namespace MySystem
                 };
                 RedisDbconn.Instance.AddList("Tendis:Set", err);  // TODO:重新执行,最多重试3次
             }
-            RedisDbconn.Instance.Set(key, value);
         }
         #endregion
 
@@ -34,7 +36,10 @@ namespace MySystem
         {
             try
             {
-                TendisDbconn.Instance.AddInt(key, value);
+                if (TendisDbconn.Instance.AddInt(key, value) > 0)
+                {
+                    RedisDbconn.Instance.Clear(key);
+                }
             }
             catch (Exception ex)
             {
@@ -46,7 +51,6 @@ namespace MySystem
                 };
                 RedisDbconn.Instance.AddList("Tendis:AddInt", err);  // TODO:重新执行,最多重试3次
             }
-            RedisDbconn.Instance.AddInt(key, value);
         }
         #endregion
 
@@ -55,7 +59,10 @@ namespace MySystem
         {
             try
             {
-                TendisDbconn.Instance.AddNumber(key, value);
+                if (TendisDbconn.Instance.AddNumber(key, value) > 0)
+                {
+                    RedisDbconn.Instance.Clear(key);
+                }
             }
             catch (Exception ex)
             {
@@ -67,7 +74,6 @@ namespace MySystem
                 };
                 RedisDbconn.Instance.AddList("Tendis:AddNumber", err);  // TODO:重新执行,最多重试3次
             }
-            RedisDbconn.Instance.AddNumber(key, value);
         }
         #endregion
 
@@ -93,7 +99,10 @@ namespace MySystem
         {
             try
             {
-                TendisDbconn.Instance.HSet(key, field, value);
+                if (TendisDbconn.Instance.HSet(key, field, value))
+                {
+                    RedisDbconn.Instance.HSet(key, field, value);
+                }
             }
             catch (Exception ex)
             {
@@ -105,7 +114,6 @@ namespace MySystem
                 };
                 RedisDbconn.Instance.AddList("Tendis:HSet", err);  // TODO:重新执行,最多重试3次
             }
-            RedisDbconn.Instance.HSet(key, field, value);
         }
         #endregion
 
@@ -114,7 +122,10 @@ namespace MySystem
         {
             try
             {
-                TendisDbconn.Instance.HAddInt(key, field, value);
+                if (TendisDbconn.Instance.HAddInt(key, field, value) > 0)
+                {                     
+                    RedisDbconn.Instance.HAddInt(key, field, value);
+                }
             }
             catch (Exception ex)
             {
@@ -126,7 +137,6 @@ namespace MySystem
                 };
                 RedisDbconn.Instance.AddList("Tendis:HAddInt", err);  // TODO:重新执行,最多重试3次
             }
-            RedisDbconn.Instance.HAddInt(key, field, value);
         }
         #endregion
 
@@ -135,7 +145,10 @@ namespace MySystem
         {
             try
             {
-                TendisDbconn.Instance.HAddNumber(key, field, value);
+                if (TendisDbconn.Instance.HAddNumber(key, field, value) > 0)
+                { 
+                    RedisDbconn.Instance.HAddNumber(key, field, value);
+                }
             }
             catch (Exception ex)
             {
@@ -147,7 +160,6 @@ namespace MySystem
                 };
                 RedisDbconn.Instance.AddList("Tendis:HAddNumber", err);  // TODO:重新执行,最多重试3次
             }
-            RedisDbconn.Instance.HAddNumber(key, field, value);
         }
         #endregion
 
@@ -193,7 +205,10 @@ namespace MySystem
         {
             try
             {
-                TendisDbconn.Instance.SAdd(key, value);
+                if (TendisDbconn.Instance.SAdd(key, value) > 0)
+                { 
+                    RedisDbconn.Instance.SAdd(key, value);
+                }
             }
             catch (Exception ex)
             {
@@ -205,13 +220,15 @@ namespace MySystem
                 };
                 RedisDbconn.Instance.AddList("Tendis:SAdd", err);  // TODO:重新执行,最多重试3次
             }
-            RedisDbconn.Instance.SAdd(key, value);
         }
         public void SAdd(string key, object[] value)
         {
             try
             {
-                TendisDbconn.Instance.SAdd(key, value);
+                if (TendisDbconn.Instance.SAdd(key, value) > 0)
+                { 
+                    RedisDbconn.Instance.SAdd(key, value);
+                }
             }
             catch (Exception ex)
             {
@@ -223,7 +240,6 @@ namespace MySystem
                 };
                 RedisDbconn.Instance.AddList("Tendis:SAdd", err);  // TODO:重新执行,最多重试3次
             }
-            RedisDbconn.Instance.SAdd(key, value);
         }
         #endregion
 
@@ -255,7 +271,12 @@ namespace MySystem
         {
             try
             {
-                TendisDbconn.Instance.AddList(key, value);
+                if (TendisDbconn.Instance.AddList(key, value) > 0)
+                { 
+                    RedisDbconn.Instance.AddList(key, value);
+                    int Expired = 60 * 60 * 24 * 180;
+                    RedisDbconn.Instance.SetExpire(key, Expired);
+                }
             }
             catch (Exception ex)
             {
@@ -267,15 +288,17 @@ namespace MySystem
                 };
                 RedisDbconn.Instance.AddList("Tendis:AddList", err);  // TODO:重新执行,最多重试3次
             }
-            RedisDbconn.Instance.AddList(key, value);
-            int Expired = 60 * 60 * 24 * 180;
-            RedisDbconn.Instance.SetExpire(key, Expired);
         }
         public void AddList(string key, object[] value)
         {
             try
             {
-                TendisDbconn.Instance.AddList(key, value);
+                if (TendisDbconn.Instance.AddList(key, value) > 0)
+                { 
+                    RedisDbconn.Instance.AddList(key, value);
+                    int Expired = 60 * 60 * 24 * 180;
+                    RedisDbconn.Instance.SetExpire(key, Expired);
+                }
             }
             catch (Exception ex)
             {
@@ -287,9 +310,6 @@ namespace MySystem
                 };
                 RedisDbconn.Instance.AddList("Tendis:AddList", err);  // TODO:重新执行,最多重试3次
             }
-            RedisDbconn.Instance.AddList(key, value);
-            int Expired = 60 * 60 * 24 * 180;
-            RedisDbconn.Instance.SetExpire(key, Expired);
         }
         #endregion
 
@@ -310,7 +330,12 @@ namespace MySystem
         {
             try
             {
-                TendisDbconn.Instance.AddSort(key, value, score);
+                if (TendisDbconn.Instance.AddSort(key, value, score) > 0)
+                { 
+                    RedisDbconn.Instance.AddSort(key, value, score);
+                    int Expired = 60 * 60 * 24 * 180;
+                    RedisDbconn.Instance.SetExpire(key, Expired);
+                }
             }
             catch (Exception ex)
             {
@@ -322,9 +347,6 @@ namespace MySystem
                 };
                 RedisDbconn.Instance.AddList("Tendis:AddSort", err);  // TODO:重新执行,最多重试3次
             }
-            RedisDbconn.Instance.AddSort(key, value, score);
-            int Expired = 60 * 60 * 24 * 180;
-            RedisDbconn.Instance.SetExpire(key, Expired);
         }
         #endregion
 
@@ -353,7 +375,10 @@ namespace MySystem
         {
             try
             {
-                TendisDbconn.Instance.AddSort(key, start, end);
+                if (TendisDbconn.Instance.Remove(key, start, end))
+                {                     
+                    RedisDbconn.Instance.Remove(key, start, end);
+                }
             }
             catch (Exception ex)
             {
@@ -366,12 +391,11 @@ namespace MySystem
                 };
                 RedisDbconn.Instance.AddList("Tendis:Remove", err);  // TODO:重新执行,最多重试3次
             }
-            RedisDbconn.Instance.Remove(key, start, end);
         }
 
         public void RemoveTop(string key, long count)
         {
-            Remove(key, count, RedisDbconn.Instance.Count(key) - 1); ;
+            Remove(key, count, RedisDbconn.Instance.Count(key) - 1);
         }
 
         public void Clear(string pattern)
@@ -379,6 +403,7 @@ namespace MySystem
             try
             {
                 TendisDbconn.Instance.Clear(pattern);
+                RedisDbconn.Instance.Clear(pattern);
             }
             catch (Exception ex)
             {
@@ -389,7 +414,6 @@ namespace MySystem
                 };
                 RedisDbconn.Instance.AddList("Tendis:Clear", err);  // TODO:重新执行,最多重试3次
             }
-            RedisDbconn.Instance.Clear(pattern);
         }
     }
 }

+ 54 - 0
AppStart/Helper/CheckWeChatSignService.cs

@@ -0,0 +1,54 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using MySystem.Models;
+using Library;
+using LitJson;
+
+namespace MySystem
+{
+    public class CheckWeChatSignService
+    {
+        public readonly static CheckWeChatSignService Instance = new CheckWeChatSignService();
+        private CheckWeChatSignService()
+        { }
+
+        public void Start(JobMqMsg jobInfo)
+        {
+            try
+            {
+                WebCMSEntities db = new WebCMSEntities();
+                List<MerchantSign> deletes = new List<MerchantSign>();
+                List<MerchantSign> signs = TendisDbconn.Instance.GetList<MerchantSign>("WeChatSignList", 1, 10000000);
+                foreach (MerchantSign sign in signs)
+                {
+                    Dictionary<string, object> dic = new WeChatFunction().QueryMerchant(sign.BusinessCode);
+                    if (dic["applyment_state"].ToString() == "APPLYMENT_STATE_TO_BE_CONFIRMED")
+                    {
+                        string sign_url = dic["sign_url"].ToString();
+                        MerchantAddInfo merchantadd = db.MerchantAddInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId);
+                        if (merchantadd != null)
+                        {
+                            merchantadd.SeoKeyword = sign_url;
+                            db.SaveChanges();
+                            deletes.Add(sign);
+                        }
+                    }
+                }
+                if (deletes.Count > 0)
+                {
+                    foreach (MerchantSign delete in deletes)
+                    {
+                        signs.Remove(delete);
+                    }
+                    TendisDbconn.Instance.Clear("WeChatSignList");
+                    TendisDbconn.Instance.AddList("WeChatSignList", deletes.ToArray());
+                }
+            }
+            catch (Exception ex)
+            {
+                TendisDbconn.Instance.AddList("public:merchant:signerr", DateTime.Now.ToString() + ":" + ex.ToString());
+            }
+        }
+    }
+}

+ 1 - 1
AppStart/Helper/Profit/OpenService.cs

@@ -53,7 +53,7 @@ namespace MySystem
                 {
                     List<OpenReward> list = db.OpenReward.Where(m => m.TradeMonth == TradeMonth && m.CheckStatus == 0).ToList();
                     foreach (OpenReward sub in list)
-                    {                     
+                    {
                         OpenReward edit = db.OpenReward.FirstOrDefault(m => m.Id == sub.Id);
                         if (edit != null)
                         {

+ 1 - 1
AppStart/Helper/Profit/ProfitHelper.cs

@@ -538,7 +538,7 @@ namespace MySystem
                         ConsumerOrders order = db.ConsumerOrders.FirstOrDefault(m => m.Id == OrderId && m.Status == 1);
                         if (order != null)
                         {
-
+                            
                         }
                         db.Dispose();
                     }

+ 51 - 42
AppStart/Helper/ReceiveTaskService.cs

@@ -24,50 +24,59 @@ namespace MySystem
                     string Table = OrderString.Split(':')[1];
                     switch (Table)
                     {
-                        case "MachineApply":
-                            Msg = MachineApplyHelper.Instance.Start();
+                        // case "MachineApply":
+                        //     Msg = MachineApplyHelper.Instance.Start();
+                        //     break;
+                        // case "OrderProduct":
+                        //     Msg = OrderProductHelper.Instance.Start();
+                        //     break;
+                        // case "Orders":
+                        //     Msg = OrdersHelper.Instance.Start();
+                        //     break;
+                        // case "Products":
+                        //     Msg = ProductsHelper.Instance.Start();
+                        //     break;
+                        // case "StoreStockChange":
+                        //     Msg = StoreStockChangeHelper.Instance.Start();
+                        //     break;
+                        // case "TeamApply":
+                        //     Msg = TeamApplyHelper.Instance.Start();
+                        //     break;
+                        // case "TeamOfferApply":
+                        //     Msg = TeamOfferApplyHelper.Instance.Start();
+                        //     break;
+                        // case "UserAddress":
+                        //     Msg = UserAddressHelper.Instance.Start();
+                        //     break;
+                        // case "UserCashRecord":
+                        //     Msg = UserCashRecordHelper.Instance.Start();
+                        //     break;
+                        // case "UserLoginRecord":
+                        //     Msg = UserLoginRecordHelper.Instance.Start();
+                        //     break;
+                        // case "Users":
+                        //     Msg = UsersHelper.Instance.Start();
+                        //     break;
+                        // case "UserStoreChange":
+                        //     Msg = UserStoreChangeHelper.Instance.Start();
+                        //     break;
+                        // case "PosMachines":
+                        //     Msg = PosMachinesHelper.Instance.Start();
+                        //     break;
+                        // case "UserBack":
+                        //     Msg = UserBackHelper.Instance.Start();
+                        //     break;
+                        // case "ConsumerOrders":
+                        //     Msg = ConsumerOrdersHelper.Instance.Start();
+                        //     break;
+                        case "Consumers":
+                            Msg = ConsumersHelper.Instance.Start();
                             break;
-                        case "OrderProduct":
-                            Msg = OrderProductHelper.Instance.Start();
+                        case "ConsumerOpenIds":
+                            Msg = ConsumerOpenIdsHelper.Instance.Start();
                             break;
-                        case "Orders":
-                            Msg = OrdersHelper.Instance.Start();
-                            break;
-                        case "Products":
-                            Msg = ProductsHelper.Instance.Start();
-                            break;
-                        case "StoreStockChange":
-                            Msg = StoreStockChangeHelper.Instance.Start();
-                            break;
-                        case "TeamApply":
-                            Msg = TeamApplyHelper.Instance.Start();
-                            break;
-                        case "TeamOfferApply":
-                            Msg = TeamOfferApplyHelper.Instance.Start();
-                            break;
-                        case "UserAddress":
-                            Msg = UserAddressHelper.Instance.Start();
-                            break;
-                        case "UserCashRecord":
-                            Msg = UserCashRecordHelper.Instance.Start();
-                            break;
-                        case "UserLoginRecord":
-                            Msg = UserLoginRecordHelper.Instance.Start();
-                            break;
-                        case "Users":
-                            Msg = UsersHelper.Instance.Start();
-                            break;
-                        case "UserStoreChange":
-                            Msg = UserStoreChangeHelper.Instance.Start();
-                            break;
-                        case "PosMachines":
-                            Msg = PosMachinesHelper.Instance.Start();
-                            break;
-                        case "UserBack":
-                            Msg = UserBackHelper.Instance.Start();
-                            break;
-                        case "ConsumerOrders":
-                            Msg = ConsumerOrdersHelper.Instance.Start();
+                        case "MerchantParamSet":
+                            Msg = MerchantParamSetHelper.Instance.Start();
                             break;
                     }
                 }

+ 68 - 0
AppStart/Helper/SycnMysql/ConsumerOpenIdsHelper.cs

@@ -0,0 +1,68 @@
+using MySystem.Models;
+using System;
+using System.Linq;
+
+namespace MySystem
+{
+    public class ConsumerOpenIdsHelper
+    {
+        public readonly static ConsumerOpenIdsHelper Instance = new ConsumerOpenIdsHelper();
+        private ConsumerOpenIdsHelper()
+        { }
+
+        public string Start()
+        {
+            bool op = true;
+            WebCMSEntities db = new WebCMSEntities();
+            string result = "";
+            int total = 0;
+            while (op)
+            {
+                ConsumerOpenIds PopData = new ConsumerOpenIds();
+                try
+                {
+                    //获取apserver待同步的数据,执行入库
+                    PopData = TendisDbconn.Instance.RPop<ConsumerOpenIds>("Pop:ConsumerOpenIds");
+                    if (PopData != null)
+                    {
+                        ConsumerOpenIds checkExist = db.ConsumerOpenIds.FirstOrDefault(m => m.OpenId == PopData.OpenId);
+                        if (checkExist != null)
+                        {
+                            checkExist = PopData;
+                        }
+                        else
+                        {
+                            db.ConsumerOpenIds.Add(PopData);
+                        }
+                        total += 1;
+                        if (total >= 20)
+                        {
+                            total = 0;
+                            db.SaveChanges();
+                        }
+                        if (string.IsNullOrEmpty(result)) result = "success";
+                    }
+                    else
+                    {
+                        if (total > 0)
+                        {
+                            db.SaveChanges();
+                        }
+                        op = false;
+                    }
+                }
+                catch (Exception ex)
+                {
+                    ErrorMsg msg = new ErrorMsg();
+                    msg.Obj = PopData;
+                    msg.Time = DateTime.Now;
+                    msg.ErrorContent = ex.ToString();
+                    TendisDbconn.Instance.AddList("Pop:ConsumerOpenIds:Error", msg);
+                    result = "有异常,请查看Pop:ConsumerOpenIds:Error队列";
+                }
+            }
+            db.Dispose();
+            return result;
+        }
+    }
+}

+ 68 - 0
AppStart/Helper/SycnMysql/ConsumersHelper.cs

@@ -0,0 +1,68 @@
+using MySystem.Models;
+using System;
+using System.Linq;
+
+namespace MySystem
+{
+    public class ConsumersHelper
+    {
+        public readonly static ConsumersHelper Instance = new ConsumersHelper();
+        private ConsumersHelper()
+        { }
+
+        public string Start()
+        {
+            bool op = true;
+            WebCMSEntities db = new WebCMSEntities();
+            string result = "";
+            int total = 0;
+            while (op)
+            {
+                Consumers PopData = new Consumers();
+                try
+                {
+                    //获取apserver待同步的数据,执行入库
+                    PopData = TendisDbconn.Instance.RPop<Consumers>("Pop:Consumers");
+                    if (PopData != null)
+                    {
+                        Consumers checkExist = db.Consumers.FirstOrDefault(m => m.Id == PopData.Id);
+                        if (checkExist != null)
+                        {
+                            checkExist = PopData;
+                        }
+                        else
+                        {
+                            db.Consumers.Add(PopData);
+                        }
+                        total += 1;
+                        if (total >= 20)
+                        {
+                            total = 0;
+                            db.SaveChanges();
+                        }
+                        if (string.IsNullOrEmpty(result)) result = "success";
+                    }
+                    else
+                    {
+                        if (total > 0)
+                        {
+                            db.SaveChanges();
+                        }
+                        op = false;
+                    }
+                }
+                catch (Exception ex)
+                {
+                    ErrorMsg msg = new ErrorMsg();
+                    msg.Obj = PopData;
+                    msg.Time = DateTime.Now;
+                    msg.ErrorContent = ex.ToString();
+                    TendisDbconn.Instance.AddList("Pop:Consumers:Error", msg);
+                    result = "有异常,请查看Pop:Consumers:Error队列";
+                }
+            }
+            db.Dispose();
+            return result;
+        }
+    }
+}

+ 68 - 0
AppStart/Helper/SycnMysql/MerchantParamSetHelper.cs

@@ -0,0 +1,68 @@
+using MySystem.Models;
+using System;
+using System.Linq;
+
+namespace MySystem
+{
+    public class MerchantParamSetHelper
+    {
+        public readonly static MerchantParamSetHelper Instance = new MerchantParamSetHelper();
+        private MerchantParamSetHelper()
+        { }
+
+        public string Start()
+        {
+            bool op = true;
+            WebCMSEntities db = new WebCMSEntities();
+            string result = "";
+            int total = 0;
+            while (op)
+            {
+                MerchantParamSet PopData = new MerchantParamSet();
+                try
+                {
+                    //获取apserver待同步的数据,执行入库
+                    PopData = TendisDbconn.Instance.RPop<MerchantParamSet>("Pop:MerchantParamSet");
+                    if (PopData != null)
+                    {
+                        MerchantParamSet checkExist = db.MerchantParamSet.FirstOrDefault(m => m.Id == PopData.Id);
+                        if (checkExist != null)
+                        {
+                            checkExist = PopData;
+                        }
+                        else
+                        {
+                            db.MerchantParamSet.Add(PopData);
+                        }
+                        total += 1;
+                        if (total >= 20)
+                        {
+                            total = 0;
+                            db.SaveChanges();
+                        }
+                        if (string.IsNullOrEmpty(result)) result = "success";
+                    }
+                    else
+                    {
+                        if (total > 0)
+                        {
+                            db.SaveChanges();
+                        }
+                        op = false;
+                    }
+                }
+                catch (Exception ex)
+                {
+                    ErrorMsg msg = new ErrorMsg();
+                    msg.Obj = PopData;
+                    msg.Time = DateTime.Now;
+                    msg.ErrorContent = ex.ToString();
+                    TendisDbconn.Instance.AddList("Pop:MerchantParamSet:Error", msg);
+                    result = "有异常,请查看Pop:MerchantParamSet:Error队列";
+                }
+            }
+            db.Dispose();
+            return result;
+        }
+    }
+}

+ 12 - 0
AppStart/Tables/MerchantSign.cs

@@ -0,0 +1,12 @@
+using System;
+using System.Collections.Generic;
+namespace MySystem
+{
+    public class MerchantSign
+    {
+        public string BusinessCode { get; set; }
+        public int MerchantAddInfoId { get; set; }
+        public string Status { get; set; }
+
+    }
+}

+ 319 - 0
AppStart/WeChatFunction.cs

@@ -0,0 +1,319 @@
+using System;
+using System.Collections.Generic;
+using Library;
+using System.Security.Cryptography.X509Certificates;
+using System.Security.Cryptography;
+using System.Text;
+using System.IO;
+using LitJson;
+using System.Net;
+
+namespace MySystem
+{
+    public class WeChatFunction
+    {
+        public WeChatFunction()
+        {
+        }
+
+        #region 服务商平台查询申请单状态API
+
+        public Dictionary<string, object> QueryMerchant(string BusinessCode)
+        {
+            Dictionary<string, object> return_result = new Dictionary<string, object>();
+            try
+            {
+                string merchantId = "1613112281";   //商户号
+                string serialNo = "61D99F7218B487788E35D6C4E3ED398E0979D3F6";  //证书编号
+                string result = postJson("https://api.mch.weixin.qq.com/v3/applyment4sub/applyment/business_code/" + BusinessCode, "", prikey, merchantId, serialNo, "GET");
+                //{\"applyment_id\":2000002247709762,\"applyment_state\":\"APPLYMENT_STATE_FINISHED\",\"applyment_state_msg\":\"商户入驻申请已完成\",\"audit_detail\":[],\"business_code\":\"0123456789\",\"sign_url\":\"https://mp.weixin.qq.com/cgi-bin/showqrcode?ticket=gQFv7zwAAAAAAAAAAS5odHRwOi8vd2VpeGluLnFxLmNvbS9xLzAyUXE1czkzb3JlUjIxZHpXbTF5Y2YAAgRjbe9hAwQAjScA\",\"sub_mchid\":\"1619775262\"}
+                JsonData jsonObj = JsonMapper.ToObject(result);
+                return_result.Add("applyment_id", jsonObj["applyment_id"].ToString()); //微信支付申请单号
+                return_result.Add("applyment_state", jsonObj["applyment_state"].ToString()); //申请单状态
+                return_result.Add("applyment_state_msg", jsonObj["applyment_state_msg"].ToString()); //申请状态描述
+                if (jsonObj["applyment_state"].ToString() == "APPLYMENT_STATE_REJECTED")
+                {
+                    List<Dictionary<string, string>> audit_detail = new List<Dictionary<string, string>>();
+                    JsonData auditObj = jsonObj["audit_detail"]; //驳回原因详情
+                    for (int i = 0; i < auditObj.Count; i++)
+                    {
+                        Dictionary<string, string> row = new Dictionary<string, string>();
+                        row.Add("field", auditObj[i]["field"].ToString()); //字段名
+                        row.Add("field_name", auditObj[i]["field_name"].ToString()); //字段名称
+                        row.Add("reject_reason", auditObj[i]["reject_reason"].ToString()); //驳回原因
+                        audit_detail.Add(row);
+                    }
+                    return_result.Add("audit_detail", audit_detail); //申请状态描述
+                }
+                if (result.Contains("\"sign_url\":"))
+                { 
+                    return_result.Add("sign_url", jsonObj["sign_url"].ToString()); //进件通过申请,待商家签约的地址
+                }
+            }
+            catch (Exception ex)
+            {
+                function.WriteLog(DateTime.Now.ToString() + "\r\n" + ex.ToString(), "服务商平台查询申请单状态API异常");
+            }
+            return return_result;
+        }
+        #endregion
+
+        #region 敏感信息加密
+
+        // string pubkey = "MIIBCgKCAQEAxK9K2ElQ0rUMwNFW4xMx7kmkpDlp7WGQ8VffXLpudJBIrRVFWJN7dlinCGu67ZATf+/GZvLSSzQPWejHEsI9vUp9ej0x5iZDHGc9/shNUjd03ORkKo/Ohj3Ju19RzX4mh+GoinKGiuKX8CdGPXPe7UObKWyETrDcxrit6VCJQjE604aNtVeAUE+41mOpCLGzTgAKt4psfHxsBRtqlveH4cH/51ip+cGkC/u36gfDMKaRluVfFO3ETxDkI94BwNtnthcA4WDKha+wjtB6HIJ5xxHV550+cfdkl4j8UKU6pB+C5JRNgvjAf6ljg/TF+cGF1d8C6IbYYodYKloqN2DzrwIDAQAB"; //公钥
+        string pubkey = "MIID3DCCAsSgAwIBAgIUYdmfchi0h3iONdbE4+05jgl50/YwDQYJKoZIhvcNAQELBQAwXjELMAkGA1UEBhMCQ04xEzARBgNVBAoTClRlbnBheS5jb20xHTAbBgNVBAsTFFRlbnBheS5jb20gQ0EgQ2VudGVyMRswGQYDVQQDExJUZW5wYXkuY29tIFJvb3QgQ0EwHhcNMjIwMTIzMDYwMjA4WhcNMjcwMTIyMDYwMjA4WjBuMRgwFgYDVQQDDA9UZW5wYXkuY29tIHNpZ24xEzARBgNVBAoMClRlbnBheS5jb20xHTAbBgNVBAsMFFRlbnBheS5jb20gQ0EgQ2VudGVyMQswCQYDVQQGDAJDTjERMA8GA1UEBwwIU2hlblpoZW4wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDSFtwof74G5sJuQya6OJKhfjMcVZ3PZk+uG0RWULyDwOZezvYjLp9jkkfTCWuWDkshRmrDhVj89eOPwy60QDYKaKQ1Mq48BqoQrOikSK5bxAMGHg1a/0UcPM3yL3T84nlZkFlySeXN8cqWkZnPIXeO/blYCyBxNizmUwIIJUlI1Fbhy4lQRsoLoRbeh+YUQ2AI9D2plzVDY5jkG9/FQWhyZr5K3rgjblb/pMZngmzSYCNBWfJP9EZfRuQvZokMEddytC3JoSPgvqA25RMAPvj1cnAiOypgm7BHhx+a1mpmz79ifWlDF9rglo6WDGAxQ4JDuPJTVOiQ9EsfS8OHjxmfAgMBAAGjgYEwfzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIE8DBlBgNVHR8EXjBcMFqgWKBWhlRodHRwOi8vZXZjYS5pdHJ1cy5jb20uY24vcHVibGljL2l0cnVzY3JsP0NBPTFCRDQyMjBFNTBEQkMwNEIwNkFEMzk3NTQ5ODQ2QzAxQzNFOEVCRDIwDQYJKoZIhvcNAQELBQADggEBABrLvDmhYbFtIbKZE+up87zfYcx/HvaxIrHNRju7e6Kn62fmxhNRFuOBjMwshBt247lN4w02peBDmAOTRTs8jwamRwqTv6WtO2bbrKT3QkyEDieNnO2kfEIsSAXGp0FUcmkgzZv7tOekGUx8H6yp/3mtpFy1UqE86s5GdQGDVmhOTG2naqidi1X10XnTNWrw3siuc5pSm02lfpwEMl2zyWvQrC/42s/DO8/VfnmIVGy1QIzIpTfUYC6mfTiGuARLIgUwv/wRxrCwSOBKLLbaxXPB2HOaUJ1BpAOyVjxx46Y7yEpfpzkHbm5gNnhICUjQwDT1V2tpslclqjwP0Ju97Mw=";
+        string prikey = "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDEr0rYSVDStQzA0VbjEzHuSaSkOWntYZDxV99cum50kEitFUVYk3t2WKcIa7rtkBN/78Zm8tJLNA9Z6McSwj29Sn16PTHmJkMcZz3+yE1SN3Tc5GQqj86GPcm7X1HNfiaH4aiKcoaK4pfwJ0Y9c97tQ5spbIROsNzGuK3pUIlCMTrTho21V4BQT7jWY6kIsbNOAAq3imx8fGwFG2qW94fhwf/nWKn5waQL+7fqB8MwppGW5V8U7cRPEOQj3gHA22e2FwDhYMqFr7CO0HocgnnHEdXnnT5x92SXiPxQpTqkH4LklE2C+MB/qWOD9MX5wYXV3wLohthih1gqWio3YPOvAgMBAAECggEAFSxFo1jpIXWqBMvETbeQRXWaCq+/jnVVVBXAjsvm/hdWK4PBrlJaFRhgCtEGE3LSFpCqTATRzJSzHlunqoZMfScasOELkRoHWXRnwRiw8ivUIb9YZRiMA/l80PXm6XcuEKyjJxxDDYptDsY7knv5wJLpjiEHcS0q5x2UYyxvSjewJMZE8RlGxqvyoSmV2galRssQdpYujG27FAzcK/3SWDY9MjPNnTk9+kMnXXh8VB3fy9Dxpo1plmSwCKf3gnBGuqKcgyzp/5rnjyrGy7Whh5RFcdB7ervFIgCuLVd+Ko2NG3klJx1HUXduQ5laSgSrHwD69LByTEOmkl27l1R5OQKBgQDoj46CbJsnyD7XaTlPaMHIbzkC5QLPBMYqdqk7CvuRVSgbUttDUu4hJGuu+H+8rflg4UE5a++y5ip67XzfGw3KOb98IoHYrRPvZLAfQtiXuedX4I/klBSXMyf6HaI7QPKiH7fW1olpb/NaSMlfKtQR6wgpdZSc2iuiLwvFXuQLQwKBgQDYghN8oRXChpaVsWA8Gg8TkUs2WqcSCI6KWtAWMCTPLWakTQrHdmzsMGu50Q99U4iCCdW7y3+a59scRd+o5HDvD4HAHiSuQxy/F/iWH9y2IymoJyHFAy3iMUIfVhzQpiJCKRxzLkBxRPPE1JDTb6QmPX7t2poFXh9x+wFAMbaxJQKBgG+JqofTHvcNi1Y1GU+EpqxC68z/mUFAwOpMzw2KTu19MicorhC0DZHHrf3VIS6VIi3c2zN3GRdsXKNok6NNjmeXGsempTAOkqkWWYIkxUy/1LzI7zpp6xY5assCu3Q/yh8Hp1xauLzg/I4oqqwCFoQhfWClDAnOeW7nsXWP9T+RAoGANFeeJm87N4AaP65WObGDG5Pwvv9DjNSMwV4bGIIjJAMx4V7O0FINGzzJjm7Ac+gSBH4kMfaMrwKGslsiK06vDtyM3clrzMVk2b4N1x102oO9um1beKnAGgMWnUTQSpEfjycpPZ9c7QVieZ96M+O1p5kOaqqCufF7YK7yKnbaWBECgYEAvTevavXvhR7JTfVbqpPpBK0YUS0c8ys1k699VQeJIbSo2qecCi/xdk9fSHPFd0jjL5+7+g37M8l9KcQex0rnMxYBmIZY9Ce7MfsYt2dOnmLMdpOeiL4REt0Zr9txXrF0jeWlGYUTHl6/vNqKYJug3dpZaak/cj6Pyjyp35v3Ruw="; //私钥
+        public string RSAEncrypt(string text)
+        {
+            byte[] publicKey = Convert.FromBase64String(pubkey);
+            // var rsa = RSA.Create();
+            // rsa.ImportRSAPublicKey(publicKey, out _);
+            // var buff = rsa.Encrypt(Encoding.UTF8.GetBytes(text), RSAEncryptionPadding.OaepSHA1);
+            // return Convert.ToBase64String(buff);
+            using (var x509 = new X509Certificate2(publicKey))
+            {
+                using (var rsa = x509.GetRSAPublicKey())
+                {
+                    var buff = rsa.Encrypt(Encoding.UTF8.GetBytes(text), RSAEncryptionPadding.OaepSHA1);
+                    return Convert.ToBase64String(buff);
+                }
+            }
+        }
+        public string postJson(string url, string postData, string privateKey, string merchantId, string serialNo, string method = "POST")
+        {
+            HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
+            request.Method = method;
+            request.ContentType = "application/json;charset=UTF-8";
+            request.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3100.0 Safari/537.36";
+            request.Accept = "application/json";
+
+            string Authorization = GetAuthorization(url, method, postData, privateKey, merchantId, "4DD075520570E89C215AD816F67083C3DC7053C8");
+            request.Headers.Add("Authorization", Authorization);
+            request.Headers.Add("Wechatpay-Serial", serialNo);
+            if (!string.IsNullOrEmpty(postData))
+            {
+                byte[] paramJsonBytes;
+                paramJsonBytes = System.Text.Encoding.UTF8.GetBytes(postData);
+                request.ContentLength = paramJsonBytes.Length;
+                Stream writer;
+                try
+                {
+                    writer = request.GetRequestStream();
+                }
+                catch (Exception)
+                {
+                    writer = null;
+                    Console.Write("连接服务器失败!");
+                }
+                writer.Write(paramJsonBytes, 0, paramJsonBytes.Length);
+                writer.Close();
+            }
+
+            HttpWebResponse response;
+            try
+            {
+                response = (HttpWebResponse)request.GetResponse();
+            }
+            catch (WebException ex)
+            {
+                response = ex.Response as HttpWebResponse;
+            }
+            Stream resStream = response.GetResponseStream();
+            StreamReader reader = new StreamReader(resStream);
+            string text = reader.ReadToEnd();
+            return text;
+            //{\"code\":\"PARAM_ERROR\",\"message\":\"请确认待处理的消息是否为加密后的密文\"}
+            //{\"applyment_id\":2000002247709762}
+        }
+
+        #endregion
+
+        #region 图片上传
+
+        public string GetMediaId(string imgPath)
+        {
+            if (string.IsNullOrEmpty(imgPath))
+            {
+                return "";
+            }
+            string key = "wechatpic:" + function.MD5_16(imgPath);
+            string media_id = BothdisDbconn.Instance.Get<string>(key);
+            if (!string.IsNullOrEmpty(media_id))
+            {
+                return media_id;
+            }
+            string filePath = function.getPath(imgPath);
+            var filename = Path.GetFileName(filePath);
+            FileStream fs = new FileStream(filePath, FileMode.Open, FileAccess.Read);
+            Byte[] imgBytesIn = new Byte[fs.Length];
+            fs.Read(imgBytesIn, 0, imgBytesIn.Length);
+            fs.Close();
+
+            byte[] hash = SHA256Managed.Create().ComputeHash(imgBytesIn);
+
+            StringBuilder builder = new StringBuilder();
+            for (int i = 0; i < hash.Length; i++)
+            {
+                builder.Append(hash[i].ToString("x2"));
+            }
+            var sha256 = builder.ToString();
+            string metaStr = "{\"filename\":\""+ filename + "\",\"sha256\":\"" + sha256 + "\"}";
+            media_id = UploadImgApi(metaStr, imgBytesIn, filename);
+            BothdisDbconn.Instance.Set(key, media_id);
+            return media_id;
+        }
+
+        public string UploadImgApi(string metaStr, Byte[] imgBytesIn,string filename)
+        {
+            string url = "https://api.mch.weixin.qq.com/v3/merchant/media/upload";
+            
+            string merchantId = "1613112281";   //商户号
+            string serialNo = "4DD075520570E89C215AD816F67083C3DC7053C8";  //证书编号
+            string privateKey = prikey;
+            #region 定义请求体中的内容 并转成二进制
+
+            string boundary = "lc199aecd61b4653ef";
+            string Enter = "\r\n";
+            string campaignIDStr1
+                = "--" + boundary
+                + Enter
+                + "Content-Disposition: form-data; name=\"meta\";"
+                + Enter
+                + "Content-Type:application/json;"
+                + Enter
+                + Enter
+                + metaStr
+                + Enter
+                + "--" + boundary
+                + Enter
+                + "Content-Disposition:form-data;name=\"file\";filename=\""+ filename + "\";"
+                + Enter
+                + "Content-Type:image/jpeg"
+                + Enter
+                + Enter;
+            byte[] byteData2
+                = imgBytesIn;
+            string campaignIDStr3 
+                = Enter
+                + "--" + boundary 
+                + Enter;
+            var byteData1 = System.Text.Encoding.UTF8.GetBytes(campaignIDStr1);
+
+            var byteData3 = System.Text.Encoding.UTF8.GetBytes(campaignIDStr3);
+            #endregion
+
+            string transactionsResponse = UploadImg_postJson(url, byteData1, byteData2, byteData3, metaStr, privateKey, merchantId, serialNo, boundary, "POST");
+            var result=JsonMapper.ToObject(transactionsResponse);
+            return result["media_id"].ToString();
+        }
+        public string UploadImg_postJson(string url, byte[] b1, byte[] b2, byte[] b3, string metaStr, string privateKey, string merchantId, string serialNo, string boundary, string method = "POST")
+        {
+            HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
+            request.Method = method;
+            //request.ContentType = "application/json;charset=UTF-8";
+            request.ContentType = "multipart/form-data;boundary=" + boundary;
+            request.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3100.0 Safari/537.36";
+            request.Accept = "application/json";
+            string Authorization = GetAuthorization(url, method, metaStr, privateKey, merchantId, serialNo);
+            request.Headers.Add("Authorization", Authorization);
+
+            Stream writer;
+            try
+            {
+                writer = request.GetRequestStream();
+            }
+            catch (Exception)
+            {
+                writer = null;
+            }
+            writer.Write(b1, 0, b1.Length);
+            writer.Write(b2, 0, b2.Length);
+            writer.Write(b3, 0, b3.Length);
+            writer.Close();
+
+            HttpWebResponse response;
+            try
+            {
+                response = (HttpWebResponse)request.GetResponse();
+            }
+            catch (WebException ex)
+            {
+                response = ex.Response as HttpWebResponse;
+            }
+            Stream resStream = response.GetResponseStream();
+            StreamReader reader = new StreamReader(resStream);
+            string text = reader.ReadToEnd();
+            return text;
+        }
+        protected string GetAuthorization(string url, string method, string jsonParame, string privateKey, string merchantId, string serialNo)
+        {
+            var uri = new Uri(url);
+            string urlPath = uri.PathAndQuery;
+            string nonce = Guid.NewGuid().ToString();
+            var timestamp = DateTimeOffset.Now.ToUnixTimeSeconds();
+            //数据签名     HTTP请求方法\n接口地址的url\n请求时间戳\n请求随机串\n请求报文主体\n
+            method = string.IsNullOrEmpty(method) ? "" : method;
+            string message = string.Format("{0}\n{1}\n{2}\n{3}\n{4}\n", method, urlPath, timestamp, nonce, jsonParame);
+            string signTxt = Sign(message, privateKey);
+
+            //Authorization和格式
+            string authorzationTxt = string.Format("WECHATPAY2-SHA256-RSA2048 mchid=\"{0}\",nonce_str=\"{1}\",timestamp=\"{2}\",serial_no=\"{3}\",signature=\"{4}\"",
+                merchantId,
+                nonce,
+                timestamp,
+                serialNo,
+                signTxt
+                );
+            return authorzationTxt;
+        }
+
+        protected string Sign(string message, string privateKey)
+        {
+            byte[] keyData = Convert.FromBase64String(privateKey);
+            byte[] data = System.Text.Encoding.UTF8.GetBytes(message);
+            var rsa = RSA.Create();
+            rsa.ImportPkcs8PrivateKey(keyData, out _);
+            return Convert.ToBase64String(rsa.SignData(data, HashAlgorithmName.SHA256, RSASignaturePadding.Pkcs1));
+
+            // using (CngKey cngKey = CngKey.Import(keyData, CngKeyBlobFormat.Pkcs8PrivateBlob))
+            // using (RSACng rsa = new RSACng(cngKey))
+            // {
+            //     return Convert.ToBase64String(rsa.SignData(data, HashAlgorithmName.SHA256, RSASignaturePadding.Pkcs1));
+            // }
+        }
+
+        #endregion
+
+        #region 获取文件sha256
+
+        public string GetSha256(FileStream stream)
+        { 
+            using (SHA256 mySHA256 = SHA256.Create())
+            {
+                byte[] hashValue = mySHA256.ComputeHash(stream);
+                return Encoding.UTF8.GetString(hashValue);
+            }
+        }
+
+        #endregion
+
+        #region 判断长期
+
+        public string CheckForever(DateTime? time)
+        {
+            if (time == null)
+            {
+                return "";
+            }
+            if (time.Value.Year >= 2050)
+            {
+                return "长期";
+            }
+            return time.Value.ToString("yyyy-MM-dd");
+        }
+
+        #endregion
+
+
+    }
+}

+ 1 - 1
Startup.cs

@@ -213,7 +213,7 @@ namespace MySystem
 
 
 
-            // RabbitMQClient.Instance.StartReceive("PublicMainServer");
+            RabbitMQClient.Instance.StartReceive("PublicMainServer");
             // RabbitMQClient.Instance.StartReceive("SycnTableData");
             // PayHelper.Instance.Start();
             // OrderHelper.Instance.Start();

+ 1 - 1
Views/Home/Index.cshtml

@@ -1 +1 @@
-<h2>爽客邦</h2>
+<h2>客小爽</h2>

BIN
bin/release/netcoreapp3.0/MySystem.Views.dll


BIN
bin/release/netcoreapp3.0/MySystem.dll


BIN
bin/release/netcoreapp3.0/MySystem.pdb


BIN
bin/release/netcoreapp3.0/MySystemLib.dll


BIN
bin/release/netcoreapp3.0/MySystemLib.pdb


+ 1 - 1
bin/release/netcoreapp3.0/Properties/launchSettings.json

@@ -21,7 +21,7 @@
       "environmentVariables": {
         "ASPNETCORE_ENVIRONMENT": "Development"
       },
-      "applicationUrl": "http://127.0.0.1:5040"
+      "applicationUrl": "http://127.0.0.1:5047"
     }
   }
 }

+ 9 - 9
bin/release/netcoreapp3.0/appsettings.json

@@ -14,11 +14,11 @@
     "ConnectionStrings": "",
     "WebServiceUrl": "http://auth.yunmuit.com/Api/ProjectCheck/DataBase",
     "DbSchemeUrl": "http://auth.yunmuit.com/Api/ProjectCheck/GetDbScheme",
-    "Host": "http://localhost:5040/",
-    "Database": "MainServer",
-    "SqlConnStr": "server=47.108.254.35;port=3306;user=MainServer;password=wiO96PZDGwuo3WMR;database=MainServer;charset=utf8;",
-    "RedisConnStr": "47.108.254.35:6379,password=klm@redis,DefaultDatabase=0,poolsize=500,preheat=50,asyncPipeline=true",
-    "TendisConnStr": "47.108.254.35:51002,password=HDlNs1ZpG5iR9D9I,DefaultDatabase=0,poolsize=500,preheat=50,asyncPipeline=true",
+    "Host": "http://localhost:5047/",
+    "Database": "KxsMainServer",
+    "SqlConnStr": "server=localhost;port=3306;user=KxsMainServer;password=Rw2imhXQQt5ODWIF;database=KxsMainServer;charset=utf8;",
+    "RedisConnStr": "localhost:6379,password=,DefaultDatabase=14,poolsize=500,preheat=50,asyncPipeline=true",
+    "TendisConnStr": "localhost:6379,password=,DefaultDatabase=15,poolsize=500,preheat=50,asyncPipeline=true",
     "IOSAppVersion": "1.0.0",
     "AndroidAppVersion": "1.0.0",
     "OSSKey": "iL9dWgBunZRwGbHQ",
@@ -27,10 +27,10 @@
     "OSSBucketName": "yunmuit",
     "AppSource": "/skin/app/default/",
     "JwtSecret": "JvDHuowbOnWiyxMIFc9gG5rw1LSSc0xx68L31oRfxS0",
-    "JwtIss": "MainServer",
+    "JwtIss": "KxsMainServer",
     "JwtAud": "api",
-    "MqUserName": "myrabbitmq",
-    "MqPassword": "myrabbitmq",
-    "MqHostName": "47.108.254.35:9001,47.108.254.35:9002,47.108.254.35:9003"
+    "MqUserName": "guest",
+    "MqPassword": "123456",
+    "MqHostName": "localhost:5672"
   }
 }

BIN
bin/release/netcoreapp3.0/publish/MySystem.Views.dll


BIN
bin/release/netcoreapp3.0/publish/MySystem.dll


BIN
bin/release/netcoreapp3.0/publish/MySystem.pdb


BIN
bin/release/netcoreapp3.0/publish/MySystemLib.dll


BIN
bin/release/netcoreapp3.0/publish/MySystemLib.pdb


+ 9 - 9
bin/release/netcoreapp3.0/publish/appsettings.json

@@ -14,11 +14,11 @@
     "ConnectionStrings": "",
     "WebServiceUrl": "http://auth.yunmuit.com/Api/ProjectCheck/DataBase",
     "DbSchemeUrl": "http://auth.yunmuit.com/Api/ProjectCheck/GetDbScheme",
-    "Host": "http://localhost:5040/",
-    "Database": "MainServer",
-    "SqlConnStr": "server=47.108.254.35;port=3306;user=MainServer;password=wiO96PZDGwuo3WMR;database=MainServer;charset=utf8;",
-    "RedisConnStr": "47.108.254.35:6379,password=klm@redis,DefaultDatabase=0,poolsize=500,preheat=50,asyncPipeline=true",
-    "TendisConnStr": "47.108.254.35:51002,password=HDlNs1ZpG5iR9D9I,DefaultDatabase=0,poolsize=500,preheat=50,asyncPipeline=true",
+    "Host": "http://localhost:5047/",
+    "Database": "KxsMainServer",
+    "SqlConnStr": "server=localhost;port=3306;user=KxsMainServer;password=Rw2imhXQQt5ODWIF;database=KxsMainServer;charset=utf8;",
+    "RedisConnStr": "localhost:6379,password=,DefaultDatabase=14,poolsize=500,preheat=50,asyncPipeline=true",
+    "TendisConnStr": "localhost:6379,password=,DefaultDatabase=15,poolsize=500,preheat=50,asyncPipeline=true",
     "IOSAppVersion": "1.0.0",
     "AndroidAppVersion": "1.0.0",
     "OSSKey": "iL9dWgBunZRwGbHQ",
@@ -27,10 +27,10 @@
     "OSSBucketName": "yunmuit",
     "AppSource": "/skin/app/default/",
     "JwtSecret": "JvDHuowbOnWiyxMIFc9gG5rw1LSSc0xx68L31oRfxS0",
-    "JwtIss": "MainServer",
+    "JwtIss": "KxsMainServer",
     "JwtAud": "api",
-    "MqUserName": "myrabbitmq",
-    "MqPassword": "myrabbitmq",
-    "MqHostName": "47.108.254.35:9001,47.108.254.35:9002,47.108.254.35:9003"
+    "MqUserName": "guest",
+    "MqPassword": "123456",
+    "MqHostName": "localhost:5672"
   }
 }

+ 1 - 1
bin/release/netcoreapp3.0/publish/wwwroot/layuiadmin/tpl/system/about.html

@@ -1,5 +1,5 @@
 
-<div class="layui-card-header">关于爽客邦</div>
+<div class="layui-card-header">关于客小爽</div>
 <div class="layui-card-body layui-text layadmin-about">
   
   <blockquote class="layui-elem-quote" style="border: none;">

+ 1 - 1
obj/Debug/netcoreapp3.0/Razor/Views/Home/Index.cshtml.g.cs

@@ -18,7 +18,7 @@ namespace AspNetCore
         #pragma warning disable 1998
         public async override global::System.Threading.Tasks.Task ExecuteAsync()
         {
-            WriteLiteral("<h2>爽客邦</h2>");
+            WriteLiteral("<h2>客小爽</h2>");
         }
         #pragma warning restore 1998
         [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]

BIN
obj/release/netcoreapp3.0/MySystem.Views.dll


BIN
obj/release/netcoreapp3.0/MySystem.assets.cache


+ 104 - 0
obj/release/netcoreapp3.0/MySystem.csproj.FileListAbsolute.txt

@@ -102,3 +102,107 @@
 /Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/FastAlliance/MainServer/obj/release/netcoreapp3.0/MySystem.csproj.CopyComplete
 /Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/FastAlliance/MainServer/obj/release/netcoreapp3.0/MySystem.dll
 /Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/FastAlliance/MainServer/obj/release/netcoreapp3.0/MySystem.pdb
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/appsettings.Development.json
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/appsettings.json
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Properties/launchSettings.json
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/MySystem
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/MySystem.deps.json
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/MySystem.runtimeconfig.json
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/MySystem.runtimeconfig.dev.json
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/MySystem.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/MySystem.pdb
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/MySystem.Views.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/MySystem.Views.pdb
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/BouncyCastle.Crypto.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/CSRedisCore.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Google.Protobuf.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/GraphQL.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/GraphQL-Parser.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Microsoft.AspNetCore.Authentication.JwtBearer.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Microsoft.Bcl.AsyncInterfaces.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Microsoft.Bcl.HashCode.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Microsoft.EntityFrameworkCore.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Microsoft.EntityFrameworkCore.Abstractions.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Microsoft.EntityFrameworkCore.Design.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Microsoft.EntityFrameworkCore.Relational.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Microsoft.Extensions.Caching.Abstractions.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Microsoft.Extensions.Caching.Memory.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Microsoft.Extensions.Configuration.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Microsoft.Extensions.Configuration.Abstractions.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Microsoft.Extensions.Configuration.Binder.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Microsoft.Extensions.DependencyInjection.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Microsoft.Extensions.Logging.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Microsoft.Extensions.Logging.Abstractions.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Microsoft.Extensions.Options.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Microsoft.Extensions.Primitives.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Microsoft.IdentityModel.JsonWebTokens.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Microsoft.IdentityModel.Logging.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Microsoft.IdentityModel.Protocols.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Microsoft.IdentityModel.Tokens.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/dotnet-aspnet-codegenerator-design.exe
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/MySql.Data.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/MySqlConnector.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Newtonsoft.Json.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Pomelo.EntityFrameworkCore.MySql.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Pomelo.JsonObject.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/RabbitMQ.Client.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Renci.SshNet.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/SshNet.Security.Cryptography.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/System.Collections.Immutable.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/System.ComponentModel.Annotations.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/System.Configuration.ConfigurationManager.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/System.Diagnostics.DiagnosticSource.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/System.Drawing.Common.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/System.IdentityModel.Tokens.Jwt.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/System.Net.Http.WinHttpHandler.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/System.Reactive.Core.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/System.Reactive.Interfaces.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/System.Reactive.Linq.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/System.Resources.Extensions.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/System.Runtime.CompilerServices.Unsafe.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/System.Security.Cryptography.ProtectedData.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/System.ServiceModel.Duplex.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/System.ServiceModel.Http.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/System.ServiceModel.NetTcp.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/System.ServiceModel.Primitives.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/System.ServiceModel.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/System.ServiceModel.Security.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/System.Threading.Channels.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/System.Xml.XPath.XmlDocument.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/ZKWeb.System.Drawing.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/runtimes/win/lib/netcoreapp3.0/Microsoft.Win32.SystemEvents.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/runtimes/unix/lib/netcoreapp3.0/System.Drawing.Common.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/runtimes/win/lib/netcoreapp3.0/System.Drawing.Common.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/runtimes/win/lib/netstandard2.0/System.Net.Http.WinHttpHandler.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/runtimes/unix/lib/netstandard2.0/System.Private.ServiceModel.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/runtimes/win7/lib/netstandard2.0/System.Private.ServiceModel.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/runtimes/win/lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/aliyun-net-sdk-core.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/Aliyun.OSS.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/AopSdk.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/LitJSON.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/MySystemLib.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/ThoughtWorks.QRCode.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/bin/release/netcoreapp3.0/MySystemLib.pdb
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/obj/release/netcoreapp3.0/MySystem.csprojAssemblyReference.cache
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/obj/release/netcoreapp3.0/staticwebassets/MySystem.StaticWebAssets.Manifest.cache
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/obj/release/netcoreapp3.0/staticwebassets/MySystem.StaticWebAssets.xml
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/obj/release/netcoreapp3.0/MySystem.MvcApplicationPartsAssemblyInfo.cache
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/obj/release/netcoreapp3.0/MySystem.RazorAssemblyInfo.cache
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/obj/release/netcoreapp3.0/MySystem.RazorAssemblyInfo.cs
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/obj/release/netcoreapp3.0/MySystem.AssemblyInfoInputs.cache
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/obj/release/netcoreapp3.0/MySystem.AssemblyInfo.cs
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/obj/release/netcoreapp3.0/MySystem.TagHelpers.input.cache
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/obj/release/netcoreapp3.0/MySystem.TagHelpers.output.cache
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/obj/release/netcoreapp3.0/MySystem.RazorCoreGenerate.cache
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/obj/release/netcoreapp3.0/Razor/Views/Home/Error.cshtml.g.cs
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/obj/release/netcoreapp3.0/Razor/Views/Home/Index.cshtml.g.cs
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/obj/release/netcoreapp3.0/MySystem.RazorTargetAssemblyInfo.cache
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/obj/release/netcoreapp3.0/MySystem.RazorTargetAssemblyInfo.cs
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/obj/release/netcoreapp3.0/MySystem.Views.pdb
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/obj/release/netcoreapp3.0/MySystem.csproj.CopyComplete
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/obj/release/netcoreapp3.0/MySystem.dll
+/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/obj/release/netcoreapp3.0/MySystem.pdb

BIN
obj/release/netcoreapp3.0/MySystem.csprojAssemblyReference.cache


BIN
obj/release/netcoreapp3.0/MySystem.dll


BIN
obj/release/netcoreapp3.0/MySystem.pdb


+ 1 - 1
obj/release/netcoreapp3.0/Razor/Views/Home/Error.cshtml.g.cs

@@ -1,4 +1,4 @@
-#pragma checksum "/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/FastAlliance/MainServer/Views/Home/Error.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "aeceb954df568a93a64b983b76e7c723755c1edb"
+#pragma checksum "/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/Views/Home/Error.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "aeceb954df568a93a64b983b76e7c723755c1edb"
 // <auto-generated/>
 #pragma warning disable 1591
 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Home_Error), @"mvc.1.0.view", @"/Views/Home/Error.cshtml")]

+ 3 - 3
obj/release/netcoreapp3.0/Razor/Views/Home/Index.cshtml.g.cs

@@ -1,4 +1,4 @@
-#pragma checksum "/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/FastAlliance/MainServer/Views/Home/Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "ac48ac02e4175749fa99d74fa629f833f41645b8"
+#pragma checksum "/Users/Shared/Previously Relocated Items/Security/MyDisk/我的/项目/myprogram_vs2019/KeXiaoShuang/MainServer/Views/Home/Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "dd406fbbb4408bf752e3aa7806f3f25c44bb7459"
 // <auto-generated/>
 #pragma warning disable 1591
 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Home_Index), @"mvc.1.0.view", @"/Views/Home/Index.cshtml")]
@@ -12,13 +12,13 @@ namespace AspNetCore
     using Microsoft.AspNetCore.Mvc;
     using Microsoft.AspNetCore.Mvc.Rendering;
     using Microsoft.AspNetCore.Mvc.ViewFeatures;
-    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"ac48ac02e4175749fa99d74fa629f833f41645b8", @"/Views/Home/Index.cshtml")]
+    [global::Microsoft.AspNetCore.Razor.Hosting.RazorSourceChecksumAttribute(@"SHA1", @"dd406fbbb4408bf752e3aa7806f3f25c44bb7459", @"/Views/Home/Index.cshtml")]
     public class Views_Home_Index : global::Microsoft.AspNetCore.Mvc.Razor.RazorPage<dynamic>
     {
         #pragma warning disable 1998
         public async override global::System.Threading.Tasks.Task ExecuteAsync()
         {
-            WriteLiteral("<h2>爽客邦</h2>");
+            WriteLiteral("<h2>客小爽</h2>");
         }
         #pragma warning restore 1998
         [global::Microsoft.AspNetCore.Mvc.Razor.Internal.RazorInjectAttribute]

+ 1 - 1
wwwroot/layuiadmin/tpl/system/about.html

@@ -1,5 +1,5 @@
 
-<div class="layui-card-header">关于爽客邦</div>
+<div class="layui-card-header">关于客小爽</div>
 <div class="layui-card-body layui-text layadmin-about">
   
   <blockquote class="layui-elem-quote" style="border: none;">