From 79c926c676db362c034112a1a94c4507028c51fe Mon Sep 17 00:00:00 2001 From: tiger_zhou Date: Tue, 27 Feb 2024 15:08:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E8=B5=9B=E7=AE=A1=E7=90=86=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proto/race/race_paper.proto | 2 +- proto/race/race_season.proto | 6 ------ proto/race/race_task.proto | 16 +++++++++------- 3 files changed, 10 insertions(+), 14 deletions(-) diff --git a/proto/race/race_paper.proto b/proto/race/race_paper.proto index ad17337..09cfc9c 100644 --- a/proto/race/race_paper.proto +++ b/proto/race/race_paper.proto @@ -43,9 +43,9 @@ message RacePaperModuleVO{ message PaperModule{ string module_name = 1; int32 duration = 2; - repeated Group group = 3; //任务分组(此分组目前看仅为称呼) int64 module_score_rule_id = 4; + int32 custom_module_id = 5; } //分组 message Group{ diff --git a/proto/race/race_season.proto b/proto/race/race_season.proto index 5007429..91fb800 100644 --- a/proto/race/race_season.proto +++ b/proto/race/race_season.proto @@ -19,12 +19,6 @@ message RaceSeasonCreateVO { string term = 3; //非必填 } -/*message RaceSeasonQueryVO { - common.PageQueryVO page = 1; - string code = 2; - RaceSeason.Group group = 3; - string term = 4; -}*/ message RaceSeason{ enum Group { diff --git a/proto/race/race_task.proto b/proto/race/race_task.proto index e603185..e85dc64 100644 --- a/proto/race/race_task.proto +++ b/proto/race/race_task.proto @@ -48,13 +48,15 @@ message RaceTaskBind{ } -/* -message RaceTaskQuery{ - common.PageQueryVO page = 1; -}*/ +message RacePaperModuleTask{ + int32 custom_module_id = 1; + repeated PaperModuleGroup module_group = 2; -message RaceTaskTreeVO { - repeated RaceTaskChildVO treeData = 1; + message PaperModuleGroup{ + string group_name = 1; + repeated RaceTaskChildVO treeData = 2; + repeated PaperModuleGroup module_group = 3; + } } message RaceTaskChildVO { @@ -69,4 +71,4 @@ message RaceTaskChildVO { // string ruleName = 9; int64 parent_id = 8; //父任务的ID repeated RaceTaskChildVO children = 9; // 子任务 -} \ No newline at end of file +}