syntax = "proto3"; package survey; option go_package = ".;survey"; import "blocks.proto"; // 问卷服务 - 统计分析 service Report { rpc GetSurveyStats (IdentRequest) returns (SurveyStats); } message SurveyStats { string survey_id = 1; int32 response_count = 2; map question_stats = 3; // key为question_id }