add task apis
This commit is contained in:
+13
-8
@@ -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: "*"
|
||||
|
||||
Reference in New Issue
Block a user