ok
This commit is contained in:
15
proto/report.proto
Normal file
15
proto/report.proto
Normal file
@@ -0,0 +1,15 @@
|
||||
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<string, int64> question_stats = 3; // key为question_id
|
||||
}
|
||||
Reference in New Issue
Block a user