factroy store
This commit is contained in:
+43
-13
@@ -46,6 +46,13 @@ message EditRequest {
|
||||
string latitude_wgs84 = 20;
|
||||
string longitude_gcj02 = 21;
|
||||
string latitude_gcj02 = 22;
|
||||
int64 store_type = 23;
|
||||
int64 province = 24;
|
||||
string province_name = 25;
|
||||
int64 city = 26;
|
||||
string city_name = 27;
|
||||
int64 county = 28;
|
||||
string county_name = 29;
|
||||
}
|
||||
|
||||
message CreateRequest {
|
||||
@@ -74,6 +81,13 @@ message CreateRequest {
|
||||
string latitude_wgs84 = 23;
|
||||
string longitude_gcj02 = 24;
|
||||
string latitude_gcj02 = 25;
|
||||
int64 store_type = 26;
|
||||
int64 province = 27;
|
||||
string province_name = 28;
|
||||
int64 city = 29;
|
||||
string city_name = 30;
|
||||
int64 county = 31;
|
||||
string county_name = 32;
|
||||
}
|
||||
|
||||
message ToSaleRequest {
|
||||
@@ -81,11 +95,6 @@ message ToSaleRequest {
|
||||
int64 sale_id = 2;
|
||||
}
|
||||
|
||||
message PwdRequest {
|
||||
int64 id = 1;
|
||||
string password = 2;
|
||||
}
|
||||
|
||||
message ContentRequest {
|
||||
int64 id = 1;
|
||||
string content = 2;
|
||||
@@ -137,6 +146,16 @@ message DepositBackfillRequest {
|
||||
double amount = 2;
|
||||
}
|
||||
|
||||
message WebDepositCreateRequest {
|
||||
string bill = 1;
|
||||
double amount = 2;
|
||||
}
|
||||
|
||||
message WebDepositItemsRequest {
|
||||
int32 page = 1;
|
||||
int32 size = 2;
|
||||
}
|
||||
|
||||
service Store {
|
||||
rpc Status(StatusRequest) returns(Response){
|
||||
option (google.api.http) = {
|
||||
@@ -156,19 +175,13 @@ service Store {
|
||||
body: "*"
|
||||
};
|
||||
};
|
||||
rpc ToSale(StatusRequest) returns(Response){
|
||||
rpc ToSale(ToSaleRequest) returns(Response){
|
||||
option (google.api.http) = {
|
||||
post: "/admin/v3/store/to_sale"
|
||||
body: "*"
|
||||
};
|
||||
};
|
||||
rpc Pwd(PwdRequest) returns(Response){
|
||||
option (google.api.http) = {
|
||||
post: "/admin/v3/store/pwd"
|
||||
body: "*"
|
||||
};
|
||||
};
|
||||
rpc Info(ToSaleRequest) returns(Response){
|
||||
rpc Info(IdRequest) returns(Response){
|
||||
option (google.api.http) = {
|
||||
get: "/admin/v3/store/info"
|
||||
body: "*"
|
||||
@@ -282,4 +295,21 @@ service Store {
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
/******************前端接口******************/
|
||||
|
||||
rpc WebDepositCreate(WebDepositCreateRequest) returns (Response) {
|
||||
option (google.api.http) = {
|
||||
post: "/api/v3/store/deposit/create"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
rpc WebDepositItems(WebDepositItemsRequest) returns (Response) {
|
||||
option (google.api.http) = {
|
||||
get: "/api/v3/store/deposit/items"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
rpc SetDef(EmptyRequest) returns (Response);
|
||||
}
|
||||
Reference in New Issue
Block a user