修改oo-design-pattern