Revert "修改排除更新的目录，修改判断验证"

This reverts commit 5cfe7de1b11feab21fcca8d4fc77c516790922b7.
还原