<?php namespace Home1\Model; use Think\Model; class ShopYuyueInfoModel extends Model { // protected $_validate = array( protected $_validate = array( array('name','require','姓名必填..1!'), // 必填 array('tel','/^1[34578]\d{9}$/','手机号码不对..1!',0,'regex',3),