refactor: localize protobuf definitions

This commit is contained in:
2026-08-09 20:14:57 +08:00
parent 9f6f318bbb
commit 5ea45a76fe
429 changed files with 54058 additions and 61623 deletions

View File

@@ -7,7 +7,6 @@
package mall
import (
protobuf "bsm/full/protobuf"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
@@ -662,7 +661,7 @@ var File_module_ec_mall_proto_store_proto protoreflect.FileDescriptor
const file_module_ec_mall_proto_store_proto_rawDesc = "" +
"\n" +
" module/ec/mall/proto/store.proto\x12\x04mall\x1a\x15protobuf/blocks.proto\"F\n" +
" module/ec/mall/proto/store.proto\x12\x04mall\x1a module/ec/mall/proto/const.proto\"F\n" +
"\x0eSettingRequest\x12\x1a\n" +
"\bidentity\x18\x01 \x01(\tR\bidentity\x12\x18\n" +
"\aconfigs\x18\x02 \x01(\tR\aconfigs\"(\n" +
@@ -746,17 +745,17 @@ func file_module_ec_mall_proto_store_proto_rawDescGZIP() []byte {
var file_module_ec_mall_proto_store_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
var file_module_ec_mall_proto_store_proto_goTypes = []any{
(*SettingRequest)(nil), // 0: mall.SettingRequest
(*ConfigsReply)(nil), // 1: mall.ConfigsReply
(*LicensingRequest)(nil), // 2: mall.LicensingRequest
(*ApplyJoinRequest)(nil), // 3: mall.ApplyJoinRequest
(*StoreBasic)(nil), // 4: mall.StoreBasic
(*MiniCodeRequest)(nil), // 5: mall.MiniCodeRequest
(*MiniCodeReply)(nil), // 6: mall.MiniCodeReply
(*MallSearchRequest)(nil), // 7: mall.MallSearchRequest
(*MallSearchReply)(nil), // 8: mall.MallSearchReply
(*protobuf.IdentRequest)(nil), // 9: blocks.IdentRequest
(*protobuf.IdentityStatusReply)(nil), // 10: blocks.IdentityStatusReply
(*SettingRequest)(nil), // 0: mall.SettingRequest
(*ConfigsReply)(nil), // 1: mall.ConfigsReply
(*LicensingRequest)(nil), // 2: mall.LicensingRequest
(*ApplyJoinRequest)(nil), // 3: mall.ApplyJoinRequest
(*StoreBasic)(nil), // 4: mall.StoreBasic
(*MiniCodeRequest)(nil), // 5: mall.MiniCodeRequest
(*MiniCodeReply)(nil), // 6: mall.MiniCodeReply
(*MallSearchRequest)(nil), // 7: mall.MallSearchRequest
(*MallSearchReply)(nil), // 8: mall.MallSearchReply
(*IdentRequest)(nil), // 9: blocks.IdentRequest
(*IdentityStatusReply)(nil), // 10: blocks.IdentityStatusReply
}
var file_module_ec_mall_proto_store_proto_depIdxs = []int32{
4, // 0: mall.MallSearchReply.list:type_name -> mall.StoreBasic
@@ -792,6 +791,7 @@ func file_module_ec_mall_proto_store_proto_init() {
if File_module_ec_mall_proto_store_proto != nil {
return
}
file_module_ec_mall_proto_const_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{