lingling
2025-03-07 1b33c9c58b57bde6b60de30dfc8727132b92829d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
using Nest;
using Org.BouncyCastle.Asn1.Mozilla;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using ZeroD.Util;
 
namespace LifePayment.Domain.Shared
{
    public static class LifePaymentConstant
    {
        public const string 区域信息缓存key = "AreaCacheKey";
 
        public const string 区域信息缓存key2 = "AreaCacheKey2";
 
        public const string 扫码登录二维码路径 = "HumanResourcesServices/Account/LoginQrcode/";
 
        public const string 用户默认密码 = "81812333";
 
        public const string 小程序Token缓存key = "WxAccessTokenCacheKey";
 
        public const string 微信公众号Token缓存key = "WxCgiAccessTokenCacheKey";
 
        public const string WeChatHttpClientName = "WeChatHttpClientName";
 
        public static string 微信小程序获取Token = "/cgi-bin/token?grant_type=client_credential&appid={0}&secret={1}";
 
        public const string 微信小程序创建二维码 = "/wxa/getwxacodeunlimit?access_token={0}";
 
        public const string 微信接口获取公众号文章 = "/cgi-bin/freepublish/batchget?access_token={0}";
 
        public const string 微信小程序身份会话信息 = "/sns/jscode2session?grant_type=authorization_code&appid={0}&secret={1}&js_code={2}";
 
        public const string PhoneMessageName = "PhoneMessage";
 
        public const string SMStemplate404 = "未找到该短信模板";
 
        public const string SendFailed = "短信发送失败";
 
        public const int 登录验证码失效 = -10000;
 
        public const string WxPayHttpClientName = "WxPayHttpClientName";
 
        public const string WxPayCertificates = "/v3/certificates";
 
        public const string PayTransactionsNative = "/v3/pay/transactions/native";
 
        public const string PayTransactions = "/v3/pay/transactions";
 
        public const string WxRechargeNotifySectionUrl = "/api/WxPayNotify/WxRechargeNotify";
 
        public const string AliRechargeNotifySectionUrl = "/api/AliPayNotify/AliRechargeNotify";
 
        public const string SystemName = "系统";
 
        public const string OrderContactSaveUrl = "/Resource/OrderContact/";
 
        public const string DateFormate = "yyyy-MM-dd";
 
        public static class CategoryType
        {
            public const int 行业配套 = 1;
 
            public const int 行业服务 = 0;
 
            public const int 甲方需求 = 2;
 
            public const int 行业资讯 = 3;
 
        }
 
 
        public static class UserType
        {
            public const int 企业用户 = 1;
 
            public const int 个人用户 = 2;
        }
        public static class AuthType
        {
            public const int 人资公司 = 10;
            public const int 行业配套服务公司 = 20;
            public const int 用工单位 = 30;
            public const int 行业机构 = 40;
        }
 
        public static class AreaLayerType
        {
            public static int 省 = 1;
 
            public static int 市 = 2;
 
            public static int 区县 = 3;
 
            public static int 镇 = 4;
        }
 
        public static class NamingType
        {
            public static int 其他 = 0;
 
            public static int 省级 = 1;
 
            public static int 市级 = 2;
 
            public static int 区县级 = 3;
        }
 
        public static class UserAttestationStatus
        {
            public static int 未提交 = -20;
 
            public static int 驳回 = -10;
 
            public static int 待审核 = 0;
 
            public static int 完善中 = 1;
 
            public static int 已完善 = 2;
 
            public static int 提交待审核 = 9;
 
            public static int 通过 = 10;
 
        }
 
 
        public static class ImplementAreaType
        {
            public static int 全国 = 0;
 
            public static int 省份 = 1;
        }
 
        public static class PeriodType
        {
            public static int 天 = 1;
 
            public static int 周 = 7;
 
            public static int 月 = 30;
 
            public static int 季 = 90;
 
            public static int 年 = 365;
        }
 
        public static class WxMiniAppLoginStatus
        {
            public static int 登录过期 = -10;
 
            public static int 登录初始 = 0;
 
            public static int 登录确认 = 10;
        }
 
 
        public static class AmountTransferOIType
        {
            public static int 支出 = -1;
 
            public static int 收入 = 1;
        }
 
        public static class Squence
        {
            /// <summary>
            /// 第一个
            /// </summary>
            public const int TheFirst = 1;
 
            public const int TheSecond = 2;
 
            public const int TheThird = 3;
        }
 
        /// <summary>
        /// 更新时间 10 最近一天 20 最近一周 30 最近一月
        /// </summary>
        public static class DateType
        {
            public static int LatestDay = 10;
 
            public static int LatestWeek = 20;
 
            public static int LatestMonth = 30;
        }
 
        public static class TableType
        {
            public const int User = 10;
 
            public const int UserCertification = 11;
 
            public const int UserCertificationAudit = 12;
 
            public const int ParkOrHR = 20;
 
            public const int ParkOrHRAudit = 21;
 
            public const int ResourceEntity = 30;
 
            // public const int ResourceAudit = 31;
 
            public const int Order = 40;
 
            public const int HeadHunter = 50;
 
            public const int Training = 60;
 
            public const int Consult = 70;
 
            public const int Information = 80;
 
            public const int AdvertiseBoard = 90;
 
            public const int AdvertiseOnShow = 100;
 
            public const int PlatformServicePay = 110;
 
            public const int SystemNotice = 120;
 
            public const int WalletAccountOpen = 130;
 
            public const int WalletSingleTransfer = 131;
 
            public const int WalletRecharge = 132;
 
            public const int WalletMain = 133;
 
            public const int WalletBarchTransfer = 134;
 
            public const int FirstPartyCompany = 135;
 
            public const int FirstPartyCompanyAudit = 136;
 
            public const int IndustryBody = 137;
 
            public const int IndustryMating = 138;
 
            public const int WalletBatchTransfer = 141;
 
            public const int GigWorkerRecharge = 150;
 
            public const int ParkReward = 142;
 
            public const int UserServiceStaff = 143;
 
            public const int EnterpriseMaterial = 144;
 
            public const int IncentivePayments = 145;
 
            public const int LgGigWorkerCustomerTemplate = 146;
 
            public const int LgGigWorkerSignFreeSetting = 151;
        }
 
        public static class LogsSpecies
        {
            public static string Create = "创建";
 
            public static string Update = "编辑";
            public static string Modify = "修改";
 
            public static string Audit = "审核";
 
            public static string AuditPass = "通过";
 
            public static string AuditDown = "驳回";
 
            public static string Delete = "删除";
 
            public static string Disable = "禁用";
 
            public static string Enable = "启用";
 
            public static string Up = "系统上架";
 
            public static string Down = "系统下架";
 
            public static string OnShelf = "上架";
            public static string OffShelf = "下架";
 
            public static string Recommended = "推荐";
 
            public static string CancelRecommended = "取消推荐";
 
            public static string Certification = "实名认证";
            public static string CertificationPass = "审核通过";
            public static string CertificationDown = "审核驳回";
            public static string CertificationSubmit = "提交";
            public static string MandatoryInvalidation = "强制失效";
            public static string CertificationCreate = "提交实名认证";
            public static string CertificationSuccess = "实名认证成功";
            public static string CertificationFail = "实名认证失败";
 
            public static string Login = "登录";
 
            public static string Invoicing = "上传发票";
 
            public static string Crediting = "入账";
 
            public static string Credited = "已入账";
 
            public static string NotCredited = "未支付";
 
            public static string Resubmit = "重新提交";
 
            public static string ResetPassword = "重置密码";
 
            public static string AccountUpdate = "账户编辑";
 
            public static string ChangeUserPhoneNumberForUser = "用户更换手机号";
 
            public static string UserChangePassword = "用户修改密码";
 
            public static string UserForgotPassword = "用户忘记密码";
 
            public static string Expired = "过期";
 
            public static string SetDisable = "设置禁用";
            public static string SetEnable = "设置启用";
 
            public static string UserRegister = "注册";
 
            public static string Setting = "配置";
 
        }
 
 
        public static class SearchType
        {
            public static int HotSearchWords = 10;
 
            public static int ServiceType = 20;
 
            public static int TypeOfWork = 30;
 
            public static int ParkType = 40;
 
            public static int InformationActivityType = 50;
 
            public static int PolicyIssuingAgency = 60;
 
            public static int RegionalManagement = 70;
 
            public static int ProductType = 80;
 
            public static int DemandType = 90;
 
            public static int DemandRange = 100;
 
            public static int EmployeeBenefits = 110;
 
            public static int LingGongService = 120;
 
            public static int InstitutionalFeatures = 130;
 
            public static int IndustryType = 160;
 
            public static int SocialIdentity = 170;
 
            public static int EducationalLevel = 180;
        }
 
        public static class ClientId
        {
            public const string Front = "frontend-admin-app-client";
            public const string Back = "backend-admin-app-client";
        }
 
        /// <summary>
        /// 正则表达式
        /// </summary>
        public static class RegularExpression
        {
            /// <summary>
            /// 登录密码正则表达式
            /// </summary>
            public const string LoginPasswordRegEx = @"^(?![\d]+$)(?![a-z]+$)(?![A-Z]+$)[a-zA-Z\d]{6,16}$";
 
            /// <summary>
            /// 手机号码正则表达式
            /// </summary>
            public const string PhoneNumberRegEx = @"^1[3-9]\d{9}$";
 
            /// <summary>
            /// 手机号码+座机正则表达式
            /// </summary>
            public const string PhoneNumberTelRegEx = @"(^(0[0-9]{2,3})?[-\s]?([2-9][0-9]{6,7})+([0-9]{1,4})?$)|(^((\(\d{3}\))|(\d{3}[-\s]))?(1[3-9]\d{9})$)|(^(400)[-\s](\d{3})[-\s](\d{4})(.)(\d{1,4})$)|(^(400)(\d{3})(\d{4}$))";
 
            /// <summary>
            /// 身份证号正则表达式
            /// </summary>
            public const string IdNumberRegEx = @"^[1-9]\d{5}(18|19|20)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$";
 
            /// <summary>
            /// 统一社会信用代码正则表达式
            /// </summary>
            public const string SocietyCreditCodeRegEx = @"^[^_IOZSVa-z\W]{2}\d{6}[^_IOZSVa-z\W]{10}$";
 
            /// <summary>
            /// 银行卡正则表达式
            /// </summary>
            public const string BankCardRegEx = @"^\d{14,30}$";
 
            /// <summary>
            /// 邮箱正则表达式
            /// </summary>
            public const string EmailRegEx = @"^(([^<>()\\[\]\\.,;:\s@""]+(\.[^<>()\\[\]\\.,;:\s@""]+)*)|("".+""))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$";
 
            /// <summary>
            /// 用户账号正则表达式
            /// </summary>
            public const string UserNameEx = @"^[A-Za-z0-9]{8,13}$";
        }
 
        public static class ResponseCode
        {
            public static int SUCCESS = Constant.SUCCESS;
 
            public static int Failure = Constant.Failure;
 
            public static int Refresh = 10;
 
            public static int RegisterExistsPhoneNumber = 11;
        }
 
        public static class GenerateUserName
        {
            /// <summary>
            /// 生成用户名中的字符长度
            /// </summary>
            public const int GenerateCharLenght = 2;
 
            /// <summary>
            /// 用于生成用户名的字符池
            /// </summary>
            public static readonly char[] GenerateUserNameCharPool = {
                                                                        // 数字
                                                                       // '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
                                                                        // 大写字母
                                                                        'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
                                                                        'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
                                                                        // 小写字母
                                                                        'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm',
                                                                        'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
                                                                        // 特殊符号
                                                                        //'~', '`', '!', '@', '#', '$', '%', '^', '&', '*', '(', ')', '_', '-',
                                                                        //'=', '+', '\\', '|', '、', '{', '}', '[', ']', ':', ';', '\'', '"',
                                                                        //'<', '>', '?'
                                                                     };
        }
 
        public class NormalStatus
        {
            public static int Normal = 1;
            public static int Disable = 0;
        }
 
        public class SetNormalStatusInput
        {
            public Guid Id { get; set; }
 
            /// <summary>
            /// 0:禁用 1: 正常
            /// </summary>
            public int Status { get; set; }
 
 
        }
 
        public static class RequestCode
        {
            /// <summary>
            /// 单笔代发查询
            /// </summary>
            public const string SingleTransaction = "Sig";
 
            /// <summary>
            /// 历史余额查询
            /// </summary>
 
            public const string HistoryBalance = "His";
 
            /// <summary>
            /// 明细查询
            /// </summary>
            public const string TransactionDetail = "Tra";
 
            /// <summary>
            /// 批量明细查询
            /// </summary>
            public const string BatchInquiriesRegulators = "Bat";
 
            /// <summary>
            /// 主账户的关系查询
            /// </summary>
            public const string PrimaryAcctRelationship = "Par";
 
            /// <summary>
            /// 货币类型
            /// </summary>
            public const string CcyCode = "RMB";
 
            /// <summary>
            /// 支付编号
            /// </summary>
            public const string StopPayment = "Flw";
 
            /// <summary>
            /// 查询银行余额
            /// </summary>
            public const string CorAcctBalance = "CAB";
 
            /// <summary>
            /// 止付代发
            /// </summary>
            public const string SingleApplicationSuspensionPayment = "SSP";
 
            /// <summary>
            /// 获取电子回单数据
            /// </summary>
            public const string DayHistoryReceiptData = "DHP";
 
            /// <summary>
            /// 根据电子回单获取File
            /// </summary>
            public const string DayHistoryReceiptFile = "DPF";
 
            /// <summary>
            /// 银行联行号查询
            /// </summary>
            public const string BankNo = "BNQ";
 
            /// <summary>
            /// 充值序号
            /// </summary>
            public const string Recharge = "CZ_";
 
            /// <summary>
            /// 支付宝商户签约
            /// </summary>
            public const string AlipayArgreementNo = "AliNo";
 
            /// <summary>
            /// 转账Pc
            /// </summary>
            public const string AlipayPagePay = "AliPagePay";
 
            /// <summary>
            /// 商户自身给记账本充值
            /// </summary>
            public const string AlipayCharge = "AliCharge";
 
            /// <summary>
            /// 记账本单笔代发到银行卡
            /// </summary>
            public const string AlipayTrans = "AlipayTrans";
 
            /// <summary>
            /// 记账本单笔代发到支付宝
            /// </summary>
            public const string AlipayToAlipay = "AliPayToAlipay";
 
            /// <summary>
            /// 批量付款
            /// </summary>
            public const string BatchTransfer = "Bth";
 
            /// <summary>
            /// 批量付款明细
            /// </summary>
            public const string BatchTransferDetail = "Btd";
        }
 
        /// <summary>
        /// 银行查询状态
        /// </summary>
        public static class PingAnBankBatchInquiriesStatusCode
        {
            public const string Success = "0000";
 
        }
 
        /// <summary>
        /// 止付操作类型  A-止付 D-解除止付
        /// </summary>
        public static class OpType
        {
            public const string StopPayment = "A";
 
            public const string CanPayment = "D";
 
        }
 
        /// <summary>
        /// 操作状态码
        /// </summary>
        public static class SttStatus
        {
            public const string Success = "20";
            public const string Fail = "30";
 
            public const string Process = "10";
 
 
        }
 
        public static class Wallet
        {
            public const string DefaultBankName = "平安银行";
 
            public const string SingleTransferRefundUseEx = "退款";
 
            public const string ExpenseCanNotUseMoneyUseEx = "从不可用余额中扣除";
 
            public const string WalletRechargeUseEx = "充值";
        }
 
        public static class FreezeStatus
        {
            public const string Validate = "0";
            public const string InValidate = "1";
        }
 
        public static class DateTimeFormatStr
        {
            public const string yyyyMMdd = "yyyyMMdd";
 
            public const string HHmmss = "HHmmss";
 
            public const string yyyyMM = "yyyyMM";
 
            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 yyyyMMddHHmmssfff = "yyyyMMddHHmmssfff";
        }
 
        public static class BilType
        {
            public const int Day = 1;
            public const int Month = 2;
 
        }
 
        public static class DataRange
        {
            public const int PowerPerson = 10;
 
            public const int PowerAll = 100;
 
        }
 
        public static class DataRangePower
        {
            public const string PowerPerson = "_POWERPERSON";
 
            public const string PowerAll = "_POWERALL";
 
        }
 
 
    }
}