igrpc

package
v0.0.0-...-320587e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

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

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 AccountGrpcServer interface {
	// rpc GetCompanyByCompanyId(Company) returns (Company);
	GetCompanyNameByCompanyId(context.Context, *Integer32) (*String, error)
	AddUser(context.Context, *UserInfo) (*UserInfo, error)
}

type Bool

type Bool struct {
	Value bool `protobuf:"varint,1,opt,name=Value" json:"Value,omitempty"`
}

func (*Bool) Descriptor

func (*Bool) Descriptor() ([]byte, []int)

func (*Bool) GetValue

func (m *Bool) GetValue() bool

func (*Bool) ProtoMessage

func (*Bool) ProtoMessage()

func (*Bool) Reset

func (m *Bool) Reset()

func (*Bool) String

func (m *Bool) String() string

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) Descriptor() ([]byte, []int)

func (*Company) GetCompanyId

func (m *Company) GetCompanyId() int32

func (*Company) GetName

func (m *Company) GetName() string

func (*Company) GetResponse

func (m *Company) GetResponse() *Reply

func (*Company) ProtoMessage

func (*Company) ProtoMessage()

func (*Company) Reset

func (m *Company) Reset()

func (*Company) String

func (m *Company) String() string

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

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) Descriptor() ([]byte, []int)

func (*Integer32) GetValue

func (m *Integer32) GetValue() int32

func (*Integer32) ProtoMessage

func (*Integer32) ProtoMessage()

func (*Integer32) Reset

func (m *Integer32) Reset()

func (*Integer32) String

func (m *Integer32) String() string

type Integer64

type Integer64 struct {
	Value int64 `protobuf:"zigzag64,1,opt,name=Value" json:"Value,omitempty"`
}

func (*Integer64) Descriptor

func (*Integer64) Descriptor() ([]byte, []int)

func (*Integer64) GetValue

func (m *Integer64) GetValue() int64

func (*Integer64) ProtoMessage

func (*Integer64) ProtoMessage()

func (*Integer64) Reset

func (m *Integer64) Reset()

func (*Integer64) String

func (m *Integer64) String() string

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) Descriptor() ([]byte, []int)

func (*KeyValue) GetKey

func (m *KeyValue) GetKey() string

func (*KeyValue) GetValue

func (m *KeyValue) GetValue() string

func (*KeyValue) ProtoMessage

func (*KeyValue) ProtoMessage()

func (*KeyValue) Reset

func (m *KeyValue) Reset()

func (*KeyValue) String

func (m *KeyValue) String() string

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 RbacGrpcServer interface {
	AddUserRole(context.Context, *UserRole) (*UserRole, error)
	DelUserRole(context.Context, *UserRole) (*UserRole, error)
	GetRoleByRoleCode(context.Context, *String) (*Role, error)
}

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) Descriptor() ([]byte, []int)

func (*Reply) GetErrCode

func (m *Reply) GetErrCode() int64

func (*Reply) GetErrMsg

func (m *Reply) GetErrMsg() string

func (*Reply) ProtoMessage

func (*Reply) ProtoMessage()

func (*Reply) Reset

func (m *Reply) Reset()

func (*Reply) String

func (m *Reply) String() string

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) Descriptor() ([]byte, []int)

func (*Role) GetCode

func (m *Role) GetCode() string

func (*Role) GetName

func (m *Role) GetName() string

func (*Role) GetRegionId

func (m *Role) GetRegionId() int32

func (*Role) GetRoleId

func (m *Role) GetRoleId() int32

func (*Role) GetStatus

func (m *Role) GetStatus() int32

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) Reset

func (m *Role) Reset()

func (*Role) String

func (m *Role) String() string

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) Descriptor() ([]byte, []int)

func (*ShopInfo) GetCode

func (m *ShopInfo) GetCode() string

func (*ShopInfo) GetId

func (m *ShopInfo) GetId() int64

func (*ShopInfo) GetName

func (m *ShopInfo) GetName() string

func (*ShopInfo) ProtoMessage

func (*ShopInfo) ProtoMessage()

func (*ShopInfo) Reset

func (m *ShopInfo) Reset()

func (*ShopInfo) String

func (m *ShopInfo) String() string

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) Descriptor() ([]byte, []int)

func (*String) GetValue

func (m *String) GetValue() string

func (*String) ProtoMessage

func (*String) ProtoMessage()

func (*String) Reset

func (m *String) Reset()

func (*String) String

func (m *String) String() string

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) Descriptor() ([]byte, []int)

func (*User) GetCode

func (m *User) GetCode() string

func (*User) GetCompanyId

func (m *User) GetCompanyId() int64

func (*User) GetCompanyName

func (m *User) GetCompanyName() string

func (*User) GetMobile

func (m *User) GetMobile() string

func (*User) GetName

func (m *User) GetName() string

func (*User) GetRelOrgId

func (m *User) GetRelOrgId() int64

func (*User) GetResponse

func (m *User) GetResponse() *Reply

func (*User) GetSubType

func (m *User) GetSubType() int64

func (*User) GetType

func (m *User) GetType() int64

func (*User) GetUserId

func (m *User) GetUserId() int64

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) String

func (m *User) String() string

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) Descriptor() ([]byte, []int)

func (*UserInfo) GetCode

func (m *UserInfo) GetCode() string

func (*UserInfo) GetDesc

func (m *UserInfo) GetDesc() string

func (*UserInfo) GetEmail

func (m *UserInfo) GetEmail() string

func (*UserInfo) GetMobile

func (m *UserInfo) GetMobile() string

func (*UserInfo) GetName

func (m *UserInfo) GetName() string

func (*UserInfo) GetPassword

func (m *UserInfo) GetPassword() string

func (*UserInfo) GetRelOrgId

func (m *UserInfo) GetRelOrgId() int32

func (*UserInfo) GetStatus

func (m *UserInfo) GetStatus() int32

func (*UserInfo) GetSubType

func (m *UserInfo) GetSubType() int32

func (*UserInfo) GetType

func (m *UserInfo) GetType() int32

func (*UserInfo) GetUserId

func (m *UserInfo) GetUserId() int32

func (*UserInfo) ProtoMessage

func (*UserInfo) ProtoMessage()

func (*UserInfo) Reset

func (m *UserInfo) Reset()

func (*UserInfo) String

func (m *UserInfo) String() string

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) Descriptor() ([]byte, []int)

func (*UserRole) GetRegionId

func (m *UserRole) GetRegionId() int32

func (*UserRole) GetRoleId

func (m *UserRole) GetRoleId() int32

func (*UserRole) GetStatus

func (m *UserRole) GetStatus() int32

func (*UserRole) GetUserId

func (m *UserRole) GetUserId() int32

func (*UserRole) GetUserRoleId

func (m *UserRole) GetUserRoleId() int32

func (*UserRole) ProtoMessage

func (*UserRole) ProtoMessage()

func (*UserRole) Reset

func (m *UserRole) Reset()

func (*UserRole) String

func (m *UserRole) String() string

type Users

type Users struct {
	Users []*User `protobuf:"bytes,1,rep,name=Users" json:"Users,omitempty"`
}

func (*Users) Descriptor

func (*Users) Descriptor() ([]byte, []int)

func (*Users) GetUsers

func (m *Users) GetUsers() []*User

func (*Users) ProtoMessage

func (*Users) ProtoMessage()

func (*Users) Reset

func (m *Users) Reset()

func (*Users) String

func (m *Users) String() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL