浏览代码

退款,分账,需要商家的token

lcl 1 年之前
父节点
当前提交
3ec4c50693
共有 100 个文件被更改,包括 179 次插入654 次删除
  1. 二进制
      .DS_Store
  2. 二进制
      AppStart/Alipay/.DS_Store
  3. 18 19
      AppStart/Alipay/AlipayFunction.cs
  4. 4 3
      AppStart/Helper/AlipayPayBackService.cs
  5. 3 2
      AppStart/Helper/AlipayShareService.cs
  6. 1 1
      AppStart/Helper/BalancePayBackService.cs
  7. 8 17
      AppStart/Helper/CheckAlipaySignService.cs
  8. 12 12
      AppStart/Helper/CheckWeChatSignService.cs
  9. 1 1
      AppStart/Helper/ConsumerOrdersReturnDoService.cs
  10. 1 1
      AppStart/Helper/ConsumerOrdersReturnStatService.cs
  11. 1 1
      AppStart/Helper/ConsumerOrdersStatService.cs
  12. 1 1
      AppStart/Helper/DelMySql/DeleteMySqlDataService.cs
  13. 1 1
      AppStart/Helper/DepositReturnService.cs
  14. 1 1
      AppStart/Helper/DepositReturnStatService.cs
  15. 1 1
      AppStart/Helper/LeaderPrizeService.cs
  16. 3 3
      AppStart/Helper/MakeReferenceQrCodeService.cs
  17. 8 8
      AppStart/Helper/MerchantConfirmService.cs
  18. 1 1
      AppStart/Helper/MessageCenterService.cs
  19. 1 1
      AppStart/Helper/OperatePrizeService.cs
  20. 1 1
      AppStart/Helper/OperateService.cs
  21. 1 1
      AppStart/Helper/Profit/ActiveService.cs
  22. 1 1
      AppStart/Helper/Profit/DiviService.cs
  23. 1 1
      AppStart/Helper/Profit/FluxService.cs
  24. 1 1
      AppStart/Helper/Profit/HelpProfitHelper.cs
  25. 1 1
      AppStart/Helper/Profit/HelpProfitPreMerchantHelper.cs
  26. 1 1
      AppStart/Helper/Profit/OpenService.cs
  27. 1 1
      AppStart/Helper/Profit/ProfitCheckHelper.cs
  28. 2 2
      AppStart/Helper/Profit/ProfitHelper.cs
  29. 1 1
      AppStart/Helper/Profit/ProfitHelperV2.cs
  30. 1 1
      AppStart/Helper/Profit/ProfitService.cs
  31. 1 1
      AppStart/Helper/Profit/StandardService.cs
  32. 1 1
      AppStart/Helper/Profit/TeamTopService.cs
  33. 1 1
      AppStart/Helper/ProfitShareService.cs
  34. 1 1
      AppStart/Helper/RecommendActStatService.cs
  35. 1 1
      AppStart/Helper/ReservePayBackService.cs
  36. 1 1
      AppStart/Helper/SetDepositPostService.cs
  37. 1 1
      AppStart/Helper/SetDepositService.cs
  38. 1 1
      AppStart/Helper/StatDataService.cs
  39. 5 5
      AppStart/Helper/StatService.cs
  40. 1 1
      AppStart/Helper/StatServiceTmp.cs
  41. 1 1
      AppStart/Helper/StatStoreDataService.cs
  42. 1 1
      AppStart/Helper/StatTimerService.cs
  43. 1 1
      AppStart/Helper/SycnMysql/ConsumerOpenIdsHelper.cs
  44. 1 1
      AppStart/Helper/SycnMysql/ConsumersHelper.cs
  45. 1 1
      AppStart/Helper/SycnMysql/MachineApplyHelper.cs
  46. 1 1
      AppStart/Helper/SycnMysql/MerchantParamSetHelper.cs
  47. 1 1
      AppStart/Helper/SycnMysql/OrderProductHelper.cs
  48. 1 1
      AppStart/Helper/SycnMysql/OrdersHelper.cs
  49. 1 1
      AppStart/Helper/SycnMysql/PosMachinesHelper.cs
  50. 1 1
      AppStart/Helper/SycnMysql/ProductsHelper.cs
  51. 1 1
      AppStart/Helper/SycnMysql/PublicTableHelper.cs
  52. 1 1
      AppStart/Helper/SycnMysql/StoreChangeHistoryHelper.cs
  53. 1 1
      AppStart/Helper/SycnMysql/StoreStockChangeHelper.cs
  54. 1 1
      AppStart/Helper/SycnMysql/TeamApplyHelper.cs
  55. 1 1
      AppStart/Helper/SycnMysql/TeamOfferApplyHelper.cs
  56. 1 1
      AppStart/Helper/SycnMysql/UserAddressHelper.cs
  57. 1 1
      AppStart/Helper/SycnMysql/UserBackHelper.cs
  58. 1 1
      AppStart/Helper/SycnMysql/UserCashRecordHelper.cs
  59. 1 1
      AppStart/Helper/SycnMysql/UserLoginRecordHelper.cs
  60. 1 1
      AppStart/Helper/SycnMysql/UserMachineDataHelper.cs
  61. 1 1
      AppStart/Helper/SycnMysql/UserStoreChangeHelper.cs
  62. 1 1
      AppStart/Helper/SycnMysql/UsersHelper.cs
  63. 1 1
      AppStart/Helper/WeChatPayBackService.cs
  64. 1 1
      AppStart/PublicFunction.cs
  65. 1 1
      AppStart/RelationClass.cs
  66. 1 0
      AppStart/Tables/Alipay/RoyaltyParameters.cs
  67. 1 1
      AppStart/Timer/ChangePosTimer.cs
  68. 1 1
      AppStart/Timer/PosTradeStatTimer.cs
  69. 1 1
      AppStart/Timer/RedPackageHelper.cs
  70. 1 1
      AppStart/Timer/RedPackageV2Helper.cs
  71. 1 1
      AppStart/Timer/ResetSmallStoreHelper.cs
  72. 1 1
      AppStart/Timer/StoreApplyHelper.cs
  73. 1 1
      AppStart/Timer/TestHelper.cs
  74. 1 1
      AppStart/Timer/TradeStatTimer.cs
  75. 1 1
      AppStart/Timer/TradeStatTimer2.cs
  76. 6 5
      AppStart/WeChatFunction.cs
  77. 7 7
      Controllers/HomeController.cs
  78. 6 0
      Models/MerchantAddInfo.cs
  79. 30 0
      Models/WebCMSEntities.cs
  80. 1 1
      PublicClass/GraphQL/IRepository.cs
  81. 1 1
      PublicClass/GraphQL/Query.cs
  82. 1 1
      PublicClass/GraphQL/Repository.cs
  83. 0 49
      PxcModels/ActiveReward.cs
  84. 0 26
      PxcModels/ActivityEnrolRecord.cs
  85. 0 37
      PxcModels/ActivityInfo.cs
  86. 0 32
      PxcModels/ActivityPrizeDetail.cs
  87. 0 24
      PxcModels/ActivityRedPackageJoins.cs
  88. 0 24
      PxcModels/ActivityRedPackageJoinss.cs
  89. 0 24
      PxcModels/ActivityRedPackageStock.cs
  90. 0 24
      PxcModels/ActivityRedPackageStocks.cs
  91. 0 25
      PxcModels/ActivityRedPackageTop10.cs
  92. 0 25
      PxcModels/ActivityRedPackageTop10s.cs
  93. 0 26
      PxcModels/Advertisment.cs
  94. 0 25
      PxcModels/AgentLevelSet.cs
  95. 0 32
      PxcModels/AppBottomNavs.cs
  96. 0 28
      PxcModels/AppVersion.cs
  97. 0 24
      PxcModels/AppVideo.cs
  98. 0 26
      PxcModels/AppVideoList.cs
  99. 0 28
      PxcModels/BackEndOpRecord.cs
  100. 0 26
      PxcModels/BankInfo.cs

二进制
.DS_Store


二进制
AppStart/Alipay/.DS_Store


+ 18 - 19
AppStart/Alipay/AlipayFunction.cs

@@ -341,7 +341,7 @@ namespace MySystem
 
         #region 退款
 
-        public string Refund(string TradeNo, string Amount, string MerPid, string Reason = "")
+        public string Refund(string TradeNo, string Amount, string Reason, string MerToken)
         {
             IAopClient client = new DefaultAopClient("https://openapi.alipay.com/gateway.do", AppId, PrivateKey, "json", "1.0", "RSA2", AlipayPublicKey, "utf-8", false);
             AlipayTradeRefundRequest request = new AlipayTradeRefundRequest();
@@ -349,19 +349,19 @@ namespace MySystem
             "\"trade_no\":\"" + TradeNo + "\"," +
             "\"refund_amount\":" + Amount + "," +
             "\"out_request_no\":\"" + DateTime.Now.ToString("yyyyMMddHHmmssfff") + function.get_Random(8) + "\"," +
-            "\"refund_reason\":\"" + Reason + "\"," +
-            "\"refund_royalty_parameters\":[{" +
-            "\"royalty_type\":\"transfer\"," +
-            "\"trans_out_type\":\"userId\"," +
-            "\"trans_out\":\"" + MerPid + "\"," +
-            "\"amount\":" + Amount + "," +
-            "\"desc\":\"" + Reason + "\"" +
-            "}]" +
+            "\"refund_reason\":\"" + Reason + "\"" +
+            // "\"refund_royalty_parameters\":[{" +
+            // "\"royalty_type\":\"transfer\"," +
+            // "\"trans_out_type\":\"userId\"," +
+            // "\"trans_out\":\"" + MerPid + "\"," +
+            // "\"amount\":" + Amount + "," +
+            // "\"desc\":\"" + Reason + "\"" +
+            // "}]" +
             "}";
             string result = "";
             try
             {
-                AlipayTradeRefundResponse response = client.Execute(request, null, "202306BB117e046cfc29434c8f4acfd2a43aeX03");
+                AlipayTradeRefundResponse response = client.Execute(request, null, MerToken);
                 result = response.Body;
             }
             catch (Exception ex)
@@ -375,7 +375,7 @@ namespace MySystem
         #endregion
 
         #region 分账
-        public string Settle(string OrderNo, string TradeNo, List<RoyaltyParameters> Parameters)
+        public string Settle(string OrderNo, string TradeNo, List<RoyaltyParameters> Parameters, string MerToken)
         {
             IAopClient client = new DefaultAopClient("https://openapi.alipay.com/gateway.do", AppId, PrivateKey, "json", "1.0", "RSA2", AlipayPublicKey, "utf-8", false);
             AlipayTradeOrderSettleRequest  request= new AlipayTradeOrderSettleRequest();
@@ -400,7 +400,7 @@ namespace MySystem
             string result = "";
             try
             {
-                AlipayTradeOrderSettleResponse response = client.Execute(request, null, "202306BB117e046cfc29434c8f4acfd2a43aeX03");
+                AlipayTradeOrderSettleResponse response = client.Execute(request, null, MerToken);
                 result = response.Body;
             }
             catch (Exception ex)
@@ -414,7 +414,7 @@ namespace MySystem
         #endregion
 
         #region 绑定分账关系
-        public string BindSettleRelation(string RequestNo, string Account)
+        public string BindSettleRelation(string RequestNo, string Account, string MerToken)
         {
             IAopClient client = new DefaultAopClient("https://openapi.alipay.com/gateway.do", AppId, PrivateKey, "json", "1.0", "RSA2", AlipayPublicKey, "utf-8", false);
             AlipayTradeRoyaltyRelationBindRequest request = new AlipayTradeRoyaltyRelationBindRequest();
@@ -434,7 +434,7 @@ namespace MySystem
             string result = "";
             try
             {
-                AlipayTradeRoyaltyRelationBindResponse response = client.Execute(request, null, "202306BB117e046cfc29434c8f4acfd2a43aeX03");
+                AlipayTradeRoyaltyRelationBindResponse response = client.Execute(request, null, MerToken);
                 result = response.Body;
             }
             catch (Exception ex)
@@ -448,19 +448,18 @@ namespace MySystem
         #endregion
 
         #region 查看分账
-        public string QuerySettle(string OrderNo, string TradeNo)
+        public string QuerySettle(string OrderNo, string TradeNo, string MerToken)
         {
             IAopClient client = new DefaultAopClient("https://openapi.alipay.com/gateway.do", AppId, PrivateKey, "json", "1.0", "RSA2", AlipayPublicKey, "utf-8", false);
             AlipayTradeOrderSettleQueryRequest request = new AlipayTradeOrderSettleQueryRequest();
             request.BizContent="{" +
-            "  \"settle_no\":\"20210706002530020036530021395831\"," +
-            "  \"out_request_no\":\"20210727001\"," +
-            "  \"trade_no\":\"2021112611001004680 073956707\"" +
+            "  \"out_request_no\":\"" + OrderNo + "\"," +
+            "  \"trade_no\":\"" + TradeNo + "\"" +
             "}";
             string result = "";
             try
             {
-                AlipayTradeOrderSettleQueryResponse response = client.Execute(request, null, "202306BB117e046cfc29434c8f4acfd2a43aeX03");
+                AlipayTradeOrderSettleQueryResponse response = client.Execute(request, null, MerToken);
                 result = response.Body;
             }
             catch (Exception ex)

+ 4 - 3
AppStart/Helper/AlipayPayBackService.cs

@@ -1,7 +1,7 @@
 using System;
 using System.Collections.Generic;
 using System.Linq;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 using LitJson;
 using System.Threading;
@@ -117,7 +117,7 @@ namespace MySystem
                                 //添加分账接收方
                                 if(merchant.Sort == 0)
                                 {
-                                    string content = AlipayFunction.Instance.BindSettleRelation(DateTime.Now.ToString("yyyyMMddHHmmssfff") + function.get_Random(8), merchantAdd.SeoTitle);
+                                    string content = AlipayFunction.Instance.BindSettleRelation(DateTime.Now.ToString("yyyyMMddHHmmssfff") + function.get_Random(8), merchantAdd.AlipayPid, merchantAdd.AlipayAuthToken);
                                     merchantAdd.Sort = 1;
                                     db.SaveChanges();
                                 }
@@ -133,12 +133,13 @@ namespace MySystem
                                         Account = merchantAdd.SeoTitle,
                                         Amount = fee.ToString("f2"),
                                     });
-                                    AlipayFunction.Instance.Settle(OrderNo, TradeNo, Parameters);
+                                    AlipayFunction.Instance.Settle(OrderNo, TradeNo, Parameters, merchantAdd.AlipayAuthToken);
 
                                     //开始监听分账状态
                                     Dictionary<string, object> req = new Dictionary<string, object>();
                                     req.Add("TradeNo", TradeNo); //支付宝订单号
                                     req.Add("OrderNo", OrderNo); //商户订单号
+                                    req.Add("AuthToken", merchantAdd.AlipayAuthToken);
                                     RedisDbconn.Instance.AddList("AlipayShareQueue", Newtonsoft.Json.JsonConvert.SerializeObject(req));
                                 }
                                 else

+ 3 - 2
AppStart/Helper/AlipayShareService.cs

@@ -1,7 +1,7 @@
 using System;
 using System.Collections.Generic;
 using System.Linq;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 using LitJson;
 using System.Text.RegularExpressions;
@@ -45,7 +45,8 @@ namespace MySystem
                 JsonData jsonObj = JsonMapper.ToObject(content);
                 string TradeNo = jsonObj["TradeNo"].ToString(); //支付宝订单号
                 string OrderNo = jsonObj["OrderNo"].ToString(); //商户订单号
-                string result = AlipayFunction.Instance.QuerySettle(OrderNo, TradeNo);
+                string AuthToken = jsonObj["AuthToken"].ToString();
+                string result = AlipayFunction.Instance.QuerySettle(OrderNo, TradeNo, AuthToken);
                 JsonData resultObj = JsonMapper.ToObject(result);
                 if(result.Contains("\"alipay_trade_order_settle_query_response\""))
                 {

+ 1 - 1
AppStart/Helper/BalancePayBackService.cs

@@ -3,7 +3,7 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Data;
 using System.Threading;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 using LitJson;
 

+ 8 - 17
AppStart/Helper/CheckAlipaySignService.cs

@@ -1,7 +1,7 @@
 using System;
 using System.Collections.Generic;
 using System.Linq;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 using LitJson;
 using System.Text.RegularExpressions;
@@ -47,7 +47,7 @@ namespace MySystem
         {
             try
             {
-                PxcModels.WebCMSEntities db = new PxcModels.WebCMSEntities();
+                WebCMSEntities db = new WebCMSEntities();
                 string content = AlipayFunction.Instance.QuerySignStatus(sign.BusinessCode);
                 JsonData dic = JsonMapper.ToObject(content);
                 if (dic["alipay_open_agent_order_query_response"]["code"].ToString() == "10000")
@@ -55,31 +55,22 @@ namespace MySystem
                     if (dic["alipay_open_agent_order_query_response"]["order_status"].ToString() == "MERCHANT_CONFIRM")
                     {
                         string sign_url = dic["alipay_open_agent_order_query_response"]["confirm_url"].ToString();
-                        PxcModels.MerchantAddInfo merchantadd = db.MerchantAddInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId && m.QueryCount == 0);
+                        MerchantAddInfo merchantadd = db.MerchantAddInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId && m.QueryCount == 0);
                         if (merchantadd != null)
                         {
                             merchantadd.QueryCount = 1;
                             string confirm_url = "/static/alipay_confirm_url/";
                             string fileName = function.MD5_16(Guid.NewGuid().ToString());
                             function.CreateQRCode2(sign_url, fileName, "/" + confirm_url);
-                            string SignUrlList = function.CheckNull(merchantadd.SeoKeyword);
-                            if (string.IsNullOrEmpty(SignUrlList))
-                            {
-                                SignUrlList = "Alipay:" + confirm_url + ";";
-                            }
-                            else
-                            {
-                                SignUrlList = "Alipay:" + confirm_url+ ";" + SignUrlList;
-                            }
-                            merchantadd.SeoKeyword = SignUrlList;
-                            merchantadd.SeoTitle = dic["alipay_open_agent_order_query_response"]["merchant_pid"].ToString();
+                            merchantadd.AlipaySignUrl = confirm_url;
+                            merchantadd.AlipayPid = dic["alipay_open_agent_order_query_response"]["merchant_pid"].ToString();
                             db.SaveChanges();
                         }
                         return "wait";
                     }
                     else if (dic["alipay_open_agent_order_query_response"]["order_status"].ToString() == "MERCHANT_CONFIRM_SUCCESS")
                     {
-                        PxcModels.MerchantAddInfo merchantadd = db.MerchantAddInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId && m.QueryCount < 2);
+                        MerchantAddInfo merchantadd = db.MerchantAddInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId && m.QueryCount < 2);
                         if (merchantadd != null)
                         {
                             merchantadd.QueryCount = 2;
@@ -88,7 +79,7 @@ namespace MySystem
                     }
                     else if (dic["alipay_open_agent_order_query_response"]["order_status"].ToString() == "MERCHANT_APPLY_ORDER_CANCELED")
                     { 
-                        PxcModels.MerchantAddInfo merchantadd = db.MerchantAddInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId);
+                        MerchantAddInfo merchantadd = db.MerchantAddInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId);
                         if (merchantadd != null)
                         {
                             string Season = function.CheckNull(merchantadd.SeoDescription);
@@ -103,7 +94,7 @@ namespace MySystem
                             }
                             merchantadd.SeoDescription = Season;
                             merchantadd.QueryCount = -1;
-                            PxcModels.MerchantInfo merchant = db.MerchantInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId);
+                            MerchantInfo merchant = db.MerchantInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId);
                             if (merchant != null)
                             {
                                 merchant.Status = -1;

+ 12 - 12
AppStart/Helper/CheckWeChatSignService.cs

@@ -1,7 +1,7 @@
 using System;
 using System.Collections.Generic;
 using System.Linq;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 using LitJson;
 using System.Text.RegularExpressions;
@@ -47,13 +47,13 @@ namespace MySystem
         {
             try
             {
-                PxcModels.WebCMSEntities db = new PxcModels.WebCMSEntities();
+                WebCMSEntities db = new WebCMSEntities();
                 List<MerchantSign> deletes = new List<MerchantSign>();
                 Dictionary<string, object> dic = WeChatFunction.Instance.QueryMerchant(sign.BusinessCode);
                 if (dic["applyment_state"].ToString() == "APPLYMENT_STATE_TO_BE_SIGNED")
                 {
                     string sign_url = dic["sign_url"].ToString();
-                    PxcModels.MerchantAddInfo merchantadd = db.MerchantAddInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId && m.Status == 0);
+                    MerchantAddInfo merchantadd = db.MerchantAddInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId && m.Status == 0);
                     if (merchantadd != null)
                     {
                         merchantadd.Status = 1;
@@ -68,7 +68,7 @@ namespace MySystem
                             SignUrlList += "WeChat:" + sign_url+ ";";
                         }
                         merchantadd.SeoKeyword = SignUrlList;
-                        PxcModels.MerchantInfo merchant = db.MerchantInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId);
+                        MerchantInfo merchant = db.MerchantInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId);
                         if (merchantadd.Status > 0 && merchantadd.QueryCount > 0)
                         {
                             merchant.Status = 1;
@@ -91,7 +91,7 @@ namespace MySystem
                                 SignUrlList += "WeChat:" + sign_url+ ";";
                             }
                             merchantadd.SeoKeyword = SignUrlList;
-                            PxcModels.MerchantInfo merchant = db.MerchantInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId);
+                            MerchantInfo merchant = db.MerchantInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId);
                             if (merchantadd.Status > 0 && merchantadd.QueryCount > 0)
                             {
                                 merchant.Status = 1;
@@ -104,7 +104,7 @@ namespace MySystem
                 else if (dic["applyment_state"].ToString() == "APPLYMENT_STATE_TO_BE_CONFIRMED")
                 {
                     string sign_url = dic["sign_url"].ToString();
-                    PxcModels.MerchantAddInfo merchantadd = db.MerchantAddInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId && m.Status == 0);
+                    MerchantAddInfo merchantadd = db.MerchantAddInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId && m.Status == 0);
                     if (merchantadd != null)
                     {
                         merchantadd.Status = 1;
@@ -118,7 +118,7 @@ namespace MySystem
                             SignUrlList += "WeChat:" + sign_url+ ";";
                         }
                         merchantadd.SeoKeyword = SignUrlList;
-                        PxcModels.MerchantInfo merchant = db.MerchantInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId);
+                        MerchantInfo merchant = db.MerchantInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId);
                         if (merchantadd.Status > 0 && merchantadd.QueryCount > 0)
                         {
                             merchant.Status = 1;
@@ -129,13 +129,13 @@ namespace MySystem
                 }
                 else if (dic["applyment_state"].ToString() == "APPLYMENT_STATE_FINISHED")
                 { 
-                    PxcModels.MerchantAddInfo merchantadd = db.MerchantAddInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId && m.Status == 1);
+                    MerchantAddInfo merchantadd = db.MerchantAddInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId && m.Status == 1);
                     if (merchantadd != null)
                     {
                         merchantadd.Status = 2;
                         // merchantadd.SubMchid = dic["sub_mchid"].ToString();
                         RedisDbconn.Instance.Set("MerchantAddInfo:" + sign.MerchantAddInfoId, merchantadd);
-                        PxcModels.MerchantInfo merchant = db.MerchantInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId);
+                        MerchantInfo merchant = db.MerchantInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId);
                         if (merchantadd.Status == 2 && merchantadd.QueryCount == 2)
                         {
                             merchant.Status = 2;
@@ -145,7 +145,7 @@ namespace MySystem
                 }
                 else if (dic["applyment_state"].ToString() == "APPLYMENT_STATE_REJECTED")
                 {
-                    PxcModels.MerchantAddInfo merchantadd = db.MerchantAddInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId);
+                    MerchantAddInfo merchantadd = db.MerchantAddInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId);
                     if (merchantadd != null)
                     {
                         string Season = function.CheckNull(merchantadd.SeoDescription);
@@ -160,7 +160,7 @@ namespace MySystem
                         }
                         merchantadd.SeoDescription = Season;
                         merchantadd.Status = -1;
-                        PxcModels.MerchantInfo merchant = db.MerchantInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId);
+                        MerchantInfo merchant = db.MerchantInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId);
                         if (merchant != null)
                         {
                             merchant.Status = -1;
@@ -179,7 +179,7 @@ namespace MySystem
                     if (dic.ContainsKey("sub_mchid"))
                     {
                         sub_mchid = dic["sub_mchid"].ToString();
-                        PxcModels.MerchantAddInfo merchantadd = db.MerchantAddInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId);
+                        MerchantAddInfo merchantadd = db.MerchantAddInfo.FirstOrDefault(m => m.Id == sign.MerchantAddInfoId);
                         if (merchantadd != null)
                         {
                             merchantadd.SubMchid = sub_mchid;

+ 1 - 1
AppStart/Helper/ConsumerOrdersReturnDoService.cs

@@ -4,7 +4,7 @@ using Library;
 using LitJson;
 using System.Linq;
 using System.Threading;
-using MySystem.PxcModels;
+using MySystem.Models;
 
 namespace MySystem
 {

+ 1 - 1
AppStart/Helper/ConsumerOrdersReturnStatService.cs

@@ -3,7 +3,7 @@ using System.Collections.Generic;
 using Library;
 using LitJson;
 using System.Linq;
-using MySystem.PxcModels;
+using MySystem.Models;
 
 namespace MySystem
 {

+ 1 - 1
AppStart/Helper/ConsumerOrdersStatService.cs

@@ -3,7 +3,7 @@ using System.Collections.Generic;
 using Library;
 using LitJson;
 using System.Linq;
-using MySystem.PxcModels;
+using MySystem.Models;
 
 namespace MySystem
 {

+ 1 - 1
AppStart/Helper/DelMySql/DeleteMySqlDataService.cs

@@ -1,6 +1,6 @@
 using System;
 using System.Linq;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 
 namespace MySystem

+ 1 - 1
AppStart/Helper/DepositReturnService.cs

@@ -5,7 +5,7 @@ using LitJson;
 using System.Linq;
 using System.Data;
 using System.Threading;
-using MySystem.PxcModels;
+using MySystem.Models;
 
 namespace MySystem
 {

+ 1 - 1
AppStart/Helper/DepositReturnStatService.cs

@@ -5,7 +5,7 @@ using LitJson;
 using System.Linq;
 using System.Data;
 using System.Threading;
-using MySystem.PxcModels;
+using MySystem.Models;
 
 namespace MySystem
 {

+ 1 - 1
AppStart/Helper/LeaderPrizeService.cs

@@ -5,7 +5,7 @@ using LitJson;
 using System.Linq;
 using System.Data;
 using System.Threading;
-using MySystem.PxcModels;
+using MySystem.Models;
 
 namespace MySystem
 {

+ 3 - 3
AppStart/Helper/MakeReferenceQrCodeService.cs

@@ -2,7 +2,7 @@
 using System.Collections.Generic;
 using System.Linq;
 using System.Threading;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 using LitJson;
 using System.Drawing.Imaging;
@@ -54,8 +54,8 @@ namespace MySystem
                         string resultpath = MergeQrCode(user);
                         user.ReferenceQrCode = resultpath;
                         db.SaveChanges();
-                        PxcModels.WebCMSEntities pxcdb = new PxcModels.WebCMSEntities();
-                        PxcModels.Users tmpuser = pxcdb.Users.FirstOrDefault(m => m.Id == UserId);
+                        WebCMSEntities pxcdb = new WebCMSEntities();
+                        Users tmpuser = pxcdb.Users.FirstOrDefault(m => m.Id == UserId);
                         if (tmpuser != null)
                         {
                             tmpuser.ReferenceQrCode = user.ReferenceQrCode;

+ 8 - 8
AppStart/Helper/MerchantConfirmService.cs

@@ -2,7 +2,7 @@
 using System.Collections.Generic;
 using System.Linq;
 using System.Text.RegularExpressions;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 using LitJson;
 using System.Threading;
@@ -54,9 +54,9 @@ namespace MySystem
 
         public void StartDo(int MerchantId, int Kind = 0)
         {
-            PxcModels.WebCMSEntities db = new PxcModels.WebCMSEntities();
-            PxcModels.MerchantAddInfo AddInfo = db.MerchantAddInfo.FirstOrDefault(m => m.Id == MerchantId);
-            PxcModels.MerchantInfo merchant = db.MerchantInfo.FirstOrDefault(m => m.Id == MerchantId);
+            WebCMSEntities db = new WebCMSEntities();
+            MerchantAddInfo AddInfo = db.MerchantAddInfo.FirstOrDefault(m => m.Id == MerchantId);
+            MerchantInfo merchant = db.MerchantInfo.FirstOrDefault(m => m.Id == MerchantId);
             if (AddInfo != null && merchant != null)
             {
                 string BusinessCode = AddInfo.BusinessCode;
@@ -66,18 +66,18 @@ namespace MySystem
                     AddInfo.BusinessCode = BusinessCode;
                 }
                 merchant.LoginPwd = function.MD532(AddInfo.MobilePhone.Substring(5));
-                PxcModels.MerchantParamSet query = db.MerchantParamSet.FirstOrDefault(m => m.Id == MerchantId);
+                MerchantParamSet query = db.MerchantParamSet.FirstOrDefault(m => m.Id == MerchantId);
                 if (query == null)
                 {
-                    query = new PxcModels.MerchantParamSet();
+                    query = new MerchantParamSet();
                     query.IsAll = 1;
                     db.MerchantParamSet.Add(query);
                     db.SaveChanges();
                 }
-                PxcModels.MerchantForMobile merchantForMobile = db.MerchantForMobile.FirstOrDefault(m => m.Mobile == AddInfo.MobilePhone);
+                MerchantForMobile merchantForMobile = db.MerchantForMobile.FirstOrDefault(m => m.Mobile == AddInfo.MobilePhone);
                 if (merchantForMobile == null)
                 {
-                    merchantForMobile = db.MerchantForMobile.Add(new PxcModels.MerchantForMobile()
+                    merchantForMobile = db.MerchantForMobile.Add(new MerchantForMobile()
                     {
                         Mobile = AddInfo.MobilePhone,
                     }).Entity;

+ 1 - 1
AppStart/Helper/MessageCenterService.cs

@@ -5,7 +5,7 @@ using LitJson;
 using System.Linq;
 using System.Data;
 using System.Threading;
-using MySystem.PxcModels;
+using MySystem.Models;
 
 namespace MySystem
 {

+ 1 - 1
AppStart/Helper/OperatePrizeService.cs

@@ -5,7 +5,7 @@ using LitJson;
 using System.Linq;
 using System.Data;
 using System.Threading;
-using MySystem.PxcModels;
+using MySystem.Models;
 
 namespace MySystem
 {

+ 1 - 1
AppStart/Helper/OperateService.cs

@@ -3,7 +3,7 @@ using System.Collections.Generic;
 using System.Data;
 using System.Linq;
 using System.Threading;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 
 namespace MySystem

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

@@ -1,7 +1,7 @@
 using System;
 using System.Collections.Generic;
 using System.Linq;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 using LitJson;
 

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

@@ -1,7 +1,7 @@
 using System;
 using System.Collections.Generic;
 using System.Linq;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 using LitJson;
 

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

@@ -1,7 +1,7 @@
 using System;
 using System.Collections.Generic;
 using System.Linq;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 using LitJson;
 

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

@@ -2,7 +2,7 @@
 using System.Collections.Generic;
 using System.Linq;
 using System.Data;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 using System.Threading;
 using Microsoft.Extensions.Hosting;

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

@@ -2,7 +2,7 @@
 using System.Collections.Generic;
 using System.Linq;
 using System.Data;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 using System.Threading;
 using Microsoft.Extensions.Hosting;

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

@@ -1,7 +1,7 @@
 using System;
 using System.Collections.Generic;
 using System.Linq;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 using LitJson;
 

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

@@ -2,7 +2,7 @@
 using System.Collections.Generic;
 using System.Linq;
 using System.Data;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 using LitJson;
 

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

@@ -2,7 +2,7 @@
 using System.Collections.Generic;
 using System.Linq;
 using System.Data;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 using System.Threading;
 using Microsoft.Extensions.Hosting;
@@ -270,7 +270,7 @@ namespace MySystem
                                                     MerchantAddInfo merchantAdd = db.MerchantAddInfo.FirstOrDefault(m => m.Id == suborder.MerchantId) ?? new MerchantAddInfo();
                                                     if(order.PayMode == 1)
                                                     {
-                                                        AlipayFunction.Instance.Refund(suborder.SeoTitle, GetMoney.ToString("f2"), merchantAdd.SeoTitle, "客小爽来客吧项目盛大来袭");
+                                                        AlipayFunction.Instance.Refund(suborder.SeoTitle, GetMoney.ToString("f2"), "客小爽来客吧项目盛大来袭", merchantAdd.AlipayAuthToken);
                                                     }
                                                     else
                                                     {

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

@@ -2,7 +2,7 @@
 using System.Collections.Generic;
 using System.Linq;
 using System.Data;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 using System.Threading;
 using Microsoft.Extensions.Hosting;

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

@@ -1,7 +1,7 @@
 using System;
 using System.Collections.Generic;
 using System.Linq;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 using LitJson;
 

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

@@ -1,7 +1,7 @@
 using System;
 using System.Collections.Generic;
 using System.Linq;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 using LitJson;
 

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

@@ -2,7 +2,7 @@
 using System.Threading.Tasks;
 using System.Linq;
 using Microsoft.Extensions.Hosting;
-using MySystem.PxcModels;
+using MySystem.Models;
 using MySystem;
 
 public class TeamTopService : BackgroundService

+ 1 - 1
AppStart/Helper/ProfitShareService.cs

@@ -1,7 +1,7 @@
 using System;
 using System.Collections.Generic;
 using System.Linq;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 using LitJson;
 using System.Text.RegularExpressions;

+ 1 - 1
AppStart/Helper/RecommendActStatService.cs

@@ -5,7 +5,7 @@ using LitJson;
 using System.Linq;
 using System.Data;
 using System.Threading;
-using MySystem.PxcModels;
+using MySystem.Models;
 
 namespace MySystem
 {

+ 1 - 1
AppStart/Helper/ReservePayBackService.cs

@@ -3,7 +3,7 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Data;
 using System.Threading;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 using LitJson;
 

+ 1 - 1
AppStart/Helper/SetDepositPostService.cs

@@ -5,7 +5,7 @@ using LitJson;
 using System.Linq;
 using System.Data;
 using System.Threading;
-using MySystem.PxcModels;
+using MySystem.Models;
 using System.Security.Cryptography;
 using System.Text;
 

+ 1 - 1
AppStart/Helper/SetDepositService.cs

@@ -5,7 +5,7 @@ using LitJson;
 using System.Linq;
 using System.Data;
 using System.Threading;
-using MySystem.PxcModels;
+using MySystem.Models;
 using System.Security.Cryptography;
 using System.Text;
 

+ 1 - 1
AppStart/Helper/StatDataService.cs

@@ -5,7 +5,7 @@ using LitJson;
 using System.Linq;
 using System.Data;
 using System.Threading;
-using MySystem.PxcModels;
+using MySystem.Models;
 
 namespace MySystem
 {

+ 5 - 5
AppStart/Helper/StatService.cs

@@ -5,7 +5,7 @@ using LitJson;
 using System.Linq;
 using System.Data;
 using System.Threading;
-using MySystem.PxcModels;
+using MySystem.Models;
 
 namespace MySystem
 {
@@ -154,19 +154,19 @@ namespace MySystem
                 {
                     Name = bind.SeoTitle;
                 }
-                PxcModels.Users user = db.Users.FirstOrDefault(m => m.Mobile.StartsWith(BeforeNum) && m.Mobile.EndsWith(AfterNum) && m.RealName == Name && m.AuthFlag == 1 && m.MerchantType == 0);
+                Users user = db.Users.FirstOrDefault(m => m.Mobile.StartsWith(BeforeNum) && m.Mobile.EndsWith(AfterNum) && m.RealName == Name && m.AuthFlag == 1 && m.MerchantType == 0);
                 if (user != null)
                 {
                     bool checkPos = db.PosMachinesTwo.Any(m => m.UserId == user.Id);
                     if (!checkPos)
                     {
-                        PxcModels.MachineForSnNo forSnNo = db.MachineForSnNo.FirstOrDefault(m => m.SnNo == bind.MerSnNo) ?? new PxcModels.MachineForSnNo();
-                        PxcModels.PosMachinesTwo pos = db.PosMachinesTwo.FirstOrDefault(m => m.Id == forSnNo.SnId && m.UserId != user.Id);
+                        MachineForSnNo forSnNo = db.MachineForSnNo.FirstOrDefault(m => m.SnNo == bind.MerSnNo) ?? new MachineForSnNo();
+                        PosMachinesTwo pos = db.PosMachinesTwo.FirstOrDefault(m => m.Id == forSnNo.SnId && m.UserId != user.Id);
                         if (pos != null)
                         {
                             pos.UserId = user.Id;
                             user.MerchantType = 1;
-                            PxcModels.PosMerchantInfo merchant = db.PosMerchantInfo.FirstOrDefault(m => m.KqMerNo == MerNo) ?? new PxcModels.PosMerchantInfo();
+                            PosMerchantInfo merchant = db.PosMerchantInfo.FirstOrDefault(m => m.KqMerNo == MerNo) ?? new PosMerchantInfo();
                             merchant.UserId = user.Id;
                             merchant.MerUserType = 1;
                             pos.SeoTitle = user.Id.ToString(); // 记录商户型创客的Id

+ 1 - 1
AppStart/Helper/StatServiceTmp.cs

@@ -5,7 +5,7 @@ using LitJson;
 using System.Linq;
 using System.Data;
 using System.Threading;
-using MySystem.PxcModels;
+using MySystem.Models;
 
 namespace MySystem
 {

+ 1 - 1
AppStart/Helper/StatStoreDataService.cs

@@ -5,7 +5,7 @@ using LitJson;
 using System.Linq;
 using System.Data;
 using System.Threading;
-using MySystem.PxcModels;
+using MySystem.Models;
 
 namespace MySystem
 {

+ 1 - 1
AppStart/Helper/StatTimerService.cs

@@ -4,7 +4,7 @@ using Library;
 using LitJson;
 using System.Linq;
 using System.Data;
-using MySystem.PxcModels;
+using MySystem.Models;
 
 namespace MySystem
 {

+ 1 - 1
AppStart/Helper/SycnMysql/ConsumerOpenIdsHelper.cs

@@ -1,5 +1,5 @@
 using Library;
-using MySystem.PxcModels;
+using MySystem.Models;
 using System;
 using System.Linq;
 

+ 1 - 1
AppStart/Helper/SycnMysql/ConsumersHelper.cs

@@ -1,5 +1,5 @@
 using Library;
-using MySystem.PxcModels;
+using MySystem.Models;
 using System;
 using System.Linq;
 

+ 1 - 1
AppStart/Helper/SycnMysql/MachineApplyHelper.cs

@@ -1,5 +1,5 @@
 using Library;
-using MySystem.PxcModels;
+using MySystem.Models;
 using System;
 using System.Linq;
 

+ 1 - 1
AppStart/Helper/SycnMysql/MerchantParamSetHelper.cs

@@ -1,5 +1,5 @@
 using Library;
-using MySystem.PxcModels;
+using MySystem.Models;
 using System;
 using System.Linq;
 

+ 1 - 1
AppStart/Helper/SycnMysql/OrderProductHelper.cs

@@ -1,5 +1,5 @@
 using Library;
-using MySystem.PxcModels;
+using MySystem.Models;
 using System;
 using System.Linq;
 

+ 1 - 1
AppStart/Helper/SycnMysql/OrdersHelper.cs

@@ -1,5 +1,5 @@
 using Library;
-using MySystem.PxcModels;
+using MySystem.Models;
 using System;
 using System.Linq;
 

+ 1 - 1
AppStart/Helper/SycnMysql/PosMachinesHelper.cs

@@ -1,5 +1,5 @@
 using Library;
-using MySystem.PxcModels;
+using MySystem.Models;
 using System;
 using System.Linq;
 

+ 1 - 1
AppStart/Helper/SycnMysql/ProductsHelper.cs

@@ -1,5 +1,5 @@
 using Library;
-using MySystem.PxcModels;
+using MySystem.Models;
 using System;
 using System.Linq;
 

+ 1 - 1
AppStart/Helper/SycnMysql/PublicTableHelper.cs

@@ -1,4 +1,4 @@
-using MySystem.PxcModels;
+using MySystem.Models;
 using System;
 using System.Data;
 using Library;

+ 1 - 1
AppStart/Helper/SycnMysql/StoreChangeHistoryHelper.cs

@@ -1,5 +1,5 @@
 using Library;
-using MySystem.PxcModels;
+using MySystem.Models;
 using System;
 using System.Linq;
 

+ 1 - 1
AppStart/Helper/SycnMysql/StoreStockChangeHelper.cs

@@ -1,5 +1,5 @@
 using Library;
-using MySystem.PxcModels;
+using MySystem.Models;
 using System;
 using System.Linq;
 

+ 1 - 1
AppStart/Helper/SycnMysql/TeamApplyHelper.cs

@@ -1,5 +1,5 @@
 using Library;
-using MySystem.PxcModels;
+using MySystem.Models;
 using System;
 using System.Linq;
 

+ 1 - 1
AppStart/Helper/SycnMysql/TeamOfferApplyHelper.cs

@@ -1,5 +1,5 @@
 using Library;
-using MySystem.PxcModels;
+using MySystem.Models;
 using System;
 using System.Linq;
 

+ 1 - 1
AppStart/Helper/SycnMysql/UserAddressHelper.cs

@@ -1,5 +1,5 @@
 using Library;
-using MySystem.PxcModels;
+using MySystem.Models;
 using System;
 using System.Linq;
 

+ 1 - 1
AppStart/Helper/SycnMysql/UserBackHelper.cs

@@ -1,5 +1,5 @@
 using Library;
-using MySystem.PxcModels;
+using MySystem.Models;
 using System;
 using System.Linq;
 

+ 1 - 1
AppStart/Helper/SycnMysql/UserCashRecordHelper.cs

@@ -1,5 +1,5 @@
 using Library;
-using MySystem.PxcModels;
+using MySystem.Models;
 using System;
 using System.Linq;
 

+ 1 - 1
AppStart/Helper/SycnMysql/UserLoginRecordHelper.cs

@@ -1,5 +1,5 @@
 using Library;
-using MySystem.PxcModels;
+using MySystem.Models;
 using System;
 using System.Linq;
 

+ 1 - 1
AppStart/Helper/SycnMysql/UserMachineDataHelper.cs

@@ -1,5 +1,5 @@
 using Library;
-using MySystem.PxcModels;
+using MySystem.Models;
 using System;
 using System.Linq;
 

+ 1 - 1
AppStart/Helper/SycnMysql/UserStoreChangeHelper.cs

@@ -1,5 +1,5 @@
 using Library;
-using MySystem.PxcModels;
+using MySystem.Models;
 using System;
 using System.Linq;
 

+ 1 - 1
AppStart/Helper/SycnMysql/UsersHelper.cs

@@ -1,5 +1,5 @@
 using Library;
-using MySystem.PxcModels;
+using MySystem.Models;
 using System;
 using System.Linq;
 

+ 1 - 1
AppStart/Helper/WeChatPayBackService.cs

@@ -3,7 +3,7 @@ using System.Collections.Generic;
 using Library;
 using LitJson;
 using System.Linq;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Org.BouncyCastle.Crypto.Modes;
 using Org.BouncyCastle.Crypto.Engines;
 using Org.BouncyCastle.Crypto.Parameters;

+ 1 - 1
AppStart/PublicFunction.cs

@@ -3,7 +3,7 @@ using System.Collections.Generic;
 using System.Linq;
 using System.Data;
 using System.Text.RegularExpressions;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 
 namespace MySystem

+ 1 - 1
AppStart/RelationClass.cs

@@ -1,7 +1,7 @@
 using System;
 using System.Collections.Generic;
 using System.Linq;
-using MySystem.PxcModels;
+using MySystem.Models;
 
 namespace MySystem
 {

+ 1 - 0
AppStart/Tables/Alipay/RoyaltyParameters.cs

@@ -5,6 +5,7 @@ namespace MySystem
     public class RoyaltyParameters
     {
         public string Account { get; set; }
+        public string OutAccount { get; set; }
         public string Name { get; set; }
         public string Amount { get; set; }
     }

+ 1 - 1
AppStart/Timer/ChangePosTimer.cs

@@ -5,7 +5,7 @@ using System.Threading.Tasks;
 using System.Linq;
 using Microsoft.Extensions.Hosting;
 using MySystem;
-using MySystem.PxcModels;
+using MySystem.Models;
 using LitJson;
 using Library;
 

+ 1 - 1
AppStart/Timer/PosTradeStatTimer.cs

@@ -5,7 +5,7 @@ using System.Threading.Tasks;
 using System.Linq;
 using Microsoft.Extensions.Hosting;
 using MySystem;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 using LitJson;
 

+ 1 - 1
AppStart/Timer/RedPackageHelper.cs

@@ -4,7 +4,7 @@ using System.Threading;
 using System.Linq;
 using System.Data;
 using MySystem;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 
 public class RedPackageHelper

+ 1 - 1
AppStart/Timer/RedPackageV2Helper.cs

@@ -4,7 +4,7 @@ using System.Threading;
 using System.Linq;
 using System.Data;
 using MySystem;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 
 public class RedPackageV2Helper

+ 1 - 1
AppStart/Timer/ResetSmallStoreHelper.cs

@@ -4,7 +4,7 @@ using System.Threading;
 using System.Linq;
 using System.Data;
 using MySystem;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 using LitJson;
 

+ 1 - 1
AppStart/Timer/StoreApplyHelper.cs

@@ -4,7 +4,7 @@ using System.Threading;
 using System.Linq;
 using System.Data;
 using MySystem;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 using LitJson;
 

+ 1 - 1
AppStart/Timer/TestHelper.cs

@@ -4,7 +4,7 @@ using System.Threading;
 using System.Linq;
 using System.Data;
 using MySystem;
-using MySystem.PxcModels;
+using MySystem.Models;
 using Library;
 
 public class TestHelper

+ 1 - 1
AppStart/Timer/TradeStatTimer.cs

@@ -5,7 +5,7 @@ using System.Threading.Tasks;
 using System.Linq;
 using Microsoft.Extensions.Hosting;
 using MySystem;
-using MySystem.PxcModels;
+using MySystem.Models;
 using LitJson;
 using Library;
 

+ 1 - 1
AppStart/Timer/TradeStatTimer2.cs

@@ -5,7 +5,7 @@ using System.Threading.Tasks;
 using System.Linq;
 using Microsoft.Extensions.Hosting;
 using MySystem;
-using MySystem.PxcModels;
+using MySystem.Models;
 using LitJson;
 using Library;
 

+ 6 - 5
AppStart/WeChatFunction.cs

@@ -8,6 +8,7 @@ using System.Security.Cryptography;
 using System.Text;
 using System.IO;
 using System.Net;
+using MySystem.Models;
 using Org.BouncyCastle.Crypto.Modes;
 using Org.BouncyCastle.Crypto.Parameters;
 using Org.BouncyCastle.Crypto.Engines;
@@ -26,14 +27,14 @@ namespace MySystem
 
         #region 服务商平台商户进件提交申请单API
 
-        public string MerchantCreate(PxcModels.MerchantAddInfo info, PxcModels.MerchantInfo merchant)
+        public string MerchantCreate(MerchantAddInfo info, MerchantInfo merchant)
         {
             // pubkey = GetPublicKey();
 
             Dictionary<string, object> result = new Dictionary<string, object>();
             result.Add("business_code", info.BusinessCode); //业务申请编号
 
-            PxcModels.WebCMSEntities dbpxc = new PxcModels.WebCMSEntities();
+            WebCMSEntities dbpxc = new WebCMSEntities();
             //超级管理员信息
             Dictionary<string, object> contact_info = new Dictionary<string, object>();
             contact_info.Add("contact_type", "LEGAL"); //超级管理员姓名
@@ -119,7 +120,7 @@ namespace MySystem
 
             Dictionary<string, object> biz_store_info = new Dictionary<string, object>();
             biz_store_info.Add("biz_store_name", info.BizStoreName); //门店名称
-            PxcModels.OpenBankCityTable BizAddress = dbpxc.OpenBankCityTable.FirstOrDefault(m => m.CityName.EndsWith(info.BizAddressCode)) ?? new PxcModels.OpenBankCityTable();
+            OpenBankCityTable BizAddress = dbpxc.OpenBankCityTable.FirstOrDefault(m => m.CityName.EndsWith(info.BizAddressCode)) ?? new OpenBankCityTable();
             biz_store_info.Add("biz_address_code", BizAddress.Code); //门店省市编码
             biz_store_info.Add("biz_store_address", info.BizStoreAddress); //门店地址
             List<string> store_entrance_pic = new List<string>();
@@ -188,9 +189,9 @@ namespace MySystem
             bank_account_info.Add("bank_account_type", info.BankAccountType); //账户类型
             bank_account_info.Add("account_name", RSAEncrypt(info.AccountName)); //开户名称
             bank_account_info.Add("account_bank", info.AccountBank); //开户银行
-            PxcModels.OpenBankCityTable BankAddress = dbpxc.OpenBankCityTable.FirstOrDefault(m => m.CityName.EndsWith(info.BankAddressCode)) ?? new PxcModels.OpenBankCityTable();
+            OpenBankCityTable BankAddress = dbpxc.OpenBankCityTable.FirstOrDefault(m => m.CityName.EndsWith(info.BankAddressCode)) ?? new OpenBankCityTable();
             bank_account_info.Add("bank_address_code", BankAddress.Code); //开户银行省市编码
-            PxcModels.OpenBankTable BankBranch = dbpxc.OpenBankTable.FirstOrDefault(m => m.BankName == info.BankName) ?? new PxcModels.OpenBankTable();
+            OpenBankTable BankBranch = dbpxc.OpenBankTable.FirstOrDefault(m => m.BankName == info.BankName) ?? new OpenBankTable();
             bank_account_info.Add("bank_branch_id", BankBranch.BankCode); //开户银行联行号
             bank_account_info.Add("bank_name", info.BankName); //开户银行全称(含支行)
             bank_account_info.Add("account_number", RSAEncrypt(info.AccountNumber)); //银行账号

+ 7 - 7
Controllers/HomeController.cs

@@ -6,7 +6,7 @@ using System.Data;
 using System.Threading.Tasks;
 using Microsoft.AspNetCore.Mvc;
 using Microsoft.Extensions.Logging;
-using MySystem.PxcModels;
+using MySystem.Models;
 using System.Threading;
 using Library;
 using LitJson;
@@ -87,13 +87,13 @@ namespace MySystem.Controllers
             // List<RoyaltyParameters> Parameters = new List<RoyaltyParameters>();
             // Parameters.Add(new RoyaltyParameters()
             // {
-            //     Account = "2088641405724089",
-            //     Amount = "0.60",
+            //     Account = "2088141704579033",
+            //     Amount = "0.01",
             // });
-            // string content = AlipayFunction.Instance.Settle("2023061517455619986938439", "2023061522001451251430528719", Parameters);
-            // string content = AlipayFunction.Instance.BindSettleRelation(DateTime.Now.ToString("yyyyMMddHHmmssfff") + function.get_Random(8), "2088641405724089");
-            // string content = AlipayFunction.Instance.Refund("2023061522001451251430528719", "0.10", "2088641405724089", "客小爽来客吧项目盛大来袭");
-            string content = AlipayFunction.Instance.QuerySettle("2023061517455619986938439", "2023061522001451251430528719");
+            // string content = AlipayFunction.Instance.Settle("2023061615441556447868073", "2023061622001451251436120885", Parameters);
+            // string content = AlipayFunction.Instance.BindSettleRelation(DateTime.Now.ToString("yyyyMMddHHmmssfff") + function.get_Random(8), "2088141704579033");
+            // string content = AlipayFunction.Instance.Refund("2023061622001451251436120885", "0.01", "客小爽来客吧项目盛大来袭");
+            string content = AlipayFunction.Instance.QuerySettle("2023061517455619986938439", "2023061522001451251430528719", "");
             return content;
         }
     

+ 6 - 0
Models/MerchantAddInfo.cs

@@ -97,5 +97,11 @@ namespace MySystem.Models
         public string ContactName { get; set; }
         public string BusinessCode { get; set; }
         public string IdCardAddress { get; set; }
+        public string WeChatRemark { get; set; }
+        public string AlipayRemark { get; set; }
+        public string WeChatSignUrl { get; set; }
+        public string AlipaySignUrl { get; set; }
+        public string AlipayAuthToken { get; set; }
+        public string AlipayPid { get; set; }
     }
 }

+ 30 - 0
Models/WebCMSEntities.cs

@@ -4935,6 +4935,26 @@ namespace MySystem.Models
                     .HasCharSet("utf8")
                     .HasCollation("utf8_general_ci");
 
+                entity.Property(e => e.AlipayAuthToken)
+                    .HasColumnType("varchar(100)")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.AlipayPid)
+                    .HasColumnType("varchar(50)")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.AlipayRemark)
+                    .HasColumnType("varchar(500)")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.AlipaySignUrl)
+                    .HasColumnType("varchar(500)")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
                 entity.Property(e => e.AppAppid)
                     .HasColumnType("varchar(50)")
                     .HasCharSet("utf8")
@@ -5302,6 +5322,16 @@ namespace MySystem.Models
 
                 entity.Property(e => e.Version).HasColumnType("int(11)");
 
+                entity.Property(e => e.WeChatRemark)
+                    .HasColumnType("varchar(500)")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
+                entity.Property(e => e.WeChatSignUrl)
+                    .HasColumnType("varchar(500)")
+                    .HasCharSet("utf8")
+                    .HasCollation("utf8_general_ci");
+
                 entity.Property(e => e.WebAppId)
                     .HasColumnType("varchar(50)")
                     .HasCharSet("utf8")

+ 1 - 1
PublicClass/GraphQL/IRepository.cs

@@ -1,6 +1,6 @@
 using System;
 using System.Collections.Generic;
-using MySystem.PxcModels;
+using MySystem.Models;
 
 namespace MySystem.PublicClass.GraphQL
 {

+ 1 - 1
PublicClass/GraphQL/Query.cs

@@ -1,6 +1,6 @@
 using System;
 using GraphQL.Types;
-using MySystem.PxcModels;
+using MySystem.Models;
 
 namespace MySystem.PublicClass.GraphQL
 {

+ 1 - 1
PublicClass/GraphQL/Repository.cs

@@ -1,7 +1,7 @@
 using System;
 using System.Collections.Generic;
 using System.Linq;
-using MySystem.PxcModels;
+using MySystem.Models;
 
 namespace MySystem.PublicClass.GraphQL
 {

+ 0 - 49
PxcModels/ActiveReward.cs

@@ -1,49 +0,0 @@
-using System;
-using System.Collections.Generic;
-
-namespace MySystem.PxcModels
-{
-    public partial class ActiveReward
-    {
-        public int Id { get; set; }
-        public int Sort { get; set; }
-        public int QueryCount { get; set; }
-        public int Status { get; set; }
-        public int Version { get; set; }
-        public DateTime? CreateDate { get; set; }
-        public DateTime? UpdateDate { get; set; }
-        public string CreateMan { get; set; }
-        public string UpdateMan { get; set; }
-        public string SeoTitle { get; set; }
-        public string SeoKeyword { get; set; }
-        public string SeoDescription { get; set; }
-        public int ParentParentUserId { get; set; }
-        public int ParentUserId { get; set; }
-        public int MerUserId { get; set; }
-        public int TopUserId { get; set; }
-        public DateTime? ActDate { get; set; }
-        public string Remark { get; set; }
-        public string City { get; set; }
-        public string Province { get; set; }
-        public string RewardTips { get; set; }
-        public int RewardRef { get; set; }
-        public int SnStoreId { get; set; }
-        public string ActTypeDesc { get; set; }
-        public int ActType { get; set; }
-        public int SnApplyUserId { get; set; }
-        public int SnType { get; set; }
-        public string KqSnNo { get; set; }
-        public string KqMerNo { get; set; }
-        public string MerUserNav { get; set; }
-        public int DirectBuddyNo { get; set; }
-        public string UserNav { get; set; }
-        public int BrandId { get; set; }
-        public decimal RuleRewardAmount { get; set; }
-        public decimal DivideAmount { get; set; }
-        public decimal RewardAmount { get; set; }
-        public int RewardSourceUserId { get; set; }
-        public DateTime? StandardDate { get; set; }
-        public int MerchantId { get; set; }
-        public int UserId { get; set; }
-    }
-}

+ 0 - 26
PxcModels/ActivityEnrolRecord.cs

@@ -1,26 +0,0 @@
-using System;
-using System.Collections.Generic;
-
-namespace MySystem.PxcModels
-{
-    public partial class ActivityEnrolRecord
-    {
-        public int Id { get; set; }
-        public int Sort { get; set; }
-        public int QueryCount { get; set; }
-        public int Status { get; set; }
-        public int Version { get; set; }
-        public DateTime? CreateDate { get; set; }
-        public DateTime? UpdateDate { get; set; }
-        public string CreateMan { get; set; }
-        public string UpdateMan { get; set; }
-        public string SeoTitle { get; set; }
-        public string SeoKeyword { get; set; }
-        public string SeoDescription { get; set; }
-        public string EffectEndTime { get; set; }
-        public string EffectStartTime { get; set; }
-        public string EnrolMonth { get; set; }
-        public int UserId { get; set; }
-        public int ActId { get; set; }
-    }
-}

+ 0 - 37
PxcModels/ActivityInfo.cs

@@ -1,37 +0,0 @@
-using System;
-using System.Collections.Generic;
-
-namespace MySystem.PxcModels
-{
-    public partial class ActivityInfo
-    {
-        public int Id { get; set; }
-        public int Sort { get; set; }
-        public int QueryCount { get; set; }
-        public int Status { get; set; }
-        public int Version { get; set; }
-        public DateTime? CreateDate { get; set; }
-        public DateTime? UpdateDate { get; set; }
-        public string CreateMan { get; set; }
-        public string UpdateMan { get; set; }
-        public string SeoTitle { get; set; }
-        public string SeoKeyword { get; set; }
-        public string SeoDescription { get; set; }
-        public string Remark { get; set; }
-        public string ActContent { get; set; }
-        public string ActBanner { get; set; }
-        public string ActReferUrl { get; set; }
-        public string EnrolEndTime { get; set; }
-        public string EnrolStartTime { get; set; }
-        public DateTime? EnrolEndDate { get; set; }
-        public DateTime? EnrolStartDate { get; set; }
-        public DateTime? EffectEndDate { get; set; }
-        public DateTime? EffectStartDate { get; set; }
-        public int IsTop { get; set; }
-        public string LimitTopBuddy { get; set; }
-        public string BrandId { get; set; }
-        public string ActName { get; set; }
-        public int ActType { get; set; }
-        public string ActCode { get; set; }
-    }
-}

+ 0 - 32
PxcModels/ActivityPrizeDetail.cs

@@ -1,32 +0,0 @@
-using System;
-using System.Collections.Generic;
-
-namespace MySystem.PxcModels
-{
-    public partial class ActivityPrizeDetail
-    {
-        public int Id { get; set; }
-        public int Sort { get; set; }
-        public int QueryCount { get; set; }
-        public int Status { get; set; }
-        public int Version { get; set; }
-        public DateTime? CreateDate { get; set; }
-        public DateTime? UpdateDate { get; set; }
-        public string CreateMan { get; set; }
-        public string UpdateMan { get; set; }
-        public string SeoTitle { get; set; }
-        public string SeoKeyword { get; set; }
-        public string SeoDescription { get; set; }
-        public int TopUserId { get; set; }
-        public decimal ProfitRate { get; set; }
-        public decimal ActRewardAmt { get; set; }
-        public decimal CreditTradeAmt { get; set; }
-        public decimal OtherProdCreditTradeAmt { get; set; }
-        public string TradeMonth { get; set; }
-        public int CheckStatus { get; set; }
-        public decimal TradeAmt { get; set; }
-        public int BrandId { get; set; }
-        public int UserId { get; set; }
-        public int ActivityId { get; set; }
-    }
-}

+ 0 - 24
PxcModels/ActivityRedPackageJoins.cs

@@ -1,24 +0,0 @@
-using System;
-using System.Collections.Generic;
-
-namespace MySystem.PxcModels
-{
-    public partial class ActivityRedPackageJoins
-    {
-        public int Id { get; set; }
-        public int Sort { get; set; }
-        public int QueryCount { get; set; }
-        public int Status { get; set; }
-        public int Version { get; set; }
-        public DateTime? CreateDate { get; set; }
-        public DateTime? UpdateDate { get; set; }
-        public string CreateMan { get; set; }
-        public string UpdateMan { get; set; }
-        public string SeoTitle { get; set; }
-        public string SeoKeyword { get; set; }
-        public string SeoDescription { get; set; }
-        public decimal PrizeAmt { get; set; }
-        public string ActivityDate { get; set; }
-        public int UserId { get; set; }
-    }
-}

+ 0 - 24
PxcModels/ActivityRedPackageJoinss.cs

@@ -1,24 +0,0 @@
-using System;
-using System.Collections.Generic;
-
-namespace MySystem.PxcModels
-{
-    public partial class ActivityRedPackageJoinss
-    {
-        public int Id { get; set; }
-        public int Sort { get; set; }
-        public int QueryCount { get; set; }
-        public int Status { get; set; }
-        public int Version { get; set; }
-        public DateTime? CreateDate { get; set; }
-        public DateTime? UpdateDate { get; set; }
-        public string CreateMan { get; set; }
-        public string UpdateMan { get; set; }
-        public string SeoTitle { get; set; }
-        public string SeoKeyword { get; set; }
-        public string SeoDescription { get; set; }
-        public decimal PrizeAmt { get; set; }
-        public string ActivityDate { get; set; }
-        public int UserId { get; set; }
-    }
-}

+ 0 - 24
PxcModels/ActivityRedPackageStock.cs

@@ -1,24 +0,0 @@
-using System;
-using System.Collections.Generic;
-
-namespace MySystem.PxcModels
-{
-    public partial class ActivityRedPackageStock
-    {
-        public int Id { get; set; }
-        public int Sort { get; set; }
-        public int QueryCount { get; set; }
-        public int Status { get; set; }
-        public int Version { get; set; }
-        public DateTime? CreateDate { get; set; }
-        public DateTime? UpdateDate { get; set; }
-        public string CreateMan { get; set; }
-        public string UpdateMan { get; set; }
-        public string SeoTitle { get; set; }
-        public string SeoKeyword { get; set; }
-        public string SeoDescription { get; set; }
-        public string ActivityDate { get; set; }
-        public decimal PrizeAmt { get; set; }
-        public int UserId { get; set; }
-    }
-}

+ 0 - 24
PxcModels/ActivityRedPackageStocks.cs

@@ -1,24 +0,0 @@
-using System;
-using System.Collections.Generic;
-
-namespace MySystem.PxcModels
-{
-    public partial class ActivityRedPackageStocks
-    {
-        public int Id { get; set; }
-        public int Sort { get; set; }
-        public int QueryCount { get; set; }
-        public int Status { get; set; }
-        public int Version { get; set; }
-        public DateTime? CreateDate { get; set; }
-        public DateTime? UpdateDate { get; set; }
-        public string CreateMan { get; set; }
-        public string UpdateMan { get; set; }
-        public string SeoTitle { get; set; }
-        public string SeoKeyword { get; set; }
-        public string SeoDescription { get; set; }
-        public string ActivityDate { get; set; }
-        public decimal PrizeAmt { get; set; }
-        public int UserId { get; set; }
-    }
-}

+ 0 - 25
PxcModels/ActivityRedPackageTop10.cs

@@ -1,25 +0,0 @@
-using System;
-using System.Collections.Generic;
-
-namespace MySystem.PxcModels
-{
-    public partial class ActivityRedPackageTop10
-    {
-        public int Id { get; set; }
-        public int Sort { get; set; }
-        public int QueryCount { get; set; }
-        public int Status { get; set; }
-        public int Version { get; set; }
-        public DateTime? CreateDate { get; set; }
-        public DateTime? UpdateDate { get; set; }
-        public string CreateMan { get; set; }
-        public string UpdateMan { get; set; }
-        public string SeoTitle { get; set; }
-        public string SeoKeyword { get; set; }
-        public string SeoDescription { get; set; }
-        public int Kind { get; set; }
-        public int TimeNum { get; set; }
-        public decimal PrizeAmt { get; set; }
-        public int UserId { get; set; }
-    }
-}

+ 0 - 25
PxcModels/ActivityRedPackageTop10s.cs

@@ -1,25 +0,0 @@
-using System;
-using System.Collections.Generic;
-
-namespace MySystem.PxcModels
-{
-    public partial class ActivityRedPackageTop10s
-    {
-        public int Id { get; set; }
-        public int Sort { get; set; }
-        public int QueryCount { get; set; }
-        public int Status { get; set; }
-        public int Version { get; set; }
-        public DateTime? CreateDate { get; set; }
-        public DateTime? UpdateDate { get; set; }
-        public string CreateMan { get; set; }
-        public string UpdateMan { get; set; }
-        public string SeoTitle { get; set; }
-        public string SeoKeyword { get; set; }
-        public string SeoDescription { get; set; }
-        public int Kind { get; set; }
-        public int TimeNum { get; set; }
-        public decimal PrizeAmt { get; set; }
-        public int UserId { get; set; }
-    }
-}

+ 0 - 26
PxcModels/Advertisment.cs

@@ -1,26 +0,0 @@
-using System;
-using System.Collections.Generic;
-
-namespace MySystem.PxcModels
-{
-    public partial class Advertisment
-    {
-        public int Id { get; set; }
-        public int Sort { get; set; }
-        public int QueryCount { get; set; }
-        public int Status { get; set; }
-        public int Version { get; set; }
-        public DateTime? CreateDate { get; set; }
-        public DateTime? UpdateDate { get; set; }
-        public string CreateMan { get; set; }
-        public string UpdateMan { get; set; }
-        public string SeoTitle { get; set; }
-        public string SeoKeyword { get; set; }
-        public string SeoDescription { get; set; }
-        public string Url { get; set; }
-        public string Contents { get; set; }
-        public string PicPath { get; set; }
-        public string ColId { get; set; }
-        public string Title { get; set; }
-    }
-}

+ 0 - 25
PxcModels/AgentLevelSet.cs

@@ -1,25 +0,0 @@
-using System;
-using System.Collections.Generic;
-
-namespace MySystem.PxcModels
-{
-    public partial class AgentLevelSet
-    {
-        public int Id { get; set; }
-        public int Sort { get; set; }
-        public int QueryCount { get; set; }
-        public int Status { get; set; }
-        public int Version { get; set; }
-        public DateTime? CreateDate { get; set; }
-        public DateTime? UpdateDate { get; set; }
-        public string CreateMan { get; set; }
-        public string UpdateMan { get; set; }
-        public string SeoTitle { get; set; }
-        public string SeoKeyword { get; set; }
-        public string SeoDescription { get; set; }
-        public decimal AreasProfitPercent { get; set; }
-        public ulong LevelDiff { get; set; }
-        public decimal ProfitPercent { get; set; }
-        public string Name { get; set; }
-    }
-}

+ 0 - 32
PxcModels/AppBottomNavs.cs

@@ -1,32 +0,0 @@
-using System;
-using System.Collections.Generic;
-
-namespace MySystem.PxcModels
-{
-    public partial class AppBottomNavs
-    {
-        public int Id { get; set; }
-        public int Sort { get; set; }
-        public int QueryCount { get; set; }
-        public int Status { get; set; }
-        public int Version { get; set; }
-        public DateTime? CreateDate { get; set; }
-        public DateTime? UpdateDate { get; set; }
-        public string CreateMan { get; set; }
-        public string UpdateMan { get; set; }
-        public string SeoTitle { get; set; }
-        public string SeoKeyword { get; set; }
-        public string SeoDescription { get; set; }
-        public string BgColor { get; set; }
-        public string NoPageHint { get; set; }
-        public string PageName { get; set; }
-        public string NormalTextColor { get; set; }
-        public string SelectTextColor { get; set; }
-        public string NormalIcon { get; set; }
-        public string SelectIcon { get; set; }
-        public string Title { get; set; }
-        public string PagPath { get; set; }
-        public string ScrollerAnimationImages { get; set; }
-        public string Style { get; set; }
-    }
-}

+ 0 - 28
PxcModels/AppVersion.cs

@@ -1,28 +0,0 @@
-using System;
-using System.Collections.Generic;
-
-namespace MySystem.PxcModels
-{
-    public partial class AppVersion
-    {
-        public int Id { get; set; }
-        public int Sort { get; set; }
-        public int QueryCount { get; set; }
-        public int Status { get; set; }
-        public int Version { get; set; }
-        public DateTime? CreateDate { get; set; }
-        public DateTime? UpdateDate { get; set; }
-        public string CreateMan { get; set; }
-        public string UpdateMan { get; set; }
-        public string SeoTitle { get; set; }
-        public string SeoKeyword { get; set; }
-        public string SeoDescription { get; set; }
-        public string DownloadUrl { get; set; }
-        public string CancelText { get; set; }
-        public string ConfirmText { get; set; }
-        public string Info { get; set; }
-        public string Title { get; set; }
-        public string VersionNum { get; set; }
-        public string TerminalKind { get; set; }
-    }
-}

+ 0 - 24
PxcModels/AppVideo.cs

@@ -1,24 +0,0 @@
-using System;
-using System.Collections.Generic;
-
-namespace MySystem.PxcModels
-{
-    public partial class AppVideo
-    {
-        public int Id { get; set; }
-        public int Sort { get; set; }
-        public int QueryCount { get; set; }
-        public int Status { get; set; }
-        public int Version { get; set; }
-        public DateTime? CreateDate { get; set; }
-        public DateTime? UpdateDate { get; set; }
-        public string CreateMan { get; set; }
-        public string UpdateMan { get; set; }
-        public string SeoTitle { get; set; }
-        public string SeoKeyword { get; set; }
-        public string SeoDescription { get; set; }
-        public string Remark { get; set; }
-        public string BannerPic { get; set; }
-        public string Name { get; set; }
-    }
-}

+ 0 - 26
PxcModels/AppVideoList.cs

@@ -1,26 +0,0 @@
-using System;
-using System.Collections.Generic;
-
-namespace MySystem.PxcModels
-{
-    public partial class AppVideoList
-    {
-        public int Id { get; set; }
-        public int Sort { get; set; }
-        public int QueryCount { get; set; }
-        public int Status { get; set; }
-        public int Version { get; set; }
-        public DateTime? CreateDate { get; set; }
-        public DateTime? UpdateDate { get; set; }
-        public string CreateMan { get; set; }
-        public string UpdateMan { get; set; }
-        public string SeoTitle { get; set; }
-        public string SeoKeyword { get; set; }
-        public string SeoDescription { get; set; }
-        public string BgPic { get; set; }
-        public int VideoId { get; set; }
-        public string Remark { get; set; }
-        public string VideoUrl { get; set; }
-        public string Title { get; set; }
-    }
-}

+ 0 - 28
PxcModels/BackEndOpRecord.cs

@@ -1,28 +0,0 @@
-using System;
-using System.Collections.Generic;
-
-namespace MySystem.PxcModels
-{
-    public partial class BackEndOpRecord
-    {
-        public int Id { get; set; }
-        public int Sort { get; set; }
-        public int QueryCount { get; set; }
-        public int Status { get; set; }
-        public DateTime? CreateDate { get; set; }
-        public DateTime? UpdateDate { get; set; }
-        public string SeoTitle { get; set; }
-        public string SeoKeyword { get; set; }
-        public string SeoDescription { get; set; }
-        public string Remark { get; set; }
-        public string AfterData { get; set; }
-        public string BeforeData { get; set; }
-        public string TableEnName { get; set; }
-        public string TableChName { get; set; }
-        public string SysRealName { get; set; }
-        public string SysUserName { get; set; }
-        public string CreateMan { get; set; }
-        public string UpdateMan { get; set; }
-        public int Version { get; set; }
-    }
-}

+ 0 - 26
PxcModels/BankInfo.cs

@@ -1,26 +0,0 @@
-using System;
-using System.Collections.Generic;
-
-namespace MySystem.PxcModels
-{
-    public partial class BankInfo
-    {
-        public int Id { get; set; }
-        public int Sort { get; set; }
-        public int QueryCount { get; set; }
-        public int Status { get; set; }
-        public int Version { get; set; }
-        public DateTime? CreateDate { get; set; }
-        public DateTime? UpdateDate { get; set; }
-        public string CreateMan { get; set; }
-        public string UpdateMan { get; set; }
-        public string SeoTitle { get; set; }
-        public string SeoKeyword { get; set; }
-        public string SeoDescription { get; set; }
-        public string BankNameAbbr { get; set; }
-        public string UnitedBankName { get; set; }
-        public string UnitedBankNo { get; set; }
-        public string BankCode { get; set; }
-        public string BankName { get; set; }
-    }
-}

部分文件因为文件数量过多而无法显示