验证FluentValidation FluentValidation https://www.xcode.me/code/fluentvalidation-dot-net-library 这里写得很详细了