Documentation
¶
Overview ¶
Package igrpc is a generated protocol buffer package.
It is generated from these files:
account.proto address.proto common.proto finance.proto grbac.proto image.proto message.proto product.proto sale.proto sms.proto storage.proto token.proto
It has these top-level messages:
User UserInfo Users Company CompanyIds StorageEnableInfo ShopInfo ChuanglanSmsInfo ChuanglanConfInfo YunpianConfInfo SmsRechargeInfo FabricPatternPayInfo WechatJSAPIParamInfo WechatNativeParamInfo UserOpenidInfo GrbacUserRel GrbacUserRels CompanyAndOfficialAccountRel Address Reply Integer32 Integer64 String Bool KeyValue Finance FinanceAccount UserRole Role PictureRequest PictureReply Picture SaleOrderTemplateMessage SmsMessage EmailMessage Message ColorPatternRelationship ColorPatternRelationshipsResp FabricPattern ColorInfo Colors FabricPatternInfo SaleOrder WarehouseManagerMessage WarehouseManagers ShopMessage ManagerAccount TurnoverStatistics GeneralMangerMessage GeneralMangerMessages CodeRequest CodeReply MobileInfo ContentInfo SmsRequest SmsRechargeOrderInfo Warehouse AreaShelfInfo InventoryRequest InvetoryPatternColorRel InventoryResponse CandidateInventoryStatsInfo CandidateInventoryStats SelectInventoryInfo OfficialAccountPlatform OfficialAccount ComponentVerifyTicket
Index ¶
- func RegisterAccountGrpcServer(s *grpc.Server, srv AccountGrpcServer)
- func RegisterRbacGrpcServer(s *grpc.Server, srv RbacGrpcServer)
- type AccountGrpcClient
- type AccountGrpcServer
- type Bool
- type ChuanglanConfInfo
- func (*ChuanglanConfInfo) Descriptor() ([]byte, []int)
- func (m *ChuanglanConfInfo) GetHttpApi() string
- func (m *ChuanglanConfInfo) GetMarketingAccount() string
- func (m *ChuanglanConfInfo) GetMarketingPassword() string
- func (m *ChuanglanConfInfo) GetQueryBalanceHttpApi() string
- func (m *ChuanglanConfInfo) GetReceiverHttpApi() string
- func (m *ChuanglanConfInfo) GetVerificationAccount() string
- func (m *ChuanglanConfInfo) GetVerificationPassword() string
- func (*ChuanglanConfInfo) ProtoMessage()
- func (m *ChuanglanConfInfo) Reset()
- func (m *ChuanglanConfInfo) String() string
- type ChuanglanSmsInfo
- func (*ChuanglanSmsInfo) Descriptor() ([]byte, []int)
- func (m *ChuanglanSmsInfo) GetCompanyId() int64
- func (m *ChuanglanSmsInfo) GetCompanySmsRemainingCount() int64
- func (m *ChuanglanSmsInfo) GetPlatformMarketingCount() int64
- func (m *ChuanglanSmsInfo) GetPlatformVerificationCount() int64
- func (*ChuanglanSmsInfo) ProtoMessage()
- func (m *ChuanglanSmsInfo) Reset()
- func (m *ChuanglanSmsInfo) String() string
- type Company
- type CompanyAndOfficialAccountRel
- func (*CompanyAndOfficialAccountRel) Descriptor() ([]byte, []int)
- func (m *CompanyAndOfficialAccountRel) GetCompanyId() int64
- func (m *CompanyAndOfficialAccountRel) GetOfficialAccountId() int64
- func (*CompanyAndOfficialAccountRel) ProtoMessage()
- func (m *CompanyAndOfficialAccountRel) Reset()
- func (m *CompanyAndOfficialAccountRel) String() string
- type CompanyIds
- type FabricPatternPayInfo
- func (*FabricPatternPayInfo) Descriptor() ([]byte, []int)
- func (m *FabricPatternPayInfo) GetMoney() int64
- func (m *FabricPatternPayInfo) GetOfficialAccountId() int64
- func (m *FabricPatternPayInfo) GetTitle() string
- func (m *FabricPatternPayInfo) GetTradeNo() string
- func (m *FabricPatternPayInfo) GetTransactionId() string
- func (*FabricPatternPayInfo) ProtoMessage()
- func (m *FabricPatternPayInfo) Reset()
- func (m *FabricPatternPayInfo) String() string
- type GrbacUserRel
- type GrbacUserRels
- type Integer32
- type Integer64
- type KeyValue
- type RbacGrpcClient
- type RbacGrpcServer
- type Reply
- type Role
- type ShopInfo
- type SmsRechargeInfo
- func (*SmsRechargeInfo) Descriptor() ([]byte, []int)
- func (m *SmsRechargeInfo) GetMoney() int64
- func (m *SmsRechargeInfo) GetOfficialAccountId() int64
- func (m *SmsRechargeInfo) GetOpenid() string
- func (m *SmsRechargeInfo) GetTitle() string
- func (m *SmsRechargeInfo) GetTradeNo() string
- func (*SmsRechargeInfo) ProtoMessage()
- func (m *SmsRechargeInfo) Reset()
- func (m *SmsRechargeInfo) String() string
- type StorageEnableInfo
- func (*StorageEnableInfo) Descriptor() ([]byte, []int)
- func (m *StorageEnableInfo) GetCompanyId() int64
- func (m *StorageEnableInfo) GetIsEnabled() bool
- func (m *StorageEnableInfo) GetName() string
- func (*StorageEnableInfo) ProtoMessage()
- func (m *StorageEnableInfo) Reset()
- func (m *StorageEnableInfo) String() string
- type String
- type User
- func (*User) Descriptor() ([]byte, []int)
- func (m *User) GetCode() string
- func (m *User) GetCompanyId() int64
- func (m *User) GetCompanyName() string
- func (m *User) GetMobile() string
- func (m *User) GetName() string
- func (m *User) GetRelOrgId() int64
- func (m *User) GetResponse() *Reply
- func (m *User) GetSubType() int64
- func (m *User) GetType() int64
- func (m *User) GetUserId() int64
- func (*User) ProtoMessage()
- func (m *User) Reset()
- func (m *User) String() string
- type UserInfo
- func (*UserInfo) Descriptor() ([]byte, []int)
- func (m *UserInfo) GetCode() string
- func (m *UserInfo) GetDesc() string
- func (m *UserInfo) GetEmail() string
- func (m *UserInfo) GetMobile() string
- func (m *UserInfo) GetName() string
- func (m *UserInfo) GetPassword() string
- func (m *UserInfo) GetRelOrgId() int32
- func (m *UserInfo) GetStatus() int32
- func (m *UserInfo) GetSubType() int32
- func (m *UserInfo) GetType() int32
- func (m *UserInfo) GetUserId() int32
- func (*UserInfo) ProtoMessage()
- func (m *UserInfo) Reset()
- func (m *UserInfo) String() string
- type UserOpenidInfo
- type UserRole
- func (*UserRole) Descriptor() ([]byte, []int)
- func (m *UserRole) GetRegionId() int32
- func (m *UserRole) GetRoleId() int32
- func (m *UserRole) GetStatus() int32
- func (m *UserRole) GetUserId() int32
- func (m *UserRole) GetUserRoleId() int32
- func (*UserRole) ProtoMessage()
- func (m *UserRole) Reset()
- func (m *UserRole) String() string
- type Users
- type WechatJSAPIParamInfo
- func (*WechatJSAPIParamInfo) Descriptor() ([]byte, []int)
- func (m *WechatJSAPIParamInfo) GetAppId() string
- func (m *WechatJSAPIParamInfo) GetNonceStr() string
- func (m *WechatJSAPIParamInfo) GetPackage() string
- func (m *WechatJSAPIParamInfo) GetPaySign() string
- func (m *WechatJSAPIParamInfo) GetSignType() string
- func (m *WechatJSAPIParamInfo) GetTimeStamp() string
- func (*WechatJSAPIParamInfo) ProtoMessage()
- func (m *WechatJSAPIParamInfo) Reset()
- func (m *WechatJSAPIParamInfo) String() string
- type WechatNativeParamInfo
- type YunpianConfInfo
- func (*YunpianConfInfo) Descriptor() ([]byte, []int)
- func (m *YunpianConfInfo) GetGroupApiKey() string
- func (m *YunpianConfInfo) GetHttpApi() string
- func (m *YunpianConfInfo) GetReceiverHttpApi() string
- func (m *YunpianConfInfo) GetSingleApiKey() string
- func (*YunpianConfInfo) ProtoMessage()
- func (m *YunpianConfInfo) Reset()
- func (m *YunpianConfInfo) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAccountGrpcServer ¶
func RegisterAccountGrpcServer(s *grpc.Server, srv AccountGrpcServer)
func RegisterRbacGrpcServer ¶
func RegisterRbacGrpcServer(s *grpc.Server, srv RbacGrpcServer)
Types ¶
type AccountGrpcClient ¶
type AccountGrpcClient interface { // rpc GetCompanyByCompanyId(Company) returns (Company); GetCompanyNameByCompanyId(ctx context.Context, in *Integer32, opts ...grpc.CallOption) (*String, error) AddUser(ctx context.Context, in *UserInfo, opts ...grpc.CallOption) (*UserInfo, error) }
func NewAccountGrpcClient ¶
func NewAccountGrpcClient(cc *grpc.ClientConn) AccountGrpcClient
type AccountGrpcServer ¶
type Bool ¶
type Bool struct {
Value bool `protobuf:"varint,1,opt,name=Value" json:"Value,omitempty"`
}
func (*Bool) Descriptor ¶
func (*Bool) ProtoMessage ¶
func (*Bool) ProtoMessage()
type ChuanglanConfInfo ¶
type ChuanglanConfInfo struct { HttpApi string `protobuf:"bytes,1,opt,name=HttpApi" json:"HttpApi,omitempty"` QueryBalanceHttpApi string `protobuf:"bytes,2,opt,name=QueryBalanceHttpApi" json:"QueryBalanceHttpApi,omitempty"` VerificationAccount string `protobuf:"bytes,3,opt,name=VerificationAccount" json:"VerificationAccount,omitempty"` VerificationPassword string `protobuf:"bytes,4,opt,name=VerificationPassword" json:"VerificationPassword,omitempty"` MarketingAccount string `protobuf:"bytes,5,opt,name=MarketingAccount" json:"MarketingAccount,omitempty"` MarketingPassword string `protobuf:"bytes,6,opt,name=MarketingPassword" json:"MarketingPassword,omitempty"` ReceiverHttpApi string `protobuf:"bytes,7,opt,name=ReceiverHttpApi" json:"ReceiverHttpApi,omitempty"` }
func (*ChuanglanConfInfo) Descriptor ¶
func (*ChuanglanConfInfo) Descriptor() ([]byte, []int)
func (*ChuanglanConfInfo) GetHttpApi ¶
func (m *ChuanglanConfInfo) GetHttpApi() string
func (*ChuanglanConfInfo) GetMarketingAccount ¶
func (m *ChuanglanConfInfo) GetMarketingAccount() string
func (*ChuanglanConfInfo) GetMarketingPassword ¶
func (m *ChuanglanConfInfo) GetMarketingPassword() string
func (*ChuanglanConfInfo) GetQueryBalanceHttpApi ¶
func (m *ChuanglanConfInfo) GetQueryBalanceHttpApi() string
func (*ChuanglanConfInfo) GetReceiverHttpApi ¶
func (m *ChuanglanConfInfo) GetReceiverHttpApi() string
func (*ChuanglanConfInfo) GetVerificationAccount ¶
func (m *ChuanglanConfInfo) GetVerificationAccount() string
func (*ChuanglanConfInfo) GetVerificationPassword ¶
func (m *ChuanglanConfInfo) GetVerificationPassword() string
func (*ChuanglanConfInfo) ProtoMessage ¶
func (*ChuanglanConfInfo) ProtoMessage()
func (*ChuanglanConfInfo) Reset ¶
func (m *ChuanglanConfInfo) Reset()
func (*ChuanglanConfInfo) String ¶
func (m *ChuanglanConfInfo) String() string
type ChuanglanSmsInfo ¶
type ChuanglanSmsInfo struct { PlatformVerificationCount int64 `protobuf:"varint,1,opt,name=PlatformVerificationCount" json:"PlatformVerificationCount,omitempty"` PlatformMarketingCount int64 `protobuf:"varint,2,opt,name=PlatformMarketingCount" json:"PlatformMarketingCount,omitempty"` CompanySmsRemainingCount int64 `protobuf:"varint,3,opt,name=CompanySmsRemainingCount" json:"CompanySmsRemainingCount,omitempty"` CompanyId int64 `protobuf:"varint,4,opt,name=CompanyId" json:"CompanyId,omitempty"` }
该结构体既作为短信增量变化,也作为平台短信数量, 即为复用
func (*ChuanglanSmsInfo) Descriptor ¶
func (*ChuanglanSmsInfo) Descriptor() ([]byte, []int)
func (*ChuanglanSmsInfo) GetCompanyId ¶
func (m *ChuanglanSmsInfo) GetCompanyId() int64
func (*ChuanglanSmsInfo) GetCompanySmsRemainingCount ¶
func (m *ChuanglanSmsInfo) GetCompanySmsRemainingCount() int64
func (*ChuanglanSmsInfo) GetPlatformMarketingCount ¶
func (m *ChuanglanSmsInfo) GetPlatformMarketingCount() int64
func (*ChuanglanSmsInfo) GetPlatformVerificationCount ¶
func (m *ChuanglanSmsInfo) GetPlatformVerificationCount() int64
func (*ChuanglanSmsInfo) ProtoMessage ¶
func (*ChuanglanSmsInfo) ProtoMessage()
func (*ChuanglanSmsInfo) Reset ¶
func (m *ChuanglanSmsInfo) Reset()
func (*ChuanglanSmsInfo) String ¶
func (m *ChuanglanSmsInfo) String() string
type Company ¶
type Company struct { CompanyId int32 `protobuf:"varint,1,opt,name=CompanyId" json:"CompanyId,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name" json:"Name,omitempty"` Response *Reply `protobuf:"bytes,3,opt,name=Response" json:"Response,omitempty"` }
func (*Company) Descriptor ¶
func (*Company) GetCompanyId ¶
func (*Company) GetResponse ¶
func (*Company) ProtoMessage ¶
func (*Company) ProtoMessage()
type CompanyAndOfficialAccountRel ¶
type CompanyAndOfficialAccountRel struct { CompanyId int64 `protobuf:"varint,1,opt,name=CompanyId" json:"CompanyId,omitempty"` OfficialAccountId int64 `protobuf:"varint,2,opt,name=OfficialAccountId" json:"OfficialAccountId,omitempty"` }
公众号与公司关系消息体
func (*CompanyAndOfficialAccountRel) Descriptor ¶
func (*CompanyAndOfficialAccountRel) Descriptor() ([]byte, []int)
func (*CompanyAndOfficialAccountRel) GetCompanyId ¶
func (m *CompanyAndOfficialAccountRel) GetCompanyId() int64
func (*CompanyAndOfficialAccountRel) GetOfficialAccountId ¶
func (m *CompanyAndOfficialAccountRel) GetOfficialAccountId() int64
func (*CompanyAndOfficialAccountRel) ProtoMessage ¶
func (*CompanyAndOfficialAccountRel) ProtoMessage()
func (*CompanyAndOfficialAccountRel) Reset ¶
func (m *CompanyAndOfficialAccountRel) Reset()
func (*CompanyAndOfficialAccountRel) String ¶
func (m *CompanyAndOfficialAccountRel) String() string
type CompanyIds ¶
type CompanyIds struct {
CompanyId []int64 `protobuf:"varint,1,rep,packed,name=CompanyId" json:"CompanyId,omitempty"`
}
func (*CompanyIds) Descriptor ¶
func (*CompanyIds) Descriptor() ([]byte, []int)
func (*CompanyIds) GetCompanyId ¶
func (m *CompanyIds) GetCompanyId() []int64
func (*CompanyIds) ProtoMessage ¶
func (*CompanyIds) ProtoMessage()
func (*CompanyIds) Reset ¶
func (m *CompanyIds) Reset()
func (*CompanyIds) String ¶
func (m *CompanyIds) String() string
type FabricPatternPayInfo ¶
type FabricPatternPayInfo struct { Money int64 `protobuf:"varint,1,opt,name=Money" json:"Money,omitempty"` TradeNo string `protobuf:"bytes,2,opt,name=TradeNo" json:"TradeNo,omitempty"` Title string `protobuf:"bytes,3,opt,name=Title" json:"Title,omitempty"` OfficialAccountId int64 `protobuf:"varint,4,opt,name=OfficialAccountId" json:"OfficialAccountId,omitempty"` TransactionId string `protobuf:"bytes,5,opt,name=TransactionId" json:"TransactionId,omitempty"` }
面料支付参数信息
func (*FabricPatternPayInfo) Descriptor ¶
func (*FabricPatternPayInfo) Descriptor() ([]byte, []int)
func (*FabricPatternPayInfo) GetMoney ¶
func (m *FabricPatternPayInfo) GetMoney() int64
func (*FabricPatternPayInfo) GetOfficialAccountId ¶
func (m *FabricPatternPayInfo) GetOfficialAccountId() int64
func (*FabricPatternPayInfo) GetTitle ¶
func (m *FabricPatternPayInfo) GetTitle() string
func (*FabricPatternPayInfo) GetTradeNo ¶
func (m *FabricPatternPayInfo) GetTradeNo() string
func (*FabricPatternPayInfo) GetTransactionId ¶
func (m *FabricPatternPayInfo) GetTransactionId() string
func (*FabricPatternPayInfo) ProtoMessage ¶
func (*FabricPatternPayInfo) ProtoMessage()
func (*FabricPatternPayInfo) Reset ¶
func (m *FabricPatternPayInfo) Reset()
func (*FabricPatternPayInfo) String ¶
func (m *FabricPatternPayInfo) String() string
type GrbacUserRel ¶
type GrbacUserRel struct { UserId int64 `protobuf:"varint,1,opt,name=UserId" json:"UserId,omitempty"` CompanyId int64 `protobuf:"varint,2,opt,name=CompanyId" json:"CompanyId,omitempty"` Code string `protobuf:"bytes,3,opt,name=Code" json:"Code,omitempty"` }
权限模块 用户登录后,构建shiro三元表<用户ID-功能ID,实体ID集合={公司ID}>
func (*GrbacUserRel) Descriptor ¶
func (*GrbacUserRel) Descriptor() ([]byte, []int)
func (*GrbacUserRel) GetCode ¶
func (m *GrbacUserRel) GetCode() string
func (*GrbacUserRel) GetCompanyId ¶
func (m *GrbacUserRel) GetCompanyId() int64
func (*GrbacUserRel) GetUserId ¶
func (m *GrbacUserRel) GetUserId() int64
func (*GrbacUserRel) ProtoMessage ¶
func (*GrbacUserRel) ProtoMessage()
func (*GrbacUserRel) Reset ¶
func (m *GrbacUserRel) Reset()
func (*GrbacUserRel) String ¶
func (m *GrbacUserRel) String() string
type GrbacUserRels ¶
type GrbacUserRels struct {
GrbacUserRels []*GrbacUserRel `protobuf:"bytes,1,rep,name=GrbacUserRels" json:"GrbacUserRels,omitempty"`
}
用于公司ID与总经理列表, 当天营业额统计报表
func (*GrbacUserRels) Descriptor ¶
func (*GrbacUserRels) Descriptor() ([]byte, []int)
func (*GrbacUserRels) GetGrbacUserRels ¶
func (m *GrbacUserRels) GetGrbacUserRels() []*GrbacUserRel
func (*GrbacUserRels) ProtoMessage ¶
func (*GrbacUserRels) ProtoMessage()
func (*GrbacUserRels) Reset ¶
func (m *GrbacUserRels) Reset()
func (*GrbacUserRels) String ¶
func (m *GrbacUserRels) String() string
type Integer32 ¶
type Integer32 struct {
Value int32 `protobuf:"zigzag32,1,opt,name=Value" json:"Value,omitempty"`
}
func (*Integer32) Descriptor ¶
func (*Integer32) ProtoMessage ¶
func (*Integer32) ProtoMessage()
type Integer64 ¶
type Integer64 struct {
Value int64 `protobuf:"zigzag64,1,opt,name=Value" json:"Value,omitempty"`
}
func (*Integer64) Descriptor ¶
func (*Integer64) ProtoMessage ¶
func (*Integer64) ProtoMessage()
type KeyValue ¶
type KeyValue struct { Key string `protobuf:"bytes,1,opt,name=Key" json:"Key,omitempty"` Value string `protobuf:"bytes,2,opt,name=Value" json:"Value,omitempty"` }
func (*KeyValue) Descriptor ¶
func (*KeyValue) ProtoMessage ¶
func (*KeyValue) ProtoMessage()
type RbacGrpcClient ¶
type RbacGrpcClient interface { AddUserRole(ctx context.Context, in *UserRole, opts ...grpc.CallOption) (*UserRole, error) DelUserRole(ctx context.Context, in *UserRole, opts ...grpc.CallOption) (*UserRole, error) GetRoleByRoleCode(ctx context.Context, in *String, opts ...grpc.CallOption) (*Role, error) }
func NewRbacGrpcClient ¶
func NewRbacGrpcClient(cc *grpc.ClientConn) RbacGrpcClient
type RbacGrpcServer ¶
type Reply ¶
type Reply struct { ErrCode int64 `protobuf:"varint,1,opt,name=ErrCode" json:"ErrCode,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=ErrMsg" json:"ErrMsg,omitempty"` }
func (*Reply) Descriptor ¶
func (*Reply) GetErrCode ¶
func (*Reply) ProtoMessage ¶
func (*Reply) ProtoMessage()
type Role ¶
type Role struct { RoleId int32 `protobuf:"varint,1,opt,name=RoleId" json:"RoleId,omitempty"` RegionId int32 `protobuf:"varint,2,opt,name=RegionId" json:"RegionId,omitempty"` Code string `protobuf:"bytes,3,opt,name=Code" json:"Code,omitempty"` Name string `protobuf:"bytes,4,opt,name=Name" json:"Name,omitempty"` Status int32 `protobuf:"varint,5,opt,name=Status" json:"Status,omitempty"` }
func (*Role) Descriptor ¶
func (*Role) GetRegionId ¶
func (*Role) ProtoMessage ¶
func (*Role) ProtoMessage()
type ShopInfo ¶
type ShopInfo struct { Id int64 `protobuf:"varint,1,opt,name=Id" json:"Id,omitempty"` Code string `protobuf:"bytes,2,opt,name=Code" json:"Code,omitempty"` Name string `protobuf:"bytes,3,opt,name=Name" json:"Name,omitempty"` }
商铺地点信息
func (*ShopInfo) Descriptor ¶
func (*ShopInfo) ProtoMessage ¶
func (*ShopInfo) ProtoMessage()
type SmsRechargeInfo ¶
type SmsRechargeInfo struct { Money int64 `protobuf:"varint,1,opt,name=Money" json:"Money,omitempty"` TradeNo string `protobuf:"bytes,2,opt,name=TradeNo" json:"TradeNo,omitempty"` Openid string `protobuf:"bytes,3,opt,name=Openid" json:"Openid,omitempty"` Title string `protobuf:"bytes,4,opt,name=Title" json:"Title,omitempty"` OfficialAccountId int64 `protobuf:"varint,5,opt,name=OfficialAccountId" json:"OfficialAccountId,omitempty"` }
SaaS平台短信充值信息
func (*SmsRechargeInfo) Descriptor ¶
func (*SmsRechargeInfo) Descriptor() ([]byte, []int)
func (*SmsRechargeInfo) GetMoney ¶
func (m *SmsRechargeInfo) GetMoney() int64
func (*SmsRechargeInfo) GetOfficialAccountId ¶
func (m *SmsRechargeInfo) GetOfficialAccountId() int64
func (*SmsRechargeInfo) GetOpenid ¶
func (m *SmsRechargeInfo) GetOpenid() string
func (*SmsRechargeInfo) GetTitle ¶
func (m *SmsRechargeInfo) GetTitle() string
func (*SmsRechargeInfo) GetTradeNo ¶
func (m *SmsRechargeInfo) GetTradeNo() string
func (*SmsRechargeInfo) ProtoMessage ¶
func (*SmsRechargeInfo) ProtoMessage()
func (*SmsRechargeInfo) Reset ¶
func (m *SmsRechargeInfo) Reset()
func (*SmsRechargeInfo) String ¶
func (m *SmsRechargeInfo) String() string
type StorageEnableInfo ¶
type StorageEnableInfo struct { CompanyId int64 `protobuf:"varint,1,opt,name=CompanyId" json:"CompanyId,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name" json:"Name,omitempty"` IsEnabled bool `protobuf:"varint,3,opt,name=IsEnabled" json:"IsEnabled,omitempty"` }
指定公司库存启用状态
func (*StorageEnableInfo) Descriptor ¶
func (*StorageEnableInfo) Descriptor() ([]byte, []int)
func (*StorageEnableInfo) GetCompanyId ¶
func (m *StorageEnableInfo) GetCompanyId() int64
func (*StorageEnableInfo) GetIsEnabled ¶
func (m *StorageEnableInfo) GetIsEnabled() bool
func (*StorageEnableInfo) GetName ¶
func (m *StorageEnableInfo) GetName() string
func (*StorageEnableInfo) ProtoMessage ¶
func (*StorageEnableInfo) ProtoMessage()
func (*StorageEnableInfo) Reset ¶
func (m *StorageEnableInfo) Reset()
func (*StorageEnableInfo) String ¶
func (m *StorageEnableInfo) String() string
type String ¶
type String struct {
Value string `protobuf:"bytes,1,opt,name=Value" json:"Value,omitempty"`
}
func (*String) Descriptor ¶
func (*String) ProtoMessage ¶
func (*String) ProtoMessage()
type User ¶
type User struct { UserId int64 `protobuf:"varint,1,opt,name=UserId" json:"UserId,omitempty"` Type int64 `protobuf:"varint,2,opt,name=Type" json:"Type,omitempty"` RelOrgId int64 `protobuf:"varint,3,opt,name=RelOrgId" json:"RelOrgId,omitempty"` SubType int64 `protobuf:"varint,4,opt,name=SubType" json:"SubType,omitempty"` Code string `protobuf:"bytes,5,opt,name=Code" json:"Code,omitempty"` Name string `protobuf:"bytes,6,opt,name=Name" json:"Name,omitempty"` CompanyId int64 `protobuf:"varint,7,opt,name=CompanyId" json:"CompanyId,omitempty"` Response *Reply `protobuf:"bytes,8,opt,name=Response" json:"Response,omitempty"` Mobile string `protobuf:"bytes,9,opt,name=Mobile" json:"Mobile,omitempty"` CompanyName string `protobuf:"bytes,10,opt,name=CompanyName" json:"CompanyName,omitempty"` }
func (*User) Descriptor ¶
func (*User) GetCompanyId ¶
func (*User) GetCompanyName ¶
func (*User) GetRelOrgId ¶
func (*User) GetResponse ¶
func (*User) GetSubType ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
type UserInfo ¶
type UserInfo struct { UserId int32 `protobuf:"varint,1,opt,name=UserId" json:"UserId,omitempty"` Type int32 `protobuf:"varint,2,opt,name=Type" json:"Type,omitempty"` RelOrgId int32 `protobuf:"varint,3,opt,name=RelOrgId" json:"RelOrgId,omitempty"` SubType int32 `protobuf:"varint,4,opt,name=SubType" json:"SubType,omitempty"` Code string `protobuf:"bytes,5,opt,name=Code" json:"Code,omitempty"` Name string `protobuf:"bytes,6,opt,name=Name" json:"Name,omitempty"` Email string `protobuf:"bytes,7,opt,name=Email" json:"Email,omitempty"` Mobile string `protobuf:"bytes,9,opt,name=Mobile" json:"Mobile,omitempty"` Password string `protobuf:"bytes,10,opt,name=Password" json:"Password,omitempty"` Desc string `protobuf:"bytes,11,opt,name=Desc" json:"Desc,omitempty"` Status int32 `protobuf:"varint,12,opt,name=Status" json:"Status,omitempty"` }
func (*UserInfo) Descriptor ¶
func (*UserInfo) GetPassword ¶
func (*UserInfo) GetRelOrgId ¶
func (*UserInfo) GetSubType ¶
func (*UserInfo) ProtoMessage ¶
func (*UserInfo) ProtoMessage()
type UserOpenidInfo ¶
type UserOpenidInfo struct { UserId int64 `protobuf:"varint,1,opt,name=UserId" json:"UserId,omitempty"` CompanyId int64 `protobuf:"varint,2,opt,name=CompanyId" json:"CompanyId,omitempty"` Openid string `protobuf:"bytes,3,opt,name=Openid" json:"Openid,omitempty"` }
通过公司ID和用户ID获取用户openid
func (*UserOpenidInfo) Descriptor ¶
func (*UserOpenidInfo) Descriptor() ([]byte, []int)
func (*UserOpenidInfo) GetCompanyId ¶
func (m *UserOpenidInfo) GetCompanyId() int64
func (*UserOpenidInfo) GetOpenid ¶
func (m *UserOpenidInfo) GetOpenid() string
func (*UserOpenidInfo) GetUserId ¶
func (m *UserOpenidInfo) GetUserId() int64
func (*UserOpenidInfo) ProtoMessage ¶
func (*UserOpenidInfo) ProtoMessage()
func (*UserOpenidInfo) Reset ¶
func (m *UserOpenidInfo) Reset()
func (*UserOpenidInfo) String ¶
func (m *UserOpenidInfo) String() string
type UserRole ¶
type UserRole struct { UserRoleId int32 `protobuf:"varint,1,opt,name=UserRoleId" json:"UserRoleId,omitempty"` UserId int32 `protobuf:"varint,2,opt,name=UserId" json:"UserId,omitempty"` RoleId int32 `protobuf:"varint,3,opt,name=RoleId" json:"RoleId,omitempty"` RegionId int32 `protobuf:"varint,4,opt,name=RegionId" json:"RegionId,omitempty"` Status int32 `protobuf:"varint,5,opt,name=Status" json:"Status,omitempty"` }
func (*UserRole) Descriptor ¶
func (*UserRole) GetRegionId ¶
func (*UserRole) GetUserRoleId ¶
func (*UserRole) ProtoMessage ¶
func (*UserRole) ProtoMessage()
type Users ¶
type Users struct {
Users []*User `protobuf:"bytes,1,rep,name=Users" json:"Users,omitempty"`
}
func (*Users) Descriptor ¶
func (*Users) ProtoMessage ¶
func (*Users) ProtoMessage()
type WechatJSAPIParamInfo ¶
type WechatJSAPIParamInfo struct { AppId string `protobuf:"bytes,1,opt,name=AppId" json:"AppId,omitempty"` TimeStamp string `protobuf:"bytes,2,opt,name=TimeStamp" json:"TimeStamp,omitempty"` NonceStr string `protobuf:"bytes,3,opt,name=NonceStr" json:"NonceStr,omitempty"` Package string `protobuf:"bytes,4,opt,name=Package" json:"Package,omitempty"` SignType string `protobuf:"bytes,5,opt,name=SignType" json:"SignType,omitempty"` PaySign string `protobuf:"bytes,6,opt,name=PaySign" json:"PaySign,omitempty"` }
微信公众号JSAPI支付参数
func (*WechatJSAPIParamInfo) Descriptor ¶
func (*WechatJSAPIParamInfo) Descriptor() ([]byte, []int)
func (*WechatJSAPIParamInfo) GetAppId ¶
func (m *WechatJSAPIParamInfo) GetAppId() string
func (*WechatJSAPIParamInfo) GetNonceStr ¶
func (m *WechatJSAPIParamInfo) GetNonceStr() string
func (*WechatJSAPIParamInfo) GetPackage ¶
func (m *WechatJSAPIParamInfo) GetPackage() string
func (*WechatJSAPIParamInfo) GetPaySign ¶
func (m *WechatJSAPIParamInfo) GetPaySign() string
func (*WechatJSAPIParamInfo) GetSignType ¶
func (m *WechatJSAPIParamInfo) GetSignType() string
func (*WechatJSAPIParamInfo) GetTimeStamp ¶
func (m *WechatJSAPIParamInfo) GetTimeStamp() string
func (*WechatJSAPIParamInfo) ProtoMessage ¶
func (*WechatJSAPIParamInfo) ProtoMessage()
func (*WechatJSAPIParamInfo) Reset ¶
func (m *WechatJSAPIParamInfo) Reset()
func (*WechatJSAPIParamInfo) String ¶
func (m *WechatJSAPIParamInfo) String() string
type WechatNativeParamInfo ¶
type WechatNativeParamInfo struct {
CodeUrl string `protobuf:"bytes,1,opt,name=CodeUrl" json:"CodeUrl,omitempty"`
}
微信公众号Native支付参数
func (*WechatNativeParamInfo) Descriptor ¶
func (*WechatNativeParamInfo) Descriptor() ([]byte, []int)
func (*WechatNativeParamInfo) GetCodeUrl ¶
func (m *WechatNativeParamInfo) GetCodeUrl() string
func (*WechatNativeParamInfo) ProtoMessage ¶
func (*WechatNativeParamInfo) ProtoMessage()
func (*WechatNativeParamInfo) Reset ¶
func (m *WechatNativeParamInfo) Reset()
func (*WechatNativeParamInfo) String ¶
func (m *WechatNativeParamInfo) String() string
type YunpianConfInfo ¶
type YunpianConfInfo struct { SingleApiKey string `protobuf:"bytes,1,opt,name=SingleApiKey" json:"SingleApiKey,omitempty"` GroupApiKey string `protobuf:"bytes,2,opt,name=GroupApiKey" json:"GroupApiKey,omitempty"` HttpApi string `protobuf:"bytes,3,opt,name=HttpApi" json:"HttpApi,omitempty"` ReceiverHttpApi string `protobuf:"bytes,4,opt,name=ReceiverHttpApi" json:"ReceiverHttpApi,omitempty"` }
func (*YunpianConfInfo) Descriptor ¶
func (*YunpianConfInfo) Descriptor() ([]byte, []int)
func (*YunpianConfInfo) GetGroupApiKey ¶
func (m *YunpianConfInfo) GetGroupApiKey() string
func (*YunpianConfInfo) GetHttpApi ¶
func (m *YunpianConfInfo) GetHttpApi() string
func (*YunpianConfInfo) GetReceiverHttpApi ¶
func (m *YunpianConfInfo) GetReceiverHttpApi() string
func (*YunpianConfInfo) GetSingleApiKey ¶
func (m *YunpianConfInfo) GetSingleApiKey() string
func (*YunpianConfInfo) ProtoMessage ¶
func (*YunpianConfInfo) ProtoMessage()
func (*YunpianConfInfo) Reset ¶
func (m *YunpianConfInfo) Reset()
func (*YunpianConfInfo) String ¶
func (m *YunpianConfInfo) String() string
Click to show internal directories.
Click to hide internal directories.