public ResponseResult <AppParameter> AppGetParameter(string companyId) { var result = ResponseResult <AppParameter> .Default(); AppService appService = new AppService(); List <AppParameter> commands = new List <AppParameter>(); try { if (string.IsNullOrEmpty(companyId)) { return(ResponseResult <AppParameter> .Error("companyId不能为空")); } else { commands = appService.AppGetParameter(Convert.ToInt32(companyId)); return(ResponseResult <AppParameter> .Success(commands, "获取成功")); } } catch (System.Exception ex) { result = ResponseResult <AppParameter> .Error(ex.Message); } return(result); }