<?php 
namespace wstmart\common\validate;
use think\Validate;
/**
 * ============================================================================
 * 用户电子钱包地址验证器
 */
class EctWallet extends Validate{
    protected $rule= [
        ['eAddress','require|length:42','地址不能为空|长度不符合']
    ];
    protected $scene = [
        'add' => ['eAddress'],
        'edit'=> ['eAddress']
    ];
}