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

@@ -368,9 +368,9 @@ const file_module_ec_order_proto_mgt_proto_rawDesc = "" +
"\x04spec\x18\x05 \x03(\v2\x0f.order.SpecListR\x04spec\"N\n" +
"\bSpecList\x12\x16\n" +
"\x06number\x18\x01 \x01(\x05R\x06number\x12*\n" +
"\x10product_identity\x18\x02 \x01(\tR\x10product_identity\"C\n" +
"\rOrderGetReply\x122\n" +
"\asummary\x18\x01 \x01(\v2\x18.blocks.OrderSummaryItemR\asummary\"\xa2\x02\n" +
"\x10product_identity\x18\x02 \x01(\tR\x10product_identity\"L\n" +
"\rOrderGetReply\x12;\n" +
"\asummary\x18\x01 \x01(\v2!.ec_order_blocks.OrderSummaryItemR\asummary\"\xa2\x02\n" +
"\x17OrderListByStoreRequest\x12\x1a\n" +
"\bpay_type\x18\x01 \x01(\x05R\bpay_type\x12\"\n" +
"\forder_status\x18\x02 \x03(\x05R\forder_status\x12\x18\n" +
@@ -382,18 +382,18 @@ const file_module_ec_order_proto_mgt_proto_rawDesc = "" +
"\x06agency\x18\x06 \x01(\tR\x06agency\x12%\n" +
"\x0estore_identity\x18\a \x01(\tR\rstoreIdentity\x12\x16\n" +
"\x06status\x18\b \x01(\x05R\x06status\x12\x18\n" +
"\akeyword\x18\t \x01(\tR\akeyword\"[\n" +
"\akeyword\x18\t \x01(\tR\akeyword\"d\n" +
"\x15OrderListByStoreReply\x12\x14\n" +
"\x05count\x18\x01 \x01(\x05R\x05count\x12,\n" +
"\x04data\x18\x02 \x03(\v2\x18.blocks.OrderSummaryItemR\x04data2\xfa\x03\n" +
"\x03Mgt\x12D\n" +
"\vOrderCreate\x12\x19.order.CreateOrderRequest\x1a\x18.blocks.OrderStatusReply\"\x00\x12C\n" +
"\vOrderModify\x12\x18.blocks.OrderSummaryItem\x1a\x18.blocks.OrderStatusReply\"\x00\x12=\n" +
"\bOrderGet\x12\x19.blocks.OrderIdentRequest\x1a\x14.order.OrderGetReply\"\x00\x12R\n" +
"\x10OrderListByStore\x12\x1e.order.OrderListByStoreRequest\x1a\x1c.order.OrderListByStoreReply\"\x00\x12D\n" +
"\vOrderCancel\x12\x19.blocks.OrderIdentRequest\x1a\x18.blocks.OrderStatusReply\"\x00\x12H\n" +
"\x0fOrderReturnable\x12\x19.blocks.OrderIdentRequest\x1a\x18.blocks.OrderStatusReply\"\x00\x12E\n" +
"\fOrderApprove\x12\x19.blocks.OrderIdentRequest\x1a\x18.blocks.OrderStatusReply\"\x00B#Z!bsm/full/module/ec/order/pb;orderb\x06proto3"
"\x05count\x18\x01 \x01(\x05R\x05count\x125\n" +
"\x04data\x18\x02 \x03(\v2!.ec_order_blocks.OrderSummaryItemR\x04data2\xd4\x04\n" +
"\x03Mgt\x12M\n" +
"\vOrderCreate\x12\x19.order.CreateOrderRequest\x1a!.ec_order_blocks.OrderStatusReply\"\x00\x12U\n" +
"\vOrderModify\x12!.ec_order_blocks.OrderSummaryItem\x1a!.ec_order_blocks.OrderStatusReply\"\x00\x12F\n" +
"\bOrderGet\x12\".ec_order_blocks.OrderIdentRequest\x1a\x14.order.OrderGetReply\"\x00\x12R\n" +
"\x10OrderListByStore\x12\x1e.order.OrderListByStoreRequest\x1a\x1c.order.OrderListByStoreReply\"\x00\x12V\n" +
"\vOrderCancel\x12\".ec_order_blocks.OrderIdentRequest\x1a!.ec_order_blocks.OrderStatusReply\"\x00\x12Z\n" +
"\x0fOrderReturnable\x12\".ec_order_blocks.OrderIdentRequest\x1a!.ec_order_blocks.OrderStatusReply\"\x00\x12W\n" +
"\fOrderApprove\x12\".ec_order_blocks.OrderIdentRequest\x1a!.ec_order_blocks.OrderStatusReply\"\x00B#Z!bsm/full/module/ec/order/pb;orderb\x06proto3"
var (
file_module_ec_order_proto_mgt_proto_rawDescOnce sync.Once
@@ -414,28 +414,28 @@ var file_module_ec_order_proto_mgt_proto_goTypes = []any{
(*OrderGetReply)(nil), // 2: order.OrderGetReply
(*OrderListByStoreRequest)(nil), // 3: order.OrderListByStoreRequest
(*OrderListByStoreReply)(nil), // 4: order.OrderListByStoreReply
(*OrderSummaryItem)(nil), // 5: blocks.OrderSummaryItem
(*OrderIdentRequest)(nil), // 6: blocks.OrderIdentRequest
(*OrderStatusReply)(nil), // 7: blocks.OrderStatusReply
(*OrderSummaryItem)(nil), // 5: ec_order_blocks.OrderSummaryItem
(*OrderIdentRequest)(nil), // 6: ec_order_blocks.OrderIdentRequest
(*OrderStatusReply)(nil), // 7: ec_order_blocks.OrderStatusReply
}
var file_module_ec_order_proto_mgt_proto_depIdxs = []int32{
1, // 0: order.CreateOrderRequest.spec:type_name -> order.SpecList
5, // 1: order.OrderGetReply.summary:type_name -> blocks.OrderSummaryItem
5, // 2: order.OrderListByStoreReply.data:type_name -> blocks.OrderSummaryItem
5, // 1: order.OrderGetReply.summary:type_name -> ec_order_blocks.OrderSummaryItem
5, // 2: order.OrderListByStoreReply.data:type_name -> ec_order_blocks.OrderSummaryItem
0, // 3: order.Mgt.OrderCreate:input_type -> order.CreateOrderRequest
5, // 4: order.Mgt.OrderModify:input_type -> blocks.OrderSummaryItem
6, // 5: order.Mgt.OrderGet:input_type -> blocks.OrderIdentRequest
5, // 4: order.Mgt.OrderModify:input_type -> ec_order_blocks.OrderSummaryItem
6, // 5: order.Mgt.OrderGet:input_type -> ec_order_blocks.OrderIdentRequest
3, // 6: order.Mgt.OrderListByStore:input_type -> order.OrderListByStoreRequest
6, // 7: order.Mgt.OrderCancel:input_type -> blocks.OrderIdentRequest
6, // 8: order.Mgt.OrderReturnable:input_type -> blocks.OrderIdentRequest
6, // 9: order.Mgt.OrderApprove:input_type -> blocks.OrderIdentRequest
7, // 10: order.Mgt.OrderCreate:output_type -> blocks.OrderStatusReply
7, // 11: order.Mgt.OrderModify:output_type -> blocks.OrderStatusReply
6, // 7: order.Mgt.OrderCancel:input_type -> ec_order_blocks.OrderIdentRequest
6, // 8: order.Mgt.OrderReturnable:input_type -> ec_order_blocks.OrderIdentRequest
6, // 9: order.Mgt.OrderApprove:input_type -> ec_order_blocks.OrderIdentRequest
7, // 10: order.Mgt.OrderCreate:output_type -> ec_order_blocks.OrderStatusReply
7, // 11: order.Mgt.OrderModify:output_type -> ec_order_blocks.OrderStatusReply
2, // 12: order.Mgt.OrderGet:output_type -> order.OrderGetReply
4, // 13: order.Mgt.OrderListByStore:output_type -> order.OrderListByStoreReply
7, // 14: order.Mgt.OrderCancel:output_type -> blocks.OrderStatusReply
7, // 15: order.Mgt.OrderReturnable:output_type -> blocks.OrderStatusReply
7, // 16: order.Mgt.OrderApprove:output_type -> blocks.OrderStatusReply
7, // 14: order.Mgt.OrderCancel:output_type -> ec_order_blocks.OrderStatusReply
7, // 15: order.Mgt.OrderReturnable:output_type -> ec_order_blocks.OrderStatusReply
7, // 16: order.Mgt.OrderApprove:output_type -> ec_order_blocks.OrderStatusReply
10, // [10:17] is the sub-list for method output_type
3, // [3:10] is the sub-list for method input_type
3, // [3:3] is the sub-list for extension type_name