public TeaCertificate Get(int id) { //参数验证 if (id < 1) { ErrorMsg = ErrorCode.ParameterNull; return(null); } //数据获取 TeaCertificate teaInfo = _certificateProvider.GetTea(id); return(teaInfo); }