bff config to nacos
This commit is contained in:
@@ -25,7 +25,7 @@ message StatusRequest {
|
||||
message Response {
|
||||
int32 code = 1;
|
||||
string msg = 2;
|
||||
string data = 3;
|
||||
string data = 3;
|
||||
}
|
||||
|
||||
message PasswordRequest {
|
||||
@@ -91,6 +91,10 @@ message AuthorityItemsRequest {
|
||||
int64 service_id = 1;
|
||||
}
|
||||
|
||||
message RoutesRequest {
|
||||
int64 service_id = 1;
|
||||
}
|
||||
|
||||
message AuthorityEditRequest {
|
||||
int64 id = 1;
|
||||
string name = 2;
|
||||
@@ -192,9 +196,9 @@ service Admin {
|
||||
body: "*"
|
||||
};
|
||||
};
|
||||
rpc LoginRoutes(AdminEmptyRequest) returns(Response){
|
||||
rpc LoginRoutes(RoutesRequest) returns(Response){
|
||||
option (google.api.http) = {
|
||||
post: "/admin/v3/routes"
|
||||
get: "/admin/v3/routes"
|
||||
body: "*"
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user