813 lines
25 KiB
Go
813 lines
25 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
// versions:
|
||
// protoc-gen-go v1.36.11
|
||
// protoc v7.35.1
|
||
// source: module/ec/mall/proto/store.proto
|
||
|
||
package mall
|
||
|
||
import (
|
||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||
reflect "reflect"
|
||
sync "sync"
|
||
unsafe "unsafe"
|
||
)
|
||
|
||
const (
|
||
// Verify that this generated code is sufficiently up-to-date.
|
||
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||
)
|
||
|
||
type SettingRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` // 店铺唯一标识
|
||
Configs string `protobuf:"bytes,2,opt,name=configs,proto3" json:"configs,omitempty"` // 配置说明:标准json字符串
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *SettingRequest) Reset() {
|
||
*x = SettingRequest{}
|
||
mi := &file_module_ec_mall_proto_store_proto_msgTypes[0]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *SettingRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*SettingRequest) ProtoMessage() {}
|
||
|
||
func (x *SettingRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_module_ec_mall_proto_store_proto_msgTypes[0]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use SettingRequest.ProtoReflect.Descriptor instead.
|
||
func (*SettingRequest) Descriptor() ([]byte, []int) {
|
||
return file_module_ec_mall_proto_store_proto_rawDescGZIP(), []int{0}
|
||
}
|
||
|
||
func (x *SettingRequest) GetIdentity() string {
|
||
if x != nil {
|
||
return x.Identity
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *SettingRequest) GetConfigs() string {
|
||
if x != nil {
|
||
return x.Configs
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type ConfigsReply struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Configs string `protobuf:"bytes,1,opt,name=configs,proto3" json:"configs,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ConfigsReply) Reset() {
|
||
*x = ConfigsReply{}
|
||
mi := &file_module_ec_mall_proto_store_proto_msgTypes[1]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ConfigsReply) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ConfigsReply) ProtoMessage() {}
|
||
|
||
func (x *ConfigsReply) ProtoReflect() protoreflect.Message {
|
||
mi := &file_module_ec_mall_proto_store_proto_msgTypes[1]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ConfigsReply.ProtoReflect.Descriptor instead.
|
||
func (*ConfigsReply) Descriptor() ([]byte, []int) {
|
||
return file_module_ec_mall_proto_store_proto_rawDescGZIP(), []int{1}
|
||
}
|
||
|
||
func (x *ConfigsReply) GetConfigs() string {
|
||
if x != nil {
|
||
return x.Configs
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type LicensingRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
LicenseType string `protobuf:"bytes,1,opt,name=license_type,proto3" json:"license_type,omitempty"` // 授权类型
|
||
License string `protobuf:"bytes,2,opt,name=license,proto3" json:"license,omitempty"` // 许可码
|
||
Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`
|
||
Host string `protobuf:"bytes,4,opt,name=host,proto3" json:"host,omitempty"`
|
||
Ip string `protobuf:"bytes,5,opt,name=ip,proto3" json:"ip,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *LicensingRequest) Reset() {
|
||
*x = LicensingRequest{}
|
||
mi := &file_module_ec_mall_proto_store_proto_msgTypes[2]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *LicensingRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*LicensingRequest) ProtoMessage() {}
|
||
|
||
func (x *LicensingRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_module_ec_mall_proto_store_proto_msgTypes[2]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use LicensingRequest.ProtoReflect.Descriptor instead.
|
||
func (*LicensingRequest) Descriptor() ([]byte, []int) {
|
||
return file_module_ec_mall_proto_store_proto_rawDescGZIP(), []int{2}
|
||
}
|
||
|
||
func (x *LicensingRequest) GetLicenseType() string {
|
||
if x != nil {
|
||
return x.LicenseType
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *LicensingRequest) GetLicense() string {
|
||
if x != nil {
|
||
return x.License
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *LicensingRequest) GetDomain() string {
|
||
if x != nil {
|
||
return x.Domain
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *LicensingRequest) GetHost() string {
|
||
if x != nil {
|
||
return x.Host
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *LicensingRequest) GetIp() string {
|
||
if x != nil {
|
||
return x.Ip
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type ApplyJoinRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Logo string `protobuf:"bytes,1,opt,name=logo,proto3" json:"logo,omitempty"` // 店铺 logo
|
||
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` // 店铺 标题
|
||
Intro string `protobuf:"bytes,3,opt,name=intro,proto3" json:"intro,omitempty"` // 店铺 描述说明
|
||
Template string `protobuf:"bytes,4,opt,name=template,proto3" json:"template,omitempty"` // 店铺 模板
|
||
Configs string `protobuf:"bytes,5,opt,name=configs,proto3" json:"configs,omitempty"` // 店铺 配置说明
|
||
Subdomain string `protobuf:"bytes,6,opt,name=subdomain,proto3" json:"subdomain,omitempty"` // 店铺 子域名设置
|
||
ApplyRemarks string `protobuf:"bytes,7,opt,name=apply_remarks,proto3" json:"apply_remarks,omitempty"` // 申请备注
|
||
Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"` // 管理员 姓名
|
||
Account string `protobuf:"bytes,9,opt,name=account,proto3" json:"account,omitempty"` // 管理员 帐号
|
||
Phone string `protobuf:"bytes,10,opt,name=phone,proto3" json:"phone,omitempty"` // 管理员 手机号
|
||
Email string `protobuf:"bytes,11,opt,name=email,proto3" json:"email,omitempty"` // 管理员 邮箱
|
||
Password string `protobuf:"bytes,12,opt,name=password,proto3" json:"password,omitempty"` // 管理员 密码
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *ApplyJoinRequest) Reset() {
|
||
*x = ApplyJoinRequest{}
|
||
mi := &file_module_ec_mall_proto_store_proto_msgTypes[3]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *ApplyJoinRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*ApplyJoinRequest) ProtoMessage() {}
|
||
|
||
func (x *ApplyJoinRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_module_ec_mall_proto_store_proto_msgTypes[3]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use ApplyJoinRequest.ProtoReflect.Descriptor instead.
|
||
func (*ApplyJoinRequest) Descriptor() ([]byte, []int) {
|
||
return file_module_ec_mall_proto_store_proto_rawDescGZIP(), []int{3}
|
||
}
|
||
|
||
func (x *ApplyJoinRequest) GetLogo() string {
|
||
if x != nil {
|
||
return x.Logo
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ApplyJoinRequest) GetTitle() string {
|
||
if x != nil {
|
||
return x.Title
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ApplyJoinRequest) GetIntro() string {
|
||
if x != nil {
|
||
return x.Intro
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ApplyJoinRequest) GetTemplate() string {
|
||
if x != nil {
|
||
return x.Template
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ApplyJoinRequest) GetConfigs() string {
|
||
if x != nil {
|
||
return x.Configs
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ApplyJoinRequest) GetSubdomain() string {
|
||
if x != nil {
|
||
return x.Subdomain
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ApplyJoinRequest) GetApplyRemarks() string {
|
||
if x != nil {
|
||
return x.ApplyRemarks
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ApplyJoinRequest) GetName() string {
|
||
if x != nil {
|
||
return x.Name
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ApplyJoinRequest) GetAccount() string {
|
||
if x != nil {
|
||
return x.Account
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ApplyJoinRequest) GetPhone() string {
|
||
if x != nil {
|
||
return x.Phone
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ApplyJoinRequest) GetEmail() string {
|
||
if x != nil {
|
||
return x.Email
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *ApplyJoinRequest) GetPassword() string {
|
||
if x != nil {
|
||
return x.Password
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type StoreBasic struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||
Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` //店铺唯一标识
|
||
Logo string `protobuf:"bytes,3,opt,name=logo,proto3" json:"logo,omitempty"` // logo
|
||
Title string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"` // 标题
|
||
Intro string `protobuf:"bytes,5,opt,name=intro,proto3" json:"intro,omitempty"` // 描述说明
|
||
Template string `protobuf:"bytes,6,opt,name=template,proto3" json:"template,omitempty"` // 模板
|
||
Configs string `protobuf:"bytes,7,opt,name=configs,proto3" json:"configs,omitempty"` // 配置说明
|
||
Subdomain string `protobuf:"bytes,8,opt,name=subdomain,proto3" json:"subdomain,omitempty"` // 子域名设置,可选
|
||
CreatedAt string `protobuf:"bytes,9,opt,name=created_at,proto3" json:"created_at,omitempty"` // 创建时间
|
||
Status int32 `protobuf:"varint,10,opt,name=status,proto3" json:"status,omitempty"` // 状态
|
||
Keywords string `protobuf:"bytes,11,opt,name=keywords,proto3" json:"keywords,omitempty"` // SEO 关键词
|
||
Approve int32 `protobuf:"varint,12,opt,name=approve,proto3" json:"approve,omitempty"` // 审核状态:0待审核,1审核通过,2审核失败
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *StoreBasic) Reset() {
|
||
*x = StoreBasic{}
|
||
mi := &file_module_ec_mall_proto_store_proto_msgTypes[4]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *StoreBasic) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*StoreBasic) ProtoMessage() {}
|
||
|
||
func (x *StoreBasic) ProtoReflect() protoreflect.Message {
|
||
mi := &file_module_ec_mall_proto_store_proto_msgTypes[4]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use StoreBasic.ProtoReflect.Descriptor instead.
|
||
func (*StoreBasic) Descriptor() ([]byte, []int) {
|
||
return file_module_ec_mall_proto_store_proto_rawDescGZIP(), []int{4}
|
||
}
|
||
|
||
func (x *StoreBasic) GetId() int64 {
|
||
if x != nil {
|
||
return x.Id
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *StoreBasic) GetIdentity() string {
|
||
if x != nil {
|
||
return x.Identity
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *StoreBasic) GetLogo() string {
|
||
if x != nil {
|
||
return x.Logo
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *StoreBasic) GetTitle() string {
|
||
if x != nil {
|
||
return x.Title
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *StoreBasic) GetIntro() string {
|
||
if x != nil {
|
||
return x.Intro
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *StoreBasic) GetTemplate() string {
|
||
if x != nil {
|
||
return x.Template
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *StoreBasic) GetConfigs() string {
|
||
if x != nil {
|
||
return x.Configs
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *StoreBasic) GetSubdomain() string {
|
||
if x != nil {
|
||
return x.Subdomain
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *StoreBasic) GetCreatedAt() string {
|
||
if x != nil {
|
||
return x.CreatedAt
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *StoreBasic) GetStatus() int32 {
|
||
if x != nil {
|
||
return x.Status
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *StoreBasic) GetKeywords() string {
|
||
if x != nil {
|
||
return x.Keywords
|
||
}
|
||
return ""
|
||
}
|
||
|
||
func (x *StoreBasic) GetApprove() int32 {
|
||
if x != nil {
|
||
return x.Approve
|
||
}
|
||
return 0
|
||
}
|
||
|
||
type MiniCodeRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Types string `protobuf:"bytes,1,opt,name=types,proto3" json:"types,omitempty"` // 类型:img-获取二维码base64码,path:获取二维码在oss上的地址
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *MiniCodeRequest) Reset() {
|
||
*x = MiniCodeRequest{}
|
||
mi := &file_module_ec_mall_proto_store_proto_msgTypes[5]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *MiniCodeRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*MiniCodeRequest) ProtoMessage() {}
|
||
|
||
func (x *MiniCodeRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_module_ec_mall_proto_store_proto_msgTypes[5]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use MiniCodeRequest.ProtoReflect.Descriptor instead.
|
||
func (*MiniCodeRequest) Descriptor() ([]byte, []int) {
|
||
return file_module_ec_mall_proto_store_proto_rawDescGZIP(), []int{5}
|
||
}
|
||
|
||
func (x *MiniCodeRequest) GetTypes() string {
|
||
if x != nil {
|
||
return x.Types
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type MiniCodeReply struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
Img string `protobuf:"bytes,1,opt,name=img,proto3" json:"img,omitempty"` // 返回的数据将会根据参数types的变动而变动
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *MiniCodeReply) Reset() {
|
||
*x = MiniCodeReply{}
|
||
mi := &file_module_ec_mall_proto_store_proto_msgTypes[6]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *MiniCodeReply) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*MiniCodeReply) ProtoMessage() {}
|
||
|
||
func (x *MiniCodeReply) ProtoReflect() protoreflect.Message {
|
||
mi := &file_module_ec_mall_proto_store_proto_msgTypes[6]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use MiniCodeReply.ProtoReflect.Descriptor instead.
|
||
func (*MiniCodeReply) Descriptor() ([]byte, []int) {
|
||
return file_module_ec_mall_proto_store_proto_rawDescGZIP(), []int{6}
|
||
}
|
||
|
||
func (x *MiniCodeReply) GetImg() string {
|
||
if x != nil {
|
||
return x.Img
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type MallSearchRequest struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
PageNo int64 `protobuf:"varint,1,opt,name=page_no,proto3" json:"page_no,omitempty"` // 页数
|
||
PageSize int64 `protobuf:"varint,2,opt,name=page_size,proto3" json:"page_size,omitempty"` // 每页记录数
|
||
Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"` // 关键字
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *MallSearchRequest) Reset() {
|
||
*x = MallSearchRequest{}
|
||
mi := &file_module_ec_mall_proto_store_proto_msgTypes[7]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *MallSearchRequest) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*MallSearchRequest) ProtoMessage() {}
|
||
|
||
func (x *MallSearchRequest) ProtoReflect() protoreflect.Message {
|
||
mi := &file_module_ec_mall_proto_store_proto_msgTypes[7]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use MallSearchRequest.ProtoReflect.Descriptor instead.
|
||
func (*MallSearchRequest) Descriptor() ([]byte, []int) {
|
||
return file_module_ec_mall_proto_store_proto_rawDescGZIP(), []int{7}
|
||
}
|
||
|
||
func (x *MallSearchRequest) GetPageNo() int64 {
|
||
if x != nil {
|
||
return x.PageNo
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *MallSearchRequest) GetPageSize() int64 {
|
||
if x != nil {
|
||
return x.PageSize
|
||
}
|
||
return 0
|
||
}
|
||
|
||
func (x *MallSearchRequest) GetKeyword() string {
|
||
if x != nil {
|
||
return x.Keyword
|
||
}
|
||
return ""
|
||
}
|
||
|
||
type MallSearchReply struct {
|
||
state protoimpl.MessageState `protogen:"open.v1"`
|
||
List []*StoreBasic `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
|
||
Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
|
||
unknownFields protoimpl.UnknownFields
|
||
sizeCache protoimpl.SizeCache
|
||
}
|
||
|
||
func (x *MallSearchReply) Reset() {
|
||
*x = MallSearchReply{}
|
||
mi := &file_module_ec_mall_proto_store_proto_msgTypes[8]
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
|
||
func (x *MallSearchReply) String() string {
|
||
return protoimpl.X.MessageStringOf(x)
|
||
}
|
||
|
||
func (*MallSearchReply) ProtoMessage() {}
|
||
|
||
func (x *MallSearchReply) ProtoReflect() protoreflect.Message {
|
||
mi := &file_module_ec_mall_proto_store_proto_msgTypes[8]
|
||
if x != nil {
|
||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||
if ms.LoadMessageInfo() == nil {
|
||
ms.StoreMessageInfo(mi)
|
||
}
|
||
return ms
|
||
}
|
||
return mi.MessageOf(x)
|
||
}
|
||
|
||
// Deprecated: Use MallSearchReply.ProtoReflect.Descriptor instead.
|
||
func (*MallSearchReply) Descriptor() ([]byte, []int) {
|
||
return file_module_ec_mall_proto_store_proto_rawDescGZIP(), []int{8}
|
||
}
|
||
|
||
func (x *MallSearchReply) GetList() []*StoreBasic {
|
||
if x != nil {
|
||
return x.List
|
||
}
|
||
return nil
|
||
}
|
||
|
||
func (x *MallSearchReply) GetCount() int64 {
|
||
if x != nil {
|
||
return x.Count
|
||
}
|
||
return 0
|
||
}
|
||
|
||
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 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" +
|
||
"\fConfigsReply\x12\x18\n" +
|
||
"\aconfigs\x18\x01 \x01(\tR\aconfigs\"\x8c\x01\n" +
|
||
"\x10LicensingRequest\x12\"\n" +
|
||
"\flicense_type\x18\x01 \x01(\tR\flicense_type\x12\x18\n" +
|
||
"\alicense\x18\x02 \x01(\tR\alicense\x12\x16\n" +
|
||
"\x06domain\x18\x03 \x01(\tR\x06domain\x12\x12\n" +
|
||
"\x04host\x18\x04 \x01(\tR\x04host\x12\x0e\n" +
|
||
"\x02ip\x18\x05 \x01(\tR\x02ip\"\xc2\x02\n" +
|
||
"\x10ApplyJoinRequest\x12\x12\n" +
|
||
"\x04logo\x18\x01 \x01(\tR\x04logo\x12\x14\n" +
|
||
"\x05title\x18\x02 \x01(\tR\x05title\x12\x14\n" +
|
||
"\x05intro\x18\x03 \x01(\tR\x05intro\x12\x1a\n" +
|
||
"\btemplate\x18\x04 \x01(\tR\btemplate\x12\x18\n" +
|
||
"\aconfigs\x18\x05 \x01(\tR\aconfigs\x12\x1c\n" +
|
||
"\tsubdomain\x18\x06 \x01(\tR\tsubdomain\x12$\n" +
|
||
"\rapply_remarks\x18\a \x01(\tR\rapply_remarks\x12\x12\n" +
|
||
"\x04name\x18\b \x01(\tR\x04name\x12\x18\n" +
|
||
"\aaccount\x18\t \x01(\tR\aaccount\x12\x14\n" +
|
||
"\x05phone\x18\n" +
|
||
" \x01(\tR\x05phone\x12\x14\n" +
|
||
"\x05email\x18\v \x01(\tR\x05email\x12\x1a\n" +
|
||
"\bpassword\x18\f \x01(\tR\bpassword\"\xba\x02\n" +
|
||
"\n" +
|
||
"StoreBasic\x12\x0e\n" +
|
||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" +
|
||
"\bidentity\x18\x02 \x01(\tR\bidentity\x12\x12\n" +
|
||
"\x04logo\x18\x03 \x01(\tR\x04logo\x12\x14\n" +
|
||
"\x05title\x18\x04 \x01(\tR\x05title\x12\x14\n" +
|
||
"\x05intro\x18\x05 \x01(\tR\x05intro\x12\x1a\n" +
|
||
"\btemplate\x18\x06 \x01(\tR\btemplate\x12\x18\n" +
|
||
"\aconfigs\x18\a \x01(\tR\aconfigs\x12\x1c\n" +
|
||
"\tsubdomain\x18\b \x01(\tR\tsubdomain\x12\x1e\n" +
|
||
"\n" +
|
||
"created_at\x18\t \x01(\tR\n" +
|
||
"created_at\x12\x16\n" +
|
||
"\x06status\x18\n" +
|
||
" \x01(\x05R\x06status\x12\x1a\n" +
|
||
"\bkeywords\x18\v \x01(\tR\bkeywords\x12\x18\n" +
|
||
"\aapprove\x18\f \x01(\x05R\aapprove\"'\n" +
|
||
"\x0fMiniCodeRequest\x12\x14\n" +
|
||
"\x05types\x18\x01 \x01(\tR\x05types\"!\n" +
|
||
"\rMiniCodeReply\x12\x10\n" +
|
||
"\x03img\x18\x01 \x01(\tR\x03img\"e\n" +
|
||
"\x11MallSearchRequest\x12\x18\n" +
|
||
"\apage_no\x18\x01 \x01(\x03R\apage_no\x12\x1c\n" +
|
||
"\tpage_size\x18\x02 \x01(\x03R\tpage_size\x12\x18\n" +
|
||
"\akeyword\x18\x03 \x01(\tR\akeyword\"M\n" +
|
||
"\x0fMallSearchReply\x12$\n" +
|
||
"\x04list\x18\x01 \x03(\v2\x10.mall.StoreBasicR\x04list\x12\x14\n" +
|
||
"\x05count\x18\x02 \x01(\x03R\x05count2\xf2\x04\n" +
|
||
"\x05Store\x12B\n" +
|
||
"\tApplyJoin\x12\x16.mall.ApplyJoinRequest\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12B\n" +
|
||
"\tLicensing\x12\x16.mall.LicensingRequest\x1a\x1b.blocks.IdentityStatusReply\"\x00\x126\n" +
|
||
"\n" +
|
||
"GetSetting\x12\x14.blocks.IdentRequest\x1a\x10.mall.StoreBasic\"\x00\x12=\n" +
|
||
"\n" +
|
||
"SetSetting\x12\x10.mall.StoreBasic\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12A\n" +
|
||
"\n" +
|
||
"SetPayment\x12\x14.mall.SettingRequest\x1a\x1b.blocks.IdentityStatusReply\"\x00\x12?\n" +
|
||
"\bSetEmail\x12\x14.mall.SettingRequest\x1a\x1b.blocks.IdentityStatusReply\"\x00\x128\n" +
|
||
"\n" +
|
||
"GetPayment\x12\x14.blocks.IdentRequest\x1a\x12.mall.ConfigsReply\"\x00\x126\n" +
|
||
"\bGetEmail\x12\x14.blocks.IdentRequest\x1a\x12.mall.ConfigsReply\"\x00\x128\n" +
|
||
"\bMiniCode\x12\x15.mall.MiniCodeRequest\x1a\x13.mall.MiniCodeReply\"\x00\x12:\n" +
|
||
"\x06Search\x12\x17.mall.MallSearchRequest\x1a\x15.mall.MallSearchReply\"\x00B!Z\x1fbsm/full/module/ec/mall/pb;mallb\x06proto3"
|
||
|
||
var (
|
||
file_module_ec_mall_proto_store_proto_rawDescOnce sync.Once
|
||
file_module_ec_mall_proto_store_proto_rawDescData []byte
|
||
)
|
||
|
||
func file_module_ec_mall_proto_store_proto_rawDescGZIP() []byte {
|
||
file_module_ec_mall_proto_store_proto_rawDescOnce.Do(func() {
|
||
file_module_ec_mall_proto_store_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_module_ec_mall_proto_store_proto_rawDesc), len(file_module_ec_mall_proto_store_proto_rawDesc)))
|
||
})
|
||
return file_module_ec_mall_proto_store_proto_rawDescData
|
||
}
|
||
|
||
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
|
||
(*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
|
||
3, // 1: mall.Store.ApplyJoin:input_type -> mall.ApplyJoinRequest
|
||
2, // 2: mall.Store.Licensing:input_type -> mall.LicensingRequest
|
||
9, // 3: mall.Store.GetSetting:input_type -> blocks.IdentRequest
|
||
4, // 4: mall.Store.SetSetting:input_type -> mall.StoreBasic
|
||
0, // 5: mall.Store.SetPayment:input_type -> mall.SettingRequest
|
||
0, // 6: mall.Store.SetEmail:input_type -> mall.SettingRequest
|
||
9, // 7: mall.Store.GetPayment:input_type -> blocks.IdentRequest
|
||
9, // 8: mall.Store.GetEmail:input_type -> blocks.IdentRequest
|
||
5, // 9: mall.Store.MiniCode:input_type -> mall.MiniCodeRequest
|
||
7, // 10: mall.Store.Search:input_type -> mall.MallSearchRequest
|
||
10, // 11: mall.Store.ApplyJoin:output_type -> blocks.IdentityStatusReply
|
||
10, // 12: mall.Store.Licensing:output_type -> blocks.IdentityStatusReply
|
||
4, // 13: mall.Store.GetSetting:output_type -> mall.StoreBasic
|
||
10, // 14: mall.Store.SetSetting:output_type -> blocks.IdentityStatusReply
|
||
10, // 15: mall.Store.SetPayment:output_type -> blocks.IdentityStatusReply
|
||
10, // 16: mall.Store.SetEmail:output_type -> blocks.IdentityStatusReply
|
||
1, // 17: mall.Store.GetPayment:output_type -> mall.ConfigsReply
|
||
1, // 18: mall.Store.GetEmail:output_type -> mall.ConfigsReply
|
||
6, // 19: mall.Store.MiniCode:output_type -> mall.MiniCodeReply
|
||
8, // 20: mall.Store.Search:output_type -> mall.MallSearchReply
|
||
11, // [11:21] is the sub-list for method output_type
|
||
1, // [1:11] is the sub-list for method input_type
|
||
1, // [1:1] is the sub-list for extension type_name
|
||
1, // [1:1] is the sub-list for extension extendee
|
||
0, // [0:1] is the sub-list for field type_name
|
||
}
|
||
|
||
func init() { file_module_ec_mall_proto_store_proto_init() }
|
||
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{
|
||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_module_ec_mall_proto_store_proto_rawDesc), len(file_module_ec_mall_proto_store_proto_rawDesc)),
|
||
NumEnums: 0,
|
||
NumMessages: 9,
|
||
NumExtensions: 0,
|
||
NumServices: 1,
|
||
},
|
||
GoTypes: file_module_ec_mall_proto_store_proto_goTypes,
|
||
DependencyIndexes: file_module_ec_mall_proto_store_proto_depIdxs,
|
||
MessageInfos: file_module_ec_mall_proto_store_proto_msgTypes,
|
||
}.Build()
|
||
File_module_ec_mall_proto_store_proto = out.File
|
||
file_module_ec_mall_proto_store_proto_goTypes = nil
|
||
file_module_ec_mall_proto_store_proto_depIdxs = nil
|
||
}
|