This commit is contained in:
2025-04-01 17:37:16 +08:00
parent d94b2744c0
commit 23c5220745
35 changed files with 2938 additions and 3585 deletions

15
proto/report.proto Normal file
View 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
}