refactor: add unified all service gateway

This commit is contained in:
2026-08-10 10:03:46 +08:00
parent 5ea45a76fe
commit f994b2de9c
143 changed files with 2853 additions and 2129 deletions

View File

@@ -2358,38 +2358,37 @@ const file_module_ec_mall_proto_product_proto_rawDesc = "" +
"\n" +
"categories\x18\" \x03(\v2\x14.mall.CategoriesItemR\n" +
"categories\x12 \n" +
"\vsupply_name\x18# \x01(\tR\vsupply_name2\xb7\n" +
"\vsupply_name\x18# \x01(\tR\vsupply_name2\xef\v\n" +
"\aProduct\x12@\n" +
"\tItemFetch\x12 .ec_mall_blocks.MallFetchRequest\x1a\x0f.mall.ListReply\"\x00\x12?\n" +
"\n" +
"\aProduct\x128\n" +
"\tItemFetch\x12\x18.blocks.MallFetchRequest\x1a\x0f.mall.ListReply\"\x00\x127\n" +
"ItemDetail\x12\x1c.ec_mall_blocks.IdentRequest\x1a\x11.mall.ProductItem\"\x00\x12K\n" +
"\x12ItemDetailBySerial\x12\".ec_mall_blocks.StoreSerialRequest\x1a\x0f.mall.ListReply\"\x00\x12?\n" +
"\x10ItemDetailBySpec\x12\x19.mall.DetailBySpecRequest\x1a\x0e.mall.ListItem\"\x00\x12F\n" +
"\n" +
"ItemDetail\x12\x14.blocks.IdentRequest\x1a\x11.mall.ProductItem\"\x00\x12C\n" +
"\x12ItemDetailBySerial\x12\x1a.blocks.StoreSerialRequest\x1a\x0f.mall.ListReply\"\x00\x12?\n" +
"\x10ItemDetailBySpec\x12\x19.mall.DetailBySpecRequest\x1a\x0e.mall.ListItem\"\x00\x12>\n" +
"ItemCreate\x12\x11.mall.ProductItem\x1a#.ec_mall_blocks.IdentityStatusReply\"\x00\x12Q\n" +
"\n" +
"ItemCreate\x12\x11.mall.ProductItem\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12A\n" +
"ItemDelete\x12\x1c.ec_mall_blocks.IdentRequest\x1a#.ec_mall_blocks.IdentityStatusReply\"\x00\x12H\n" +
"\n" +
"ItemDelete\x12\x14.blocks.IdentRequest\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12@\n" +
"ItemModify\x12\x13.mall.ModifyRequest\x1a#.ec_mall_blocks.IdentityStatusReply\"\x00\x12E\n" +
"\vItemBatchOp\x12\x0f.mall.OpRequest\x1a#.ec_mall_blocks.IdentityStatusReply\"\x00\x12@\n" +
"\tSpecFetch\x12 .ec_mall_blocks.MallFetchRequest\x1a\x0f.mall.SpecReply\"\x00\x12C\n" +
"\n" +
"ItemModify\x12\x13.mall.ModifyRequest\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12=\n" +
"\vItemBatchOp\x12\x0f.mall.OpRequest\x1a\x1b.blocks.IdentityStatusReply\"\x00\x128\n" +
"\tSpecFetch\x12\x18.blocks.MallFetchRequest\x1a\x0f.mall.SpecReply\"\x00\x12;\n" +
"SpecCreate\x12\x0e.mall.SpecItem\x1a#.ec_mall_blocks.IdentityStatusReply\"\x00\x12C\n" +
"\n" +
"SpecCreate\x12\x0e.mall.SpecItem\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12;\n" +
"SpecModify\x12\x0e.mall.SpecItem\x1a#.ec_mall_blocks.IdentityStatusReply\"\x00\x12Q\n" +
"\n" +
"SpecModify\x12\x0e.mall.SpecItem\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12A\n" +
"SpecDelete\x12\x1c.ec_mall_blocks.IdentRequest\x1a#.ec_mall_blocks.IdentityStatusReply\"\x00\x12<\n" +
"\n" +
"SpecDelete\x12\x14.blocks.IdentRequest\x1a\x1b.blocks.IdentityStatusReply\"\x00\x124\n" +
"\n" +
"SpecDetail\x12\x14.blocks.IdentRequest\x1a\x0e.mall.SpecItem\"\x00\x12=\n" +
"\vPhotoCreate\x12\x0f.mall.PhotoItem\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12B\n" +
"\vPhotoDelete\x12\x14.blocks.IdentRequest\x1a\x1b.blocks.IdentityStatusReply\"\x00\x120\n" +
"\tPhotoList\x12\x0f.mall.PhotoItem\x1a\x10.mall.PhotoReply\"\x00\x12B\n" +
"\fCommentFetch\x12\x18.blocks.MallFetchRequest\x1a\x16.mall.CommentListReply\"\x00\x12A\n" +
"\rCommentCreate\x12\x11.mall.CommentItem\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12=\n" +
"\tCommentRe\x12\x11.mall.CommentItem\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12D\n" +
"\rCommentDelete\x12\x14.blocks.IdentRequest\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12A\n" +
"\rCommentModify\x12\x11.mall.CommentItem\x1a\x1b.blocks.IdentityStatusReply\"\x00B!Z\x1fbsm/full/module/ec/mall/pb;mallb\x06proto3"
"SpecDetail\x12\x1c.ec_mall_blocks.IdentRequest\x1a\x0e.mall.SpecItem\"\x00\x12E\n" +
"\vPhotoCreate\x12\x0f.mall.PhotoItem\x1a#.ec_mall_blocks.IdentityStatusReply\"\x00\x12R\n" +
"\vPhotoDelete\x12\x1c.ec_mall_blocks.IdentRequest\x1a#.ec_mall_blocks.IdentityStatusReply\"\x00\x120\n" +
"\tPhotoList\x12\x0f.mall.PhotoItem\x1a\x10.mall.PhotoReply\"\x00\x12J\n" +
"\fCommentFetch\x12 .ec_mall_blocks.MallFetchRequest\x1a\x16.mall.CommentListReply\"\x00\x12I\n" +
"\rCommentCreate\x12\x11.mall.CommentItem\x1a#.ec_mall_blocks.IdentityStatusReply\"\x00\x12E\n" +
"\tCommentRe\x12\x11.mall.CommentItem\x1a#.ec_mall_blocks.IdentityStatusReply\"\x00\x12T\n" +
"\rCommentDelete\x12\x1c.ec_mall_blocks.IdentRequest\x1a#.ec_mall_blocks.IdentityStatusReply\"\x00\x12I\n" +
"\rCommentModify\x12\x11.mall.CommentItem\x1a#.ec_mall_blocks.IdentityStatusReply\"\x00B!Z\x1fbsm/full/module/ec/mall/pb;mallb\x06proto3"
var (
file_module_ec_mall_proto_product_proto_rawDescOnce sync.Once
@@ -2426,10 +2425,10 @@ var file_module_ec_mall_proto_product_proto_goTypes = []any{
(*PhotoItem)(nil), // 18: mall.PhotoItem
(*CategoriesItem)(nil), // 19: mall.CategoriesItem
(*ProductItem)(nil), // 20: mall.ProductItem
(*MallFetchRequest)(nil), // 21: blocks.MallFetchRequest
(*IdentRequest)(nil), // 22: blocks.IdentRequest
(*StoreSerialRequest)(nil), // 23: blocks.StoreSerialRequest
(*IdentityStatusReply)(nil), // 24: blocks.IdentityStatusReply
(*MallFetchRequest)(nil), // 21: ec_mall_blocks.MallFetchRequest
(*IdentRequest)(nil), // 22: ec_mall_blocks.IdentRequest
(*StoreSerialRequest)(nil), // 23: ec_mall_blocks.StoreSerialRequest
(*IdentityStatusReply)(nil), // 24: ec_mall_blocks.IdentityStatusReply
}
var file_module_ec_mall_proto_product_proto_depIdxs = []int32{
1, // 0: mall.CommentItemRep.list:type_name -> mall.CommentItem
@@ -2442,48 +2441,48 @@ var file_module_ec_mall_proto_product_proto_depIdxs = []int32{
18, // 7: mall.ProductItem.images:type_name -> mall.PhotoItem
17, // 8: mall.ProductItem.specification:type_name -> mall.SpecItem
19, // 9: mall.ProductItem.categories:type_name -> mall.CategoriesItem
21, // 10: mall.Product.ItemFetch:input_type -> blocks.MallFetchRequest
22, // 11: mall.Product.ItemDetail:input_type -> blocks.IdentRequest
23, // 12: mall.Product.ItemDetailBySerial:input_type -> blocks.StoreSerialRequest
21, // 10: mall.Product.ItemFetch:input_type -> ec_mall_blocks.MallFetchRequest
22, // 11: mall.Product.ItemDetail:input_type -> ec_mall_blocks.IdentRequest
23, // 12: mall.Product.ItemDetailBySerial:input_type -> ec_mall_blocks.StoreSerialRequest
3, // 13: mall.Product.ItemDetailBySpec:input_type -> mall.DetailBySpecRequest
20, // 14: mall.Product.ItemCreate:input_type -> mall.ProductItem
22, // 15: mall.Product.ItemDelete:input_type -> blocks.IdentRequest
22, // 15: mall.Product.ItemDelete:input_type -> ec_mall_blocks.IdentRequest
5, // 16: mall.Product.ItemModify:input_type -> mall.ModifyRequest
4, // 17: mall.Product.ItemBatchOp:input_type -> mall.OpRequest
21, // 18: mall.Product.SpecFetch:input_type -> blocks.MallFetchRequest
21, // 18: mall.Product.SpecFetch:input_type -> ec_mall_blocks.MallFetchRequest
17, // 19: mall.Product.SpecCreate:input_type -> mall.SpecItem
17, // 20: mall.Product.SpecModify:input_type -> mall.SpecItem
22, // 21: mall.Product.SpecDelete:input_type -> blocks.IdentRequest
22, // 22: mall.Product.SpecDetail:input_type -> blocks.IdentRequest
22, // 21: mall.Product.SpecDelete:input_type -> ec_mall_blocks.IdentRequest
22, // 22: mall.Product.SpecDetail:input_type -> ec_mall_blocks.IdentRequest
18, // 23: mall.Product.PhotoCreate:input_type -> mall.PhotoItem
22, // 24: mall.Product.PhotoDelete:input_type -> blocks.IdentRequest
22, // 24: mall.Product.PhotoDelete:input_type -> ec_mall_blocks.IdentRequest
18, // 25: mall.Product.PhotoList:input_type -> mall.PhotoItem
21, // 26: mall.Product.CommentFetch:input_type -> blocks.MallFetchRequest
21, // 26: mall.Product.CommentFetch:input_type -> ec_mall_blocks.MallFetchRequest
1, // 27: mall.Product.CommentCreate:input_type -> mall.CommentItem
1, // 28: mall.Product.CommentRe:input_type -> mall.CommentItem
22, // 29: mall.Product.CommentDelete:input_type -> blocks.IdentRequest
22, // 29: mall.Product.CommentDelete:input_type -> ec_mall_blocks.IdentRequest
1, // 30: mall.Product.CommentModify:input_type -> mall.CommentItem
15, // 31: mall.Product.ItemFetch:output_type -> mall.ListReply
20, // 32: mall.Product.ItemDetail:output_type -> mall.ProductItem
15, // 33: mall.Product.ItemDetailBySerial:output_type -> mall.ListReply
6, // 34: mall.Product.ItemDetailBySpec:output_type -> mall.ListItem
24, // 35: mall.Product.ItemCreate:output_type -> blocks.IdentityStatusReply
24, // 36: mall.Product.ItemDelete:output_type -> blocks.IdentityStatusReply
24, // 37: mall.Product.ItemModify:output_type -> blocks.IdentityStatusReply
24, // 38: mall.Product.ItemBatchOp:output_type -> blocks.IdentityStatusReply
24, // 35: mall.Product.ItemCreate:output_type -> ec_mall_blocks.IdentityStatusReply
24, // 36: mall.Product.ItemDelete:output_type -> ec_mall_blocks.IdentityStatusReply
24, // 37: mall.Product.ItemModify:output_type -> ec_mall_blocks.IdentityStatusReply
24, // 38: mall.Product.ItemBatchOp:output_type -> ec_mall_blocks.IdentityStatusReply
10, // 39: mall.Product.SpecFetch:output_type -> mall.SpecReply
24, // 40: mall.Product.SpecCreate:output_type -> blocks.IdentityStatusReply
24, // 41: mall.Product.SpecModify:output_type -> blocks.IdentityStatusReply
24, // 42: mall.Product.SpecDelete:output_type -> blocks.IdentityStatusReply
24, // 40: mall.Product.SpecCreate:output_type -> ec_mall_blocks.IdentityStatusReply
24, // 41: mall.Product.SpecModify:output_type -> ec_mall_blocks.IdentityStatusReply
24, // 42: mall.Product.SpecDelete:output_type -> ec_mall_blocks.IdentityStatusReply
17, // 43: mall.Product.SpecDetail:output_type -> mall.SpecItem
24, // 44: mall.Product.PhotoCreate:output_type -> blocks.IdentityStatusReply
24, // 45: mall.Product.PhotoDelete:output_type -> blocks.IdentityStatusReply
24, // 44: mall.Product.PhotoCreate:output_type -> ec_mall_blocks.IdentityStatusReply
24, // 45: mall.Product.PhotoDelete:output_type -> ec_mall_blocks.IdentityStatusReply
9, // 46: mall.Product.PhotoList:output_type -> mall.PhotoReply
11, // 47: mall.Product.CommentFetch:output_type -> mall.CommentListReply
24, // 48: mall.Product.CommentCreate:output_type -> blocks.IdentityStatusReply
24, // 49: mall.Product.CommentRe:output_type -> blocks.IdentityStatusReply
24, // 50: mall.Product.CommentDelete:output_type -> blocks.IdentityStatusReply
24, // 51: mall.Product.CommentModify:output_type -> blocks.IdentityStatusReply
24, // 48: mall.Product.CommentCreate:output_type -> ec_mall_blocks.IdentityStatusReply
24, // 49: mall.Product.CommentRe:output_type -> ec_mall_blocks.IdentityStatusReply
24, // 50: mall.Product.CommentDelete:output_type -> ec_mall_blocks.IdentityStatusReply
24, // 51: mall.Product.CommentModify:output_type -> ec_mall_blocks.IdentityStatusReply
31, // [31:52] is the sub-list for method output_type
10, // [10:31] is the sub-list for method input_type
10, // [10:10] is the sub-list for extension type_name