Revert "优化代码"

This reverts commit 4acb1ebc947b1ebac5b4d7b10b942dce6bfa8da8.