加完之后一定要,在该模型层下,写入rules() 里面,不写的话,就用不了,var_dump($lower_time_start);die; 捕获到错误,定义的变量为 空。 写在rule()规则就好了!
posted on 2018-09-21 14:53 刷哥 阅读(450) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 刷哥 Powered by .NET 8.0 on Kubernetes