[['phone'], 'unique'],
['phone','match','pattern'=>'/^1[345678]{1}\d{9}$/','message'=>'{attribute}请填写正确的手机号'],
转载于:https://www.cnblogs.com/intinity/p/9344897.html
[['phone'], 'unique'],
['phone','match','pattern'=>'/^1[345678]{1}\d{9}$/','message'=>'{attribute}请填写正确的手机号'],
转载于:https://www.cnblogs.com/intinity/p/9344897.html