diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index 21d258e..07cdb5e 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -632,4 +632,6 @@ option optimize_for = SPEED; optional string content = 1; //问题描述 optional int32 type = 2; //单选0 多选1 填空2 repeated string options =3;//选项描述 - } \ No newline at end of file + } + + \ No newline at end of file diff --git a/protos/MessageTypeProto.proto b/protos/MessageTypeProto.proto index 244bd7a..4b96498 100644 --- a/protos/MessageTypeProto.proto +++ b/protos/MessageTypeProto.proto @@ -358,8 +358,9 @@ enum MessageType{ GET_PHONE_REWARD_REQUEST = 1664;//获取绑定手机号奖励 GET_PHONE_REWARD_RESPONSE = 1665; - GET_QUESTION_REWARD_REQUEST = 1666;//问卷 - GET_QUESTION_REWARD_RESPONSE = 1667; + GET_QUESTION_REQUEST = 1666;//问卷 + GET_QUESTION_RESPONSE = 1667; + // H 10700 HERO_RAND_REQQUEST = 10701; diff --git a/protos/PlayerInfoProto.proto b/protos/PlayerInfoProto.proto index a8051ca..7484fa4 100644 --- a/protos/PlayerInfoProto.proto +++ b/protos/PlayerInfoProto.proto @@ -59,6 +59,7 @@ import "CommonProto.proto"; optional int32 isDayFirst = 20;//0表示新的一天 optional EndlessInfo endInfo = 21;//无尽副本信息 optional PlayerBindPhone playerBindPhone = 22;//玩家手机绑定信息 + optional int32 QuestionState = 23;//答题状态 -1没有问卷 0未答题 1已答题 } @@ -355,6 +356,7 @@ import "CommonProto.proto"; optional SignInInfo SignInInfo = 6;//签到 optional PlayerBindPhone playerBindPhone = 7;//玩家手机绑定信息 } + message GetMissionResponse{ repeated UserMissionInfo userMissionInfo =1;//所有任务详情 @@ -527,17 +529,15 @@ import "CommonProto.proto"; message GetQuestionResponse{ optional string id= 1; //问卷id optional string questDes= 2; //问卷描述 - optional string reward= 3; //问卷奖励 - optional string start= 4; //开始时间 - optional string end= 5; //问卷结束时间 - repeated QuestionOptions questOptions =6; //问卷问题 + optional string start= 3; //开始时间 + optional string end= 4; //问卷结束时间 + repeated QuestionOptions questOptions =5; //问卷问题 } - message upDataQuestionRequest{ repeated string options = 1; //问题答案 ABCD形式 多选拼接多个 } message upDataQuestionResponse{ optional int32 result = 1;//-1失败 0成功 - } + } \ No newline at end of file