From d25aaa5701cb572c10f35225f1967aeb2a8a8516 Mon Sep 17 00:00:00 2001
From: zhengyuxuan <zhengyuxuan1995>
Date: 星期三, 02 四月 2025 16:40:38 +0800
Subject: [PATCH] fix:计算账户余额

---
 LifePayment/LifePayment.Domain.Shared/LifePaymentConstant.cs |  742 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 738 insertions(+), 4 deletions(-)

diff --git a/LifePayment/LifePayment.Domain.Shared/LifePaymentConstant.cs b/LifePayment/LifePayment.Domain.Shared/LifePaymentConstant.cs
index c4345ea..1100406 100644
--- a/LifePayment/LifePayment.Domain.Shared/LifePaymentConstant.cs
+++ b/LifePayment/LifePayment.Domain.Shared/LifePaymentConstant.cs
@@ -31,6 +31,8 @@
 
         public const string 寰俊灏忕▼搴忚韩浠戒細璇濅俊鎭� = "/sns/jscode2session?grant_type=authorization_code&appid={0}&secret={1}&js_code={2}";
 
+        public const string 寰俊鍏紬鍙疯幏鍙朼ccess_token = "/sns/oauth2/access_token?appid={0}&secret={1}&code={2}&grant_type=authorization_code";
+
         public const string PhoneMessageName = "PhoneMessage";
 
         public const string SMStemplate404 = "鏈壘鍒拌鐭俊妯℃澘";
@@ -45,9 +47,25 @@
 
         public const string PayTransactionsNative = "/v3/pay/transactions/native";
 
+        public const string PayJsApi = "/v3/pay/transactions/jsapi";
+
         public const string PayTransactions = "/v3/pay/transactions";
 
+        public const string PayTransactionsH5 = "/v3/pay/transactions/h5";
+
+        public const string WxPayTradeQyery = "/v3/pay/transactions/out-trade-no/{0}?mchid={1}";
+
+        public const string WxPayDomesticRefunds = "/v3/refund/domestic/refunds";
+
+        public const string WxPayDomesticRefundsQuery = "/v3/refund/domestic/refunds/{0}";
+
+        public const string WxPayTradeBillApply = "/v3/fund-app/mch-transfer/elecsign/out-bill-no";
+
+        public const string WxPayTradeBillQuery = "/v3/fund-app/mch-transfer/elecsign/out-bill-no/{out_bill_no}";
+
         public const string WxRechargeNotifySectionUrl = "/api/WxPayNotify/WxRechargeNotify";
+
+        public const string WxPayDomesticRefundsNotifySectionUrl = "/api/WxPayNotify/WxPayDomesticRefundsNotify";
 
         public const string AliRechargeNotifySectionUrl = "/api/AliPayNotify/AliRechargeNotify";
 
@@ -69,6 +87,22 @@
 
         }
 
+        public static class CategoryName
+        {
+            public const string 琛屼笟璧勮 = "琛屼笟璧勮";
+
+            public const string 鍗撶帴瀛︾ぞ = "鍗撶帴瀛︾ぞ";
+
+        }
+
+        public static class CooperApplyType
+        {
+            public const string 骞冲彴鍚堜綔 = "骞冲彴鍚堜綔";
+            public const string 琛屼笟璧勮 = "琛屼笟璧勮";
+
+            public const string 琛屼笟璧勮鍚堜綔 = "琛屼笟璧勮鍚堜綔";
+
+        }
 
         public static class UserType
         {
@@ -124,12 +158,162 @@
 
         }
 
+        public static class OperateType
+        {
+            public static int 骞冲彴鑷惀 = 1;
+
+            public static int 瀹㈡埛鑷惀 = 2;
+
+            public static int 閲囬泦 = 3;
+        }
+
+        public static class ProductStatus
+        {
+            public static int 宸蹭笅鏋� = -20;
+
+            public static int 椹冲洖 = -10;
+
+            public static int 淇濆瓨 = -1;
+
+            public static int 鎻愪氦寰呭鏍� = 0;
+
+            public static int 閫氳繃 = 10;
+        }
+
+        /// <summary>
+        /// -20 椹冲洖 1鍒濆鐘舵�� 10鏈彁浜� 20寰呭鏍� 30 杩涜涓� 40 涓嬫灦 50 绯荤粺涓嬫灦
+        /// </summary>
+        public static class ParkOrHrStatus
+        {
+            /// <summary>
+            /// 鍒濆鐘舵��
+            /// </summary>
+            public static int Init = 1;
+
+            /// <summary>
+            /// 0 鏈紑閫�
+            /// </summary>
+            public static int NotOpen = 0;
+
+            /// <summary>
+            /// 10 鑽夌
+            /// </summary>
+            public static int ToBeReviewed = 10;
+
+            /// <summary>
+            /// 20 鍔炵悊涓�
+            /// </summary>
+            public static int Conducting = 20;
+
+            /// <summary>
+            ///  30閫氳繃
+            /// </summary>
+            public static int Pass = 30;
+
+            /// <summary>
+            /// -20 椹冲洖
+            /// </summary>
+            public static int Reject = -20;
+
+            /// <summary>
+            /// 涓嬫灦
+            /// </summary>
+            public static int OffShelf = 40;
+
+            /// <summary>
+            /// 绯荤粺涓嬫灦
+            /// </summary>
+            public static int SystemOffShelf = 50;
+
+
+        }
+        public static class AdvertiseStatus
+        {
+            public static int 涓嬫灦 = -10;
+
+            public static int 鎻愪氦 = 0;
+
+            public static int 涓婃灦 = 10;
+        }
+
+        public static class InformationStatus
+        {
+            /// <summary>
+            /// (宸插簾寮�)
+            /// </summary>
+            public static int 宸蹭笅鏋� = -20;
+
+            public static int 椹冲洖 = -10;
+
+            /// <summary>
+            /// (宸插簾寮�)
+            /// </summary>
+            public static int 淇濆瓨 = -1;
+
+            public static int 鎻愪氦寰呭鏍� = 0;
+
+            public static int 鎺ユ敹寰呴噰鐢� = 1;// 浠呴噰闆嗙殑璧勮
+
+            public static int 閫氳繃 = 10;
+        }
+
+        public static class InformationIntroInfoType
+        {
+            /// <summary>
+            /// 鏂囨湰
+            /// </summary>
+            public static int Text = 0;
+
+            /// <summary>
+            /// 鍥剧墖
+            /// </summary>
+            public static int Pic = 1;
+
+            /// <summary>
+            /// 瑙嗛
+            /// </summary>
+            public static int Video = 2;
+
+            /// <summary>
+            /// 瀵屾枃鏈�
+            /// </summary>
+            public static int RichText = 3;
+
+            /// <summary>
+            /// 寰俊鐨勫唴瀹�
+            /// </summary>
+            public static int WXContent = 4;
+        }
+
+        public static class InformationDefault
+        {
+            public const string DefaultCoverUrl = "https://parkmanagement.oss-cn-hangzhou.aliyuncs.com/12333/assets/icon-default-cover.png";
+
+            public const string DefaultAuthor = "浣氬悕";
+
+        }
 
         public static class ImplementAreaType
         {
             public static int 鍏ㄥ浗 = 0;
 
             public static int 鐪佷唤 = 1;
+        }
+
+        public static class AdvertisePriceStatus
+        {
+            public static int 宸蹭笅鏋� = -10;
+
+            public static int 鏄剧ず涓� = 10;
+        }
+
+        public static class UserWithdrawStatus
+        {
+            public static int 椹冲洖 = -10;
+
+            public static int 鎵撴涓� = 10;
+
+            public static int 宸插畬鎴� = 20;
         }
 
         public static class PeriodType
@@ -145,6 +329,15 @@
             public static int 骞� = 365;
         }
 
+        public static class CommentStatus
+        {
+            public static int 椹冲洖 = -10;
+
+            public static int 鎻愪氦寰呭鏍� = 0;
+
+            public static int 閫氳繃 = 10;
+        }
+
         public static class WxMiniAppLoginStatus
         {
             public static int 鐧诲綍杩囨湡 = -10;
@@ -154,12 +347,306 @@
             public static int 鐧诲綍纭 = 10;
         }
 
+        public static class PurchasedProductStatus
+        {
+            public static int 鐢宠閫�娆鹃┏鍥� = -30;
+
+            public static int 閫�娆炬垚鍔� = -20;
+
+            public static int 鐢宠閫�娆� = -10;
+
+            public static int 寰呯‘璁ら獙鏀� = 0;
+
+            public static int 纭楠屾敹 = 10;
+
+            public static int 浜ゆ槗瀹屾垚 = 20;
+        }
+
+        public static class AdvertisePayType
+        {
+            public static int 浠樿垂 = 0;
+
+            public static int 鍏嶈垂 = 1;
+        }
+
+        public static class InformationApplyStatus
+        {
+            public static int 鎶ュ悕涓� = 0;
+
+            public static int 杩涜涓� = 10;
+
+            public static int 宸茬粨鏉� = 20;
+        }
 
         public static class AmountTransferOIType
         {
             public static int 鏀嚭 = -1;
 
             public static int 鏀跺叆 = 1;
+        }
+
+        public static class AmountTransferType
+        {
+            public static int 浜у搧閫�娆� = -1;
+
+            public static int 浜у搧璐拱 = 1;
+
+            public static int 璧勮鎵撹祻 = 2;
+
+            public static int 浜у搧骞垮憡鎶曟斁 = 3;
+
+            public static int 璧勮骞垮憡鎶曟斁 = 4;
+        }
+
+        public static class RechargeStatus
+        {
+            public const int 鑾峰彇鍏呭�肩爜澶辫触 = -100;
+
+            public const int 鏀粯澶辫触 = -40;
+
+            public const int 杞叆閫�娆� = -30;
+
+            public const int 宸叉挙閿� = -20;
+
+            public const int 浜ゆ槗鍏抽棴 = -10;
+
+            public const int 鏈敮浠� = 0;
+
+            public const int 鏀粯涓� = 10;
+
+            public const int 鏀粯鎴愬姛 = 20;
+
+            public const int 浜ゆ槗缁撴潫 = 30;
+        }
+
+        public static class WxPayStatus
+        {
+            public const string 鏀粯澶辫触 = "PAYERROR";
+
+            public const string 杞叆閫�娆� = "REFUND";
+
+            public const string 宸叉挙閿� = "REVOKED";
+
+            public const string 浜ゆ槗鍏抽棴 = "CLOSED";
+
+            public const string 鏈敮浠� = "NOTPAY";
+
+            public const string 鏀粯涓� = "USERPAYING";
+
+            public const string 鏀粯鎴愬姛 = "SUCCESS";
+        }
+
+        public static class WxPayRefundStatus
+        {
+            public const string 閫�娆炬垚鍔� = "SUCCESS";
+
+            public const string 閫�娆惧叧闂� = "CLOSED";
+
+            public const string 閫�娆惧鐞嗕腑 = "PROCESSING";
+
+            public const string 閫�娆惧紓甯� = "ABNORMAL";
+
+        }
+        public static class ThumbsUpStatus
+        {
+            public const int 鍙栨秷 = 0;
+
+            public const int 鐐硅禐 = 1;
+        }
+
+        public static class TagsType
+        {
+            //public const int 浜у搧 = 0;
+            //public const int 璧勮 = 1;
+            public const int 鏅�� = 1;
+            public const int 鑷畾涔� = 2;
+            public const int 浜у搧蹇嵎璇勪环 = 3;
+        }
+
+        public static class RechargeType
+        {
+            public const int 寰俊 = 10;
+
+            public const int 鏀粯瀹� = 20;
+
+            public const int 绾夸笅 = 30;
+        }
+
+        public static class MessageType
+        {
+            public const int 浜у搧鍏虫敞 = 1;
+            public const int 浜у搧浠樻 = 2;
+            public const int 璧勮鎵撹祻 = 3;
+            public const int 浜у搧楠屾敹 = 4;
+            public const int 浜у搧璇勪环 = 5;
+            public const int 浜у搧閫�娆� = 6;
+            public const int 瀹炲悕璁よ瘉瀹℃牳閫氳繃鏃犻渶寮�绁� = 7;
+            public const int 瀹炲悕璁よ瘉瀹℃牳閫氳繃闇�瑕佸紑绁� = 8;
+            public const int 瀹炲悕璁よ瘉瀹℃牳涓嶉�氳繃 = 9;
+            public const int 瀹炲悕璁よ瘉鍙戠エ宸插紑鍏� = 10;
+            public const int 瀹炲悕璁よ瘉鍗冲皢鍒版湡 = 11;
+            public const int 鐢ㄦ埛璁よ瘉澶辨晥 = 12;
+            public const int 鎶曚繚鎴愬姛 = 13;
+            public const int 鎶曚繚澶辫触 = 14;
+            public const int 浜哄憳鎵瑰 = 15;
+            public const int 鎵归噺閫�淇� = 16;
+            public const int 淇濋櫓鍗冲皢鍒版湡 = 17;
+            public const int 閽卞寘寮�鎴� = 18;
+            public const int 瀵瑰崟杞处鎴愬姛 = 19;
+            public const int 瀵瑰崟杞处瀹℃牳鏈�氳繃 = 20;
+            public const int 瀵瑰崟杞处澶辫触 = 21;
+            public const int 閽卞寘鍏呭�兼垚鍔� = 22;
+            public const int 閽卞寘鍏呭�煎け璐� = 23;
+            public const int 鎵归噺杞处鎴愬姛 = 24;
+            public const int 鎵归噺杞处瀹℃牳鏈�氳繃 = 25;
+            public const int 鎵归噺杞处澶辫触 = 26;
+            public const int 鎵f鎻愰啋 = 40;
+            public const int 鎴戞湁浜哄鏍告湭閫氳繃 = 50;
+            public const int 鎴戞湁璁㈠崟瀹℃牳鏈�氳繃 = 60;
+            public const int 鎴戞湁璁㈠崟鐢宠 = 61;
+            public const int 涔欐柟鏀跺埌鍗忚纭閭�璇� = 70;
+            public const int 鐢叉柟鏀跺埌鍗忚绛剧害閭�璇� = 71;
+            public const int 鍚堝悓绛剧害鎴愬姛 = 72;
+            public const int 鍚堝悓绛剧害澶辫触 = 73;
+            public const int 鐢叉柟鍒版湡鏀粯鎻愰啋 = 74;
+            public const int 涔欐柟纭璐圭敤鏄庣粏鎻愰啋 = 75;
+            public const int 涔欐柟涓婁紶鍙戠エ鎻愰啋 = 76;
+            public const int 鐢叉柟纭鍙戠エ鎻愰啋 = 77;
+            public const int 涔欐柟鍙戣柂鎻愰啋 = 78;
+            public const int 鐢叉柟涓婁紶璐圭敤鏄庣粏鎻愰啋 = 79;
+            public const int 绾夸笅鏀粯瀹℃牳鎴愬姛 = 80;
+            public const int 绾夸笅鏀粯瀹℃牳鏈�氳繃 = 87;
+            public const int 鎶曚繚鎵瑰崟瀹℃牳閫氳繃 = 81;
+            public const int 鎶曚繚鎵瑰崟瀹℃牳椹冲洖 = 82;
+            public const int 鎶曚繚鎵瑰崟鎴愬姛 = 83;
+            public const int 鎶曚繚鎵瑰崟鏀粯澶辫触 = 84;
+            public const int 鎶曚繚瀹℃牳鎴愬姛 = 85;
+            public const int 鎶曚繚瀹℃牳澶辫触 = 86;
+            public const int 鎶曚繚鏀粯澶辫触 = 88;
+        }
+
+        public static class AliPayStatus
+        {
+            public const string 瓒呮椂鍏抽棴 = "TRADE_CLOSED";
+
+            public const string 绛夊緟浠樻 = "WAIT_BUYER_PAY";
+
+            public const string 鏀粯鎴愬姛 = "TRADE_SUCCESS";
+
+            public const string 浜ゆ槗缁撴潫 = "TRADE_FINISHED";
+        }
+
+        public static class AlipayOrderStatus
+        {
+            public const string 閫�绁� = "REFUND";
+
+            public const string 澶勭悊涓� = "DEALING";
+
+            public const string 鏀粯鎴愬姛 = "SUCCESS";
+
+            public const string 鏀粯澶辫触 = "FAIL";
+        }
+
+        public static Dictionary<string, int> AliPayStatusDic = new Dictionary<string, int>()
+        {
+              { AliPayStatus.瓒呮椂鍏抽棴, RechargeStatus.浜ゆ槗鍏抽棴 },
+              { AliPayStatus.绛夊緟浠樻, RechargeStatus.鏀粯涓� },
+              { AliPayStatus.鏀粯鎴愬姛, RechargeStatus.鏀粯鎴愬姛 },
+              { AliPayStatus.浜ゆ槗缁撴潫, RechargeStatus.浜ゆ槗缁撴潫 },
+        };
+
+        public static Dictionary<string, int> WxPayStatusDic = new Dictionary<string, int>()
+        {
+              { WxPayStatus.鏀粯澶辫触, RechargeStatus.鏀粯澶辫触 },
+              { WxPayStatus.杞叆閫�娆�, RechargeStatus.杞叆閫�娆� },
+              { WxPayStatus.宸叉挙閿�, RechargeStatus.宸叉挙閿� },
+              { WxPayStatus.浜ゆ槗鍏抽棴, RechargeStatus.浜ゆ槗鍏抽棴 },
+              { WxPayStatus.鏈敮浠�, RechargeStatus.鏈敮浠� },
+              { WxPayStatus.鏀粯涓�, RechargeStatus.鏀粯涓� },
+              { WxPayStatus.鏀粯鎴愬姛, RechargeStatus.鏀粯鎴愬姛 },
+        };
+
+
+        public static Dictionary<int, string> MessageDic = new Dictionary<int, string>()
+        {
+              { MessageType.浜у搧鍏虫敞, "銆恵0}銆戠敤鎴穥1}鏂板叧娉ㄤ簡浣犵殑銆恵2}銆憑3}" },
+              { MessageType.浜у搧浠樻,"銆恵0}銆戠敤鎴穥1}鏂拌喘涔颁簡浣犵殑銆恵2}銆憑3}"  },
+              { MessageType.璧勮鎵撹祻, "銆恵0}銆戠敤鎴穥1}鎵撹祻浜嗕綘{2}銆恵3}銆憑4}"  },
+              { MessageType.浜у搧楠屾敹,"銆恵0}銆戠敤鎴穥1}纭楠屾敹浜嗕綘鐨勪骇鍝併�恵2}銆憑3}"  },
+              { MessageType.浜у搧璇勪环, "銆恵0}銆戠敤鎴穥1}璇勪环浜嗕綘鐨勪骇鍝併�恵2}銆憑3}" },
+              { MessageType.浜у搧閫�娆�,"銆恵0}銆戠敤鎴穥1}鐢宠閫�娆句簡浣犵殑浜у搧銆恵2}銆憑3}"  },
+              { MessageType.瀹炲悕璁よ瘉瀹℃牳閫氳繃鏃犻渶寮�绁�,"銆恵0}銆戞偍鎻愪氦鐨剓1}浼佷笟瀹炲悕淇℃伅宸查�氳繃瀹℃牳銆�"  },
+              { MessageType.瀹炲悕璁よ瘉瀹℃牳閫氳繃闇�瑕佸紑绁�,"銆恵0}銆戞偍鎻愪氦鐨剓1}浼佷笟瀹炲悕淇℃伅宸查�氳繃瀹℃牳锛屽钩鍙板皢鍦�7涓伐浣滄棩鍐呭紑鍏疯璇佹湇鍔¤垂鍙戠エ銆�"  },
+              { MessageType.瀹炲悕璁よ瘉瀹℃牳涓嶉�氳繃,"銆恵0}銆戞偍鎻愪氦鐨剓1}浼佷笟瀹炲悕淇℃伅瀹℃牳鏈�氳繃銆傛湭閫氳繃鐞嗙敱锛歿2}銆�"  },
+              { MessageType.瀹炲悕璁よ瘉鍙戠エ宸插紑鍏�,"銆恵0}銆戞偍鎻愪氦鐨剓1}浼佷笟瀹炲悕璁よ瘉鏈嶅姟璐瑰彂绁ㄥ凡寮�鍏枫��"  },
+              { MessageType.瀹炲悕璁よ瘉鍗冲皢鍒版湡,"銆恵0}銆戞偍鎻愪氦鐨剓1}浼佷笟瀹炲悕璁よ瘉宸茶繘鍏ュ勾瀹℃湡锛屼负浜嗕繚璇佹偍璐﹀彿鐨勬甯镐娇鐢紝璇蜂簬{2}鍓嶅畬鎴愬勾瀹°��"  },
+              { MessageType.鐢ㄦ埛璁よ瘉澶辨晥,"銆恵0}銆戞偍鐨剓1}浼佷笟瀹炲悕淇℃伅宸插け鏁堛��"  },
+              { MessageType.鎶曚繚鎴愬姛,"銆愪繚闄┿�戞偍濂斤紝{0}鍒涘缓鎶曚繚缂栧彿锛歿1}鐨剓2}鎶曚繚鎴愬姛锛�"  },
+              { MessageType.鎶曚繚澶辫触,"銆愪繚闄┿�戞偍濂斤紝{0}鍒涘缓鎶曚繚缂栧彿锛歿1}鐨剓2}宸叉姇淇濆け璐ワ紝"  },
+              { MessageType.浜哄憳鎵瑰,"銆愪繚闄┿�戞偍濂斤紝{0}鍒涘缓鎶曚繚缂栧彿锛歿1}鐨剓2}{3}浜簕4}銆�"  },
+              { MessageType.鎵归噺閫�淇�,"銆愪繚闄┿�戞偍濂斤紝{0}鍒涘缓鎶曚繚缂栧彿锛歿1}鐨剓2}{3}浜簕4}銆�"  },
+              { MessageType.淇濋櫓鍗冲皢鍒版湡,"銆愪繚闄┿�戞偍濂斤紝鎶曚繚缂栧彿锛歿0}鐨剓1}{2}澶╁悗鍗冲皢鍒版湡锛岃鎮ㄥ強鏃舵姇淇濄��"  },
+              { MessageType.閽卞寘寮�鎴�,"鎮ㄧ殑{0}閽卞寘宸插紑閫氾紝"  },
+              { MessageType.瀵瑰崟杞处鎴愬姛,"浜ゆ槗娴佹按鍙凤細{0}锛屽凡鏀粯鎴愬姛"  },
+              { MessageType.瀵瑰崟杞处瀹℃牳鏈�氳繃,"浜ゆ槗娴佹按鍙凤細{0}锛屼粯娆惧鏍告湭閫氳繃锛屽師鍥狅細{1}"  },
+              { MessageType.瀵瑰崟杞处澶辫触,"浜ゆ槗娴佹按鍙凤細{0}锛屼粯娆惧け璐ワ紝鍘熷洜锛歿1}"  },
+              { MessageType.鎵归噺杞处鎴愬姛,"鎵规鍙凤細{0}锛屽凡鏀粯鎴愬姛"  },
+              { MessageType.鎵归噺杞处瀹℃牳鏈�氳繃,"鎵规鍙凤細{0}锛屼粯娆惧鏍告湭閫氳繃锛屽師鍥狅細{1}"  },
+              { MessageType.鎵归噺杞处澶辫触,"鎵规鍙凤細{0}锛屼粯娆惧け璐ワ紝鍘熷洜锛歿1}"  },
+              { MessageType.绾夸笅鏀粯瀹℃牳鎴愬姛,"浜ゆ槗娴佹按鍙凤細{0}锛屾偍鐨勭嚎涓嬫敮浠樿姹傚鏍稿凡閫氳繃"  },
+              { MessageType.绾夸笅鏀粯瀹℃牳鏈�氳繃,"浜ゆ槗娴佹按鍙凤細{0}锛屾偍鐨勭嚎涓嬫敮浠樿姹傚鏍告湭閫氳繃"  },
+              { MessageType.鎵f鎻愰啋,"銆愪繚闄┿�戞偍濂斤紝{0}鍒涘缓鎶曚繚缂栧彿锛歿1}鐨剓2}涓婁紶{3}浜烘姇淇濇垚鍔燂紝瀹為檯鍙姇淇漿4}浜�,淇濊垂锛歿5}鍏冿紝璇风‘淇濊处鍙蜂綑棰濆厖瓒筹紝"  },
+              { MessageType.閽卞寘鍏呭�兼垚鍔�,"鍏呭�兼祦姘村彿锛歿0}锛屽凡鍏呭�兼垚鍔�"  },
+              { MessageType.閽卞寘鍏呭�煎け璐�,"鍏呭�兼祦姘村彿锛歿0}锛屽厖鍊煎け璐ワ紝鍘熷洜锛歿1}"  },
+              { MessageType.鎴戞湁浜哄鏍告湭閫氳繃,"銆愭垜鏈変汉銆戞偍鍙戝竷鐨剓0}淇℃伅瀹℃牳鏈�氳繃锛�"  },
+              { MessageType.鎴戞湁璁㈠崟瀹℃牳鏈�氳繃,"銆愭垜鏈夎鍗曘�戞偍鍙戝竷鐨剓0}淇℃伅瀹℃牳鏈�氳繃锛�"  },
+              { MessageType.鎴戞湁璁㈠崟鐢宠,"銆愭垜鏈夎鍗曘�戞偍鍙戝竷鐨剓0}锛屾敹鍒颁竴鏉$敵璇凤紝"  },
+              { MessageType.涔欐柟鏀跺埌鍗忚纭閭�璇�,"鎮ㄦ湁涓�鏉″悎浣滈個绾︼紝"  },
+              { MessageType.鐢叉柟鏀跺埌鍗忚绛剧害閭�璇�,"鍚堝悓鍙凤細{0}锛屽緟鎮ㄧ绾︼紝"  },
+              { MessageType.鍚堝悓绛剧害鎴愬姛,"鍚堝悓鍙凤細{0}锛屽凡绛剧害鎴愬姛銆�"  },
+              { MessageType.鍚堝悓绛剧害澶辫触,"鍚堝悓鍙凤細{0}锛屽凡绛剧害澶辫触锛屽け璐ュ師鍥狅細{1}"  },
+              { MessageType.鐢叉柟鍒版湡鏀粯鎻愰啋,"鍚堝悓鍙凤細{0}锛屽緟鎮ㄤ粯娆撅紝"  },
+              { MessageType.涔欐柟纭璐圭敤鏄庣粏鎻愰啋,"鍚堝悓鍙凤細{0}锛岃垂鐢ㄦ槑缁嗗緟纭锛�"  },
+              { MessageType.涔欐柟涓婁紶鍙戠エ鎻愰啋,"鍚堝悓鍙凤細{0}锛屽彂绁ㄤ俊鎭緟涓婁紶锛�"  },
+              { MessageType.鐢叉柟涓婁紶璐圭敤鏄庣粏鎻愰啋,"鍚堝悓鍙凤細{0}锛岃垂鐢ㄦ槑缁嗗緟涓婁紶锛�"  },
+              { MessageType.鐢叉柟纭鍙戠エ鎻愰啋,"鍚堝悓鍙凤細{0}锛屽彂绁ㄤ俊鎭緟纭锛�"  },
+              { MessageType.涔欐柟鍙戣柂鎻愰啋,"鍚堝悓鍙凤細{0}锛屽緟鎮ㄥ彂钖紝"  },
+              { MessageType.鎶曚繚鎵瑰崟瀹℃牳閫氳繃,"銆愪繚闄┿�戞偍濂斤紝{0}鍒涘缓鎵瑰崟缂栧彿锛歿1}鐨剓2}瀹℃牳閫氳繃锛�"  },
+              { MessageType.鎶曚繚鎵瑰崟瀹℃牳椹冲洖,"銆愪繚闄┿�戞偍濂斤紝{0}鍒涘缓鎵瑰崟缂栧彿锛歿1}鐨剓2}瀹℃牳椹冲洖锛�"  },
+              { MessageType.鎶曚繚鎵瑰崟鎴愬姛,"銆愪繚闄┿�戞偍濂斤紝{0}鍒涘缓鎶曚繚缂栧彿锛歿1}鐨剓2}鎵瑰崟鎴愬姛锛�"  },
+              { MessageType.鎶曚繚鎵瑰崟鏀粯澶辫触,"銆愪繚闄┿�戞偍濂斤紝{0}鍒涘缓鎵瑰崟缂栧彿锛歿1}鐨剓2}鏀粯澶辫触锛�"  },
+              { MessageType.鎶曚繚瀹℃牳鎴愬姛,"銆愪繚闄┿�戞偍濂斤紝{0}鍒涘缓鎶曚繚缂栧彿锛歿1}鐨剓2}瀹℃牳閫氳繃锛�"  },
+              { MessageType.鎶曚繚瀹℃牳澶辫触,"銆愪繚闄┿�戞偍濂斤紝{0}鍒涘缓鎶曚繚缂栧彿锛歿1}鐨剓2}瀹℃牳椹冲洖锛�"  },
+              { MessageType.鎶曚繚鏀粯澶辫触,"銆愪繚闄┿�戞偍濂斤紝{0}鍒涘缓鎶曚繚缂栧彿锛歿1}鐨剓2}鏀粯澶辫触锛�"  },
+        };
+
+        public static class OrderStatus
+        {
+            /// <summary>
+            /// 10鑽夌
+            /// </summary>
+            public const int Draft = 10;
+
+            /// <summary>
+            /// 20寰呭鏍�
+            /// </summary>
+            public const int PendingReview = 20;
+
+            /// <summary>
+            /// 杩涜涓�
+            /// </summary>
+            public const int Processing = 30;
+
+            /// <summary>
+            /// 涓嬫灦
+            /// </summary>
+            public const int OffShelf = 40;
+
+
+            public const int SystemOffShelf = 50;
+
+
+            public const int Reject = -10;
         }
 
         public static class Squence
@@ -184,6 +671,13 @@
             public static int LatestWeek = 20;
 
             public static int LatestMonth = 30;
+        }
+
+        public static class ResourceCityType
+        {
+            public static int 鎵�鍦ㄥ煄甯� = 0;
+
+            public static int 鎰忓悜杈撻�佸煄甯� = 1;
         }
 
         public static class TableType
@@ -253,6 +747,10 @@
             public const int LgGigWorkerCustomerTemplate = 146;
 
             public const int LgGigWorkerSignFreeSetting = 151;
+
+            public const int LifePayOrder = 200;
+
+            public const int LifePayChannles = 210;
         }
 
         public static class LogsSpecies
@@ -323,44 +821,210 @@
 
             public static string UserRegister = "娉ㄥ唽";
 
+            public static string ParkOrHRPublish = "浜鸿祫鍏徃鍙戝竷";
+            public static string ParkOrHRAdminProxyPublish = "浜鸿祫鍏徃浠e彂";
             public static string Setting = "閰嶇疆";
+
+            #region 閽卞寘鏃ュ織
+
+            public static string ApplyBankWalletAccountOpen = "鎻愪氦寮�鎴风敵璇�";
+
+            public static string SetBankWalletAccountOpenAcctNo = "濉啓閾惰鍗″彿";
+
+            public static string SetBankWalletAccountOpenOpentBankNode = "濉啓寮�鎴疯淇℃伅";
+
+            public static string SetBankWalletAccountOpenBankCertUrl = "涓婁紶鍑瘉";
+
+            public static string AddWalletAccountOpenFollow = "娣诲姞鍥炶璁板綍";
+
+            public static string ApplyWalletSingleTransfer = "鎻愪氦杞处鐢宠";
+
+            public static string ApplyWalletRecharge = "鎻愪氦鍏呭�肩敵璇�";
+
+            public static string CheckWalletRecharge = "鍏呭�煎鎵�";
+
+            public static string BankAccountManageFreeze = "閾惰璐︽埛鍐荤粨";
+
+            public static string AlipayAccountManageUnFreeze = "鏀粯瀹濊处鎴疯В缁�";
+
+            public static string AlipayAccountManageFreeze = "鏀粯瀹濊处鎴峰喕缁�";
+
+            public static string BankAccountManageUnFreeze = "閾惰璐︽埛瑙g粨";
+
+
+            #endregion
+
+            #region 瀹㈡埛绠$悊鏃ュ織
+
+            public static string UploadEnterpriseMaterial = "涓婁紶鏉愭枡";
+            public static string SetUserServiceStaff = "鍒嗛厤鏈嶅姟浜哄憳";
+            public static string SetUserIndustrialPark = "璋冩暣鍥尯";
+            public static string Dutiable = "瀹岀◣鐧昏";
+            public static string AddIncentivePayments = "濂栧姳閲戝彂鏀�";
+            public static string SignSetFree = "鐢靛瓙绛捐禒閫�";
+
+            #endregion
+
+
+            public static List<string> CertifiedUserOperateNameList = new List<string>() { UserRegister, Enable, Disable, Create, Certification, ResetPassword, Update };
+            public static List<string> PlatformUserOperateNameList = new List<string>() { ParkOrHRPublish, UserRegister, Enable, Disable, Create, ResetPassword, Update, Login };
+            public static List<string> UserCertificationAuditOperateNameList = new List<string>() { Certification };
+            public static List<string> InformationForManageOperateNameList = new List<string>() { Create, Update, OnShelf, OffShelf, Audit };
+            public static List<string> InformationWaitForCheckOperateNameList = new List<string>() { Audit };
+            public static List<string> UserCertificationManageOperateNameList = new List<string>() { CertificationCreate, CertificationSuccess, CertificationFail };
+            public static List<string> CustomerManageOperateNameList = new List<string>() { UploadEnterpriseMaterial, SetUserServiceStaff, SetUserIndustrialPark, Dutiable, AddIncentivePayments, SignSetFree };
+            public static List<string> AccountManageOperateNameList = new List<string>() { BankAccountManageFreeze, AlipayAccountManageUnFreeze, AlipayAccountManageFreeze, BankAccountManageUnFreeze };
+        }
+
+        public static class InsuranceNeedPriceStatus
+        {
+            /// <summary>
+            /// 10鑽夌
+            /// </summary>
+            public const int Draft = 10;
+
+            /// <summary>
+            /// 20寰呭鏍�
+            /// </summary>
+            public const int PendingReview = 20;
+
+            /// <summary>
+            /// 杩涜涓�
+            /// </summary>
+            public const int Processing = 30;
+
+            /// <summary>
+            /// 涓嬫灦
+            /// </summary>
+            public const int OffShelf = 40;
+
+
+            public const int SystemOffShelf = 50;
+
+
+            public const int Reject = -10;
+        }
+
+        public static class ParkOrHRType
+        {
+            /// <summary>
+            /// 鍥尯
+            /// </summary>
+            public static int Park = 10;
+
+            /// <summary>
+            /// 浜鸿祫浼佷笟
+            /// </summary>
+            public static int HR = 20;
+        }
+        public static class BelongType
+        {
+            /// <summary>
+            /// 鍥尯
+            /// </summary>
+            public static int ParkType = 10;
+
+            /// <summary>
+            /// 浜鸿祫浼佷笟
+            /// </summary>
+            public static int CompanyType = 20;
+
 
         }
 
-
         public static class SearchType
         {
+            /// <summary>
+            /// 鐑悳璇�
+            /// </summary>
             public static int HotSearchWords = 10;
 
+            /// <summary>
+            /// 鏈嶅姟绫诲瀷
+            /// </summary>
             public static int ServiceType = 20;
 
+            /// <summary>
+            /// 宸ョ
+            /// </summary>
             public static int TypeOfWork = 30;
 
+            /// <summary>
+            /// 鍥尯绫诲瀷
+            /// </summary>
             public static int ParkType = 40;
 
+            /// <summary>
+            /// 璧勮娲诲姩绫诲瀷
+            /// </summary>
             public static int InformationActivityType = 50;
 
+            /// <summary>
+            /// 鏀跨瓥棰佸竷鏈烘瀯
+            /// </summary>
             public static int PolicyIssuingAgency = 60;
 
+            /// <summary>
+            /// 鍖哄煙绠$悊
+            /// </summary>
             public static int RegionalManagement = 70;
 
+            /// <summary>
+            /// 浜у搧绫诲瀷
+            /// </summary>
             public static int ProductType = 80;
 
+            /// <summary>
+            /// 闇�姹傜被鍨�
+            /// </summary>
             public static int DemandType = 90;
 
+            /// <summary>
+            /// 闇�姹傝寖鍥�
+            /// </summary>
             public static int DemandRange = 100;
 
+            /// <summary>
+            /// 鍛樺伐绂忓埄
+            /// </summary>
             public static int EmployeeBenefits = 110;
 
+            /// <summary>
+            /// 鐏靛伐骞冲彴绠$悊鎻愪緵鏈嶅姟
+            /// </summary>
             public static int LingGongService = 120;
 
+            /// <summary>
+            /// 鏈烘瀯鐗硅壊
+            /// </summary>
             public static int InstitutionalFeatures = 130;
 
+            /// <summary>
+            /// 琛屼笟绫诲瀷
+            /// </summary>
             public static int IndustryType = 160;
+        }
 
-            public static int SocialIdentity = 170;
+        public static class ServiceType
+        {
+            public static int 宸ョ = 10;
 
-            public static int EducationalLevel = 180;
+            public static int 浜鸿祫鏈嶅姟 = 20;
+
+            public static int 鍥尯鏈嶅姟 = 30;
+        }
+
+        public static class ParkStyleEnum
+        {
+            /// <summary>
+            /// 鍥尯椋庨噰
+            /// </summary>
+            public static int ParkStyles = 10;
+
+            /// <summary>
+            /// 瀹d紶瑙嗛
+            /// </summary>
+            public static int PromotionalVideo = 20;
         }
 
         public static class ClientId
@@ -383,6 +1047,7 @@
             /// 鎵嬫満鍙风爜姝e垯琛ㄨ揪寮�
             /// </summary>
             public const string PhoneNumberRegEx = @"^1[3-9]\d{9}$";
+
 
             /// <summary>
             /// 鎵嬫満鍙风爜+搴ф満姝e垯琛ㄨ揪寮�
@@ -413,6 +1078,11 @@
             /// 鐢ㄦ埛璐﹀彿姝e垯琛ㄨ揪寮�
             /// </summary>
             public const string UserNameEx = @"^[A-Za-z0-9]{8,13}$";
+
+            /// <summary>
+            /// 鐢佃垂鎴峰彿姝e垯琛ㄨ揪寮�
+            /// </summary>
+            public const string ElectricAccountRegEx = @"^.{13}$";
         }
 
         public static class ResponseCode
@@ -468,6 +1138,69 @@
             public int Status { get; set; }
 
 
+        }
+        public static string GetInsuranceTypeCodeName(string type)
+        {
+            switch (type)
+            {
+                case InsuranceTypeCode.Accident:
+                    return "鎰忓闄�";
+                case InsuranceTypeCode.Employer:
+                    return "闆囦富闄�";
+                default:
+                    return "";
+            }
+        }
+
+        public static string GetInsureNumberType(int type)
+        {
+            switch (type)
+            {
+                case InsureNumberType.Low:
+                    return "1-49";
+                case InsureNumberType.Middle:
+                    return "50-99";
+                case InsureNumberType.Hight:
+                    return "100浜轰互涓�";
+                default:
+                    return "";
+            }
+        }
+
+        /// <summary>
+        /// 闄╃缂栫爜
+        /// </summary>
+        public static class InsuranceTypeCode
+        {
+            /// <summary>
+            /// 鎰忓闄�
+            /// </summary>
+            public const string Accident = "ACCIDENT";
+
+            /// <summary>
+            /// 闆囦富闄�
+            /// </summary>
+            public const string Employer = "EMPLOYER_LIABILITY";
+        }
+        /// <summary>
+        /// 闄╃缂栫爜
+        /// </summary>
+        public static class InsureNumberType
+        {
+            /// <summary>
+            /// 1~49
+            /// </summary>
+            public const int Low = 10;
+
+            /// <summary>
+            /// 50~99
+            /// </summary>
+            public const int Middle = 20;
+
+            /// <summary>
+            /// 100浜轰互涓�
+            /// </summary>
+            public const int Hight = 30;
         }
 
         public static class RequestCode
@@ -635,6 +1368,7 @@
             public const string ShortDateFormat = "yyyy-MM-dd";
             public const string ShortMonthFormat = "yyyy-MM";
             public const string yyyyMMddHHmm = "yyyy-MM-dd HH:mm";
+            public const string yyyyMMddHHmmss = "yyyy-MM-dd HH:mm:ss";
 
             public const string yyyyMMddHHmmssfff = "yyyyMMddHHmmssfff";
         }
@@ -662,6 +1396,6 @@
 
         }
 
-
+       
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1