/// <summary> /// 根据id获取插件详细信息 /// </summary> public async Task <PluginDto> GetAsync(string id) { var plugin = await _pluginRepository.GetAsync(id); var pluginDto = ObjectMapper.Map <Plugin, PluginDto>(plugin); return(pluginDto); }