refactor: add unified all service gateway
This commit is contained in:
@@ -412,7 +412,7 @@ const file_module_base_cms_proto_pages_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"!module/base/cms/proto/pages.proto\x12\x03cms\x1a!module/base/cms/proto/const.proto\"(\n" +
|
||||
"\x14GetPagesByKeyRequest\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\"\xe4\x04\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\"\xf6\x04\n" +
|
||||
"\tPagesItem\x12$\n" +
|
||||
"\rsite_identity\x18\x01 \x01(\tR\rsite_identity\x12\x1a\n" +
|
||||
"\bidentity\x18\x02 \x01(\tR\bidentity\x12\x1e\n" +
|
||||
@@ -433,9 +433,9 @@ const file_module_base_cms_proto_pages_proto_rawDesc = "" +
|
||||
"cover_path\x12\x18\n" +
|
||||
"\acontent\x18\v \x01(\tR\acontent\x12$\n" +
|
||||
"\rhas_accessory\x18\f \x01(\bR\rhas_accessory\x12:\n" +
|
||||
"\x18accessory_identity_array\x18\r \x03(\tR\x18accessory_identity_array\x12@\n" +
|
||||
"\x0eaccessory_data\x18\x0e \x03(\v2\x18.blocks.CmsAccessoryItemR\x0eaccessory_data\x121\n" +
|
||||
"\ttags_data\x18\x0f \x03(\v2\x13.blocks.CmsTagsItemR\ttags_data\x120\n" +
|
||||
"\x18accessory_identity_array\x18\r \x03(\tR\x18accessory_identity_array\x12I\n" +
|
||||
"\x0eaccessory_data\x18\x0e \x03(\v2!.base_cms_blocks.CmsAccessoryItemR\x0eaccessory_data\x12:\n" +
|
||||
"\ttags_data\x18\x0f \x03(\v2\x1c.base_cms_blocks.CmsTagsItemR\ttags_data\x120\n" +
|
||||
"\x13tags_identity_array\x18\x10 \x03(\tR\x13tags_identity_array\x12\x12\n" +
|
||||
"\x04hits\x18\x11 \x01(\x03R\x04hits\"h\n" +
|
||||
"\x10PagesListRequest\x12\x12\n" +
|
||||
@@ -447,14 +447,14 @@ const file_module_base_cms_proto_pages_proto_rawDesc = "" +
|
||||
"\x04data\x18\x01 \x03(\v2\x0e.cms.PagesItemR\x04data\x12\x14\n" +
|
||||
"\x05count\x18\x02 \x01(\x03R\x05count\"-\n" +
|
||||
"\x0fGetPagesRequest\x12\x1a\n" +
|
||||
"\bidentity\x18\x01 \x01(\tR\bidentity2\xc9\x02\n" +
|
||||
"\bidentity\x18\x01 \x01(\tR\bidentity2\xed\x02\n" +
|
||||
"\x05Pages\x125\n" +
|
||||
"\x05Fetch\x12\x15.cms.PagesListRequest\x1a\x13.cms.PagesListReply\"\x00\x127\n" +
|
||||
"\rGetByIdentity\x12\x14.cms.GetPagesRequest\x1a\x0e.cms.PagesItem\"\x00\x127\n" +
|
||||
"\bGetByKey\x12\x19.cms.GetPagesByKeyRequest\x1a\x0e.cms.PagesItem\"\x00\x12/\n" +
|
||||
"\x06Create\x12\x0e.cms.PagesItem\x1a\x13.blocks.StatusReply\"\x00\x12/\n" +
|
||||
"\x06Modify\x12\x0e.cms.PagesItem\x1a\x13.blocks.StatusReply\"\x00\x125\n" +
|
||||
"\x06Delete\x12\x14.blocks.IdentRequest\x1a\x13.blocks.StatusReply\"\x00B!Z\x1fbsm/full/module/base/cms/pb;cmsb\x06proto3"
|
||||
"\bGetByKey\x12\x19.cms.GetPagesByKeyRequest\x1a\x0e.cms.PagesItem\"\x00\x128\n" +
|
||||
"\x06Create\x12\x0e.cms.PagesItem\x1a\x1c.base_cms_blocks.StatusReply\"\x00\x128\n" +
|
||||
"\x06Modify\x12\x0e.cms.PagesItem\x1a\x1c.base_cms_blocks.StatusReply\"\x00\x12G\n" +
|
||||
"\x06Delete\x12\x1d.base_cms_blocks.IdentRequest\x1a\x1c.base_cms_blocks.StatusReply\"\x00B!Z\x1fbsm/full/module/base/cms/pb;cmsb\x06proto3"
|
||||
|
||||
var (
|
||||
file_module_base_cms_proto_pages_proto_rawDescOnce sync.Once
|
||||
@@ -475,27 +475,27 @@ var file_module_base_cms_proto_pages_proto_goTypes = []any{
|
||||
(*PagesListRequest)(nil), // 2: cms.PagesListRequest
|
||||
(*PagesListReply)(nil), // 3: cms.PagesListReply
|
||||
(*GetPagesRequest)(nil), // 4: cms.GetPagesRequest
|
||||
(*CmsAccessoryItem)(nil), // 5: blocks.CmsAccessoryItem
|
||||
(*CmsTagsItem)(nil), // 6: blocks.CmsTagsItem
|
||||
(*IdentRequest)(nil), // 7: blocks.IdentRequest
|
||||
(*StatusReply)(nil), // 8: blocks.StatusReply
|
||||
(*CmsAccessoryItem)(nil), // 5: base_cms_blocks.CmsAccessoryItem
|
||||
(*CmsTagsItem)(nil), // 6: base_cms_blocks.CmsTagsItem
|
||||
(*IdentRequest)(nil), // 7: base_cms_blocks.IdentRequest
|
||||
(*StatusReply)(nil), // 8: base_cms_blocks.StatusReply
|
||||
}
|
||||
var file_module_base_cms_proto_pages_proto_depIdxs = []int32{
|
||||
5, // 0: cms.PagesItem.accessory_data:type_name -> blocks.CmsAccessoryItem
|
||||
6, // 1: cms.PagesItem.tags_data:type_name -> blocks.CmsTagsItem
|
||||
5, // 0: cms.PagesItem.accessory_data:type_name -> base_cms_blocks.CmsAccessoryItem
|
||||
6, // 1: cms.PagesItem.tags_data:type_name -> base_cms_blocks.CmsTagsItem
|
||||
1, // 2: cms.PagesListReply.data:type_name -> cms.PagesItem
|
||||
2, // 3: cms.Pages.Fetch:input_type -> cms.PagesListRequest
|
||||
4, // 4: cms.Pages.GetByIdentity:input_type -> cms.GetPagesRequest
|
||||
0, // 5: cms.Pages.GetByKey:input_type -> cms.GetPagesByKeyRequest
|
||||
1, // 6: cms.Pages.Create:input_type -> cms.PagesItem
|
||||
1, // 7: cms.Pages.Modify:input_type -> cms.PagesItem
|
||||
7, // 8: cms.Pages.Delete:input_type -> blocks.IdentRequest
|
||||
7, // 8: cms.Pages.Delete:input_type -> base_cms_blocks.IdentRequest
|
||||
3, // 9: cms.Pages.Fetch:output_type -> cms.PagesListReply
|
||||
1, // 10: cms.Pages.GetByIdentity:output_type -> cms.PagesItem
|
||||
1, // 11: cms.Pages.GetByKey:output_type -> cms.PagesItem
|
||||
8, // 12: cms.Pages.Create:output_type -> blocks.StatusReply
|
||||
8, // 13: cms.Pages.Modify:output_type -> blocks.StatusReply
|
||||
8, // 14: cms.Pages.Delete:output_type -> blocks.StatusReply
|
||||
8, // 12: cms.Pages.Create:output_type -> base_cms_blocks.StatusReply
|
||||
8, // 13: cms.Pages.Modify:output_type -> base_cms_blocks.StatusReply
|
||||
8, // 14: cms.Pages.Delete:output_type -> base_cms_blocks.StatusReply
|
||||
9, // [9:15] is the sub-list for method output_type
|
||||
3, // [3:9] is the sub-list for method input_type
|
||||
3, // [3:3] is the sub-list for extension type_name
|
||||
|
||||
Reference in New Issue
Block a user