兼容性重构