Revert "尝试继承实现"

This reverts commit e7ff3c34f355f1bf8f51de35492f41b59e2cc788.