close #22 添加前台验证