feat : user
This commit is contained in:
26
app/Constants/Common/VerifyTypeCode.php
Normal file
26
app/Constants/Common/VerifyTypeCode.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace App\Constants\Common;
|
||||
|
||||
class VerifyTypeCode
|
||||
{
|
||||
public const int HexString = 1; //0-9 a-f A-F
|
||||
|
||||
public const int LowHexString = 2;
|
||||
|
||||
public const int UpperHexString = 3;
|
||||
|
||||
public const int DigestString = 4;
|
||||
|
||||
public const int AlphaString = 5; // a-z A-Z
|
||||
|
||||
public const int AEnumString = 6; //a-z A-Z 0-9
|
||||
|
||||
public const int UinString = 7; // a-z A-Z 0-9 _ 用户ID
|
||||
|
||||
public const int EmailString = 8; ///^(\w)+(\.\w+)*@(\w)+((\.\w+)+)$/ email
|
||||
|
||||
public const int MobileString = 9; ///^0?(13[0-9]|15[012356789]|17[678]|18[0-9]|14[57])[0-9]{8}$/ mobile
|
||||
|
||||
public const int TelString = 10; // /^([0-9]{3,4}-)?[0-9]{7,8}$/ telephone
|
||||
}
|
||||
Reference in New Issue
Block a user