add task apis

This commit is contained in:
2026-08-31 18:15:26 +08:00
parent 6758ced988
commit ebd9c932d2
26 changed files with 1175 additions and 98 deletions
+13 -8
View File
@@ -14,15 +14,20 @@ message Response {
message EmtpyRequest {
}
message CreateRequest {
int32 type =1;
int32 time =2;
int64 province =3;
string province_name =4;
int32 task =5;
double award =6;
int64 product_id =7;
}
message EditRequest {
int64 id = 1;
int32 type =2;
int32 time =3;
int64 province =4;
string province_name =5;
string task =6;
string award =7;
int64 product_id =8;
int32 task =2;
double award =3;
}
message IdRequest {
@@ -48,7 +53,7 @@ service Task {
body: "*"
};
};
rpc Create(EditRequest) returns(Response){
rpc Create(CreateRequest) returns(Response){
option (google.api.http) = {
post: "/admin/v3/task/create"
body: "*"