0321liu

675 经验值

老师,现在有两个接口,我怎么能将1接口有IP限制,2接口用其他的字段限制频率

邮箱配置
MAIL_DRIVER=smtp
MAIL_HOST=smtp.qq.com
MAIL_PORT=25
MAIL_USERNAME=94xxxxxxxx@qq.com
MAIL_FROM_ADDRESS=94xxxxxxxxx@qq.com
MAIL_PASSWORD=ytufcmauaykyxxxx
MAIL_ENCRYPTION=tls

用的扩展类发送邮件
UserVerification::send($user, 'confirm email');
本地测试正常,待上传的阿里云虚拟主机上,就报错:
ErrorException (E_WARNING)
stream_set_blocking() expects parameter 1 to be resource, null given