diff --git a/rpc/admin/admin.pb b/rpc/admin/admin.pb index 3441825..16c7ceb 100644 Binary files a/rpc/admin/admin.pb and b/rpc/admin/admin.pb differ diff --git a/rpc/admin/admin.proto b/rpc/admin/admin.proto index 3bf21c6..0319a2c 100644 --- a/rpc/admin/admin.proto +++ b/rpc/admin/admin.proto @@ -326,7 +326,7 @@ service Admin { }; rpc RoleRule(RoleRuleRequest) returns(Response){ option (google.api.http) = { - get: "/admin/v3/role/rule" + post: "/admin/v3/role/rule" body: "*" }; }; diff --git a/rpc/admin/pb/admin.pb.go b/rpc/admin/pb/admin.pb.go index 8b1be8b..9fe70bb 100644 --- a/rpc/admin/pb/admin.pb.go +++ b/rpc/admin/pb/admin.pb.go @@ -1560,7 +1560,7 @@ const file_admin_admin_proto_rawDesc = "" + "\tRoleItems\x12\x17.admin.RoleItemsRequest\x1a\x0f.admin.Response\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\x12\x14/admin/v3/role/items\x12U\n" + "\n" + "RoleStatus\x12\x14.admin.StatusRequest\x1a\x0f.admin.Response\" \x82\xd3\xe4\x93\x02\x1a:\x01*\"\x15/admin/v3/role/status\x12S\n" + - "\bRoleRule\x12\x16.admin.RoleRuleRequest\x1a\x0f.admin.Response\"\x1e\x82\xd3\xe4\x93\x02\x18:\x01*\x12\x13/admin/v3/role/ruleB\x19Z\x17lone-services/rpc/adminb\x06proto3" + "\bRoleRule\x12\x16.admin.RoleRuleRequest\x1a\x0f.admin.Response\"\x1e\x82\xd3\xe4\x93\x02\x18:\x01*\"\x13/admin/v3/role/ruleB\x19Z\x17lone-services/rpc/adminb\x06proto3" var ( file_admin_admin_proto_rawDescOnce sync.Once