You've already forked qlg.tsgz.moe
							
							Init Repo
This commit is contained in:
		
							
								
								
									
										16
									
								
								hyhproject/common/validate/EctWallet.php
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										16
									
								
								hyhproject/common/validate/EctWallet.php
									
									
									
									
									
										Executable file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| <?php  | ||||
| namespace wstmart\common\validate; | ||||
| use think\Validate; | ||||
| /** | ||||
|  * ============================================================================ | ||||
|  * 用户电子钱包地址验证器 | ||||
|  */ | ||||
| class EctWallet extends Validate{ | ||||
|     protected $rule= [ | ||||
|         ['eAddress','require|length:42','地址不能为空|长度不符合'] | ||||
|     ]; | ||||
|     protected $scene = [ | ||||
|         'add' => ['eAddress'], | ||||
|         'edit'=> ['eAddress'] | ||||
|     ]; | ||||
| } | ||||
		Reference in New Issue
	
	Block a user