public TeaCertificate GetByNumber(string number) { //参数验证 if (string.IsNullOrEmpty(number)) { ErrorMsg = ErrorCode.ParameterNull; return(null); } return(_certificateProvider.GetTeaByNumber(number)); }