框架：优化边框验证接口和文档