Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterOrderServiceServer(s grpc.ServiceRegistrar, srv OrderServiceServer)
- func RegisterPerformanceSeatServiceServer(s grpc.ServiceRegistrar, srv PerformanceSeatServiceServer)
- func RegisterPerformanceServiceServer(s grpc.ServiceRegistrar, srv PerformanceServiceServer)
- func RegisterPerformanceSessionServiceServer(s grpc.ServiceRegistrar, srv PerformanceSessionServiceServer)
- func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
- func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
- type EmptyResp
- type FilterItem
- type LoginReq
- func (*LoginReq) Descriptor() ([]byte, []int)deprecated
- func (x *LoginReq) GetCode() string
- func (x *LoginReq) GetLoginType() int64
- func (x *LoginReq) GetMobile() string
- func (x *LoginReq) GetPassword() string
- func (*LoginReq) ProtoMessage()
- func (x *LoginReq) ProtoReflect() protoreflect.Message
- func (x *LoginReq) Reset()
- func (x *LoginReq) String() string
- type LoginResp
- func (*LoginResp) Descriptor() ([]byte, []int)deprecated
- func (x *LoginResp) GetExpireAt() int64
- func (x *LoginResp) GetID() int64
- func (x *LoginResp) GetName() string
- func (x *LoginResp) GetToken() string
- func (*LoginResp) ProtoMessage()
- func (x *LoginResp) ProtoReflect() protoreflect.Message
- func (x *LoginResp) Reset()
- func (x *LoginResp) String() string
- type Order
- func (*Order) Descriptor() ([]byte, []int)deprecated
- func (x *Order) GetAddress() string
- func (x *Order) GetAudience() string
- func (x *Order) GetAvatar() string
- func (x *Order) GetBackground() string
- func (x *Order) GetBirthday() int64
- func (x *Order) GetCreatedAt() int64
- func (x *Order) GetGender() int64
- func (x *Order) GetId() int64
- func (x *Order) GetIdentity() string
- func (x *Order) GetIsDel() int64
- func (x *Order) GetLoginAt() int64
- func (x *Order) GetMail() string
- func (x *Order) GetMobile() string
- func (x *Order) GetName() string
- func (x *Order) GetNation() string
- func (x *Order) GetNickname() string
- func (x *Order) GetPassword() string
- func (x *Order) GetStatus() int64
- func (x *Order) GetUpdatedAt() int64
- func (*Order) ProtoMessage()
- func (x *Order) ProtoReflect() protoreflect.Message
- func (x *Order) Reset()
- func (x *Order) String() string
- type OrderAddReq
- func (*OrderAddReq) Descriptor() ([]byte, []int)deprecated
- func (x *OrderAddReq) GetAddress() string
- func (x *OrderAddReq) GetAudience() string
- func (x *OrderAddReq) GetAvatar() string
- func (x *OrderAddReq) GetBackground() string
- func (x *OrderAddReq) GetBirthday() int64
- func (x *OrderAddReq) GetGender() int64
- func (x *OrderAddReq) GetIdentity() string
- func (x *OrderAddReq) GetLoginAt() int64
- func (x *OrderAddReq) GetMail() string
- func (x *OrderAddReq) GetMobile() string
- func (x *OrderAddReq) GetName() string
- func (x *OrderAddReq) GetNation() string
- func (x *OrderAddReq) GetNickname() string
- func (x *OrderAddReq) GetPassword() string
- func (x *OrderAddReq) GetStatus() int64
- func (*OrderAddReq) ProtoMessage()
- func (x *OrderAddReq) ProtoReflect() protoreflect.Message
- func (x *OrderAddReq) Reset()
- func (x *OrderAddReq) String() string
- type OrderAddResp
- type OrderRemoveReq
- type OrderRetrieveReq
- type OrderRetrieveResp
- func (*OrderRetrieveResp) Descriptor() ([]byte, []int)deprecated
- func (x *OrderRetrieveResp) GetData() []*Order
- func (x *OrderRetrieveResp) GetTotal() int64
- func (*OrderRetrieveResp) ProtoMessage()
- func (x *OrderRetrieveResp) ProtoReflect() protoreflect.Message
- func (x *OrderRetrieveResp) Reset()
- func (x *OrderRetrieveResp) String() string
- type OrderServiceClient
- type OrderServiceServer
- type OrderUpdateReq
- func (*OrderUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *OrderUpdateReq) GetAddress() string
- func (x *OrderUpdateReq) GetAudience() string
- func (x *OrderUpdateReq) GetAvatar() string
- func (x *OrderUpdateReq) GetBackground() string
- func (x *OrderUpdateReq) GetBirthday() int64
- func (x *OrderUpdateReq) GetGender() int64
- func (x *OrderUpdateReq) GetId() int64
- func (x *OrderUpdateReq) GetIdentity() string
- func (x *OrderUpdateReq) GetLoginAt() int64
- func (x *OrderUpdateReq) GetMail() string
- func (x *OrderUpdateReq) GetMobile() string
- func (x *OrderUpdateReq) GetName() string
- func (x *OrderUpdateReq) GetNation() string
- func (x *OrderUpdateReq) GetNickname() string
- func (x *OrderUpdateReq) GetPassword() string
- func (x *OrderUpdateReq) GetStatus() int64
- func (*OrderUpdateReq) ProtoMessage()
- func (x *OrderUpdateReq) ProtoReflect() protoreflect.Message
- func (x *OrderUpdateReq) Reset()
- func (x *OrderUpdateReq) String() string
- type Paging
- func (*Paging) Descriptor() ([]byte, []int)deprecated
- func (x *Paging) GetFilter() []*FilterItem
- func (x *Paging) GetPage() int64
- func (x *Paging) GetPageSize() int64
- func (x *Paging) GetSort() []*SortItem
- func (*Paging) ProtoMessage()
- func (x *Paging) ProtoReflect() protoreflect.Message
- func (x *Paging) Reset()
- func (x *Paging) String() string
- type Performance
- func (*Performance) Descriptor() ([]byte, []int)deprecated
- func (x *Performance) GetAddress() string
- func (x *Performance) GetAudience() string
- func (x *Performance) GetAvatar() string
- func (x *Performance) GetBackground() string
- func (x *Performance) GetBirthday() int64
- func (x *Performance) GetCreatedAt() int64
- func (x *Performance) GetGender() int64
- func (x *Performance) GetId() int64
- func (x *Performance) GetIdentity() string
- func (x *Performance) GetIsDel() int64
- func (x *Performance) GetLoginAt() int64
- func (x *Performance) GetMail() string
- func (x *Performance) GetMobile() string
- func (x *Performance) GetName() string
- func (x *Performance) GetNation() string
- func (x *Performance) GetNickname() string
- func (x *Performance) GetPassword() string
- func (x *Performance) GetStatus() int64
- func (x *Performance) GetUpdatedAt() int64
- func (*Performance) ProtoMessage()
- func (x *Performance) ProtoReflect() protoreflect.Message
- func (x *Performance) Reset()
- func (x *Performance) String() string
- type PerformanceAddReq
- func (*PerformanceAddReq) Descriptor() ([]byte, []int)deprecated
- func (x *PerformanceAddReq) GetAddress() string
- func (x *PerformanceAddReq) GetAudience() string
- func (x *PerformanceAddReq) GetAvatar() string
- func (x *PerformanceAddReq) GetBackground() string
- func (x *PerformanceAddReq) GetBirthday() int64
- func (x *PerformanceAddReq) GetGender() int64
- func (x *PerformanceAddReq) GetIdentity() string
- func (x *PerformanceAddReq) GetLoginAt() int64
- func (x *PerformanceAddReq) GetMail() string
- func (x *PerformanceAddReq) GetMobile() string
- func (x *PerformanceAddReq) GetName() string
- func (x *PerformanceAddReq) GetNation() string
- func (x *PerformanceAddReq) GetNickname() string
- func (x *PerformanceAddReq) GetPassword() string
- func (x *PerformanceAddReq) GetStatus() int64
- func (*PerformanceAddReq) ProtoMessage()
- func (x *PerformanceAddReq) ProtoReflect() protoreflect.Message
- func (x *PerformanceAddReq) Reset()
- func (x *PerformanceAddReq) String() string
- type PerformanceAddResp
- type PerformanceRemoveReq
- func (*PerformanceRemoveReq) Descriptor() ([]byte, []int)deprecated
- func (x *PerformanceRemoveReq) GetId() int64
- func (*PerformanceRemoveReq) ProtoMessage()
- func (x *PerformanceRemoveReq) ProtoReflect() protoreflect.Message
- func (x *PerformanceRemoveReq) Reset()
- func (x *PerformanceRemoveReq) String() string
- type PerformanceRetrieveReq
- func (*PerformanceRetrieveReq) Descriptor() ([]byte, []int)deprecated
- func (x *PerformanceRetrieveReq) GetPaging() *Paging
- func (*PerformanceRetrieveReq) ProtoMessage()
- func (x *PerformanceRetrieveReq) ProtoReflect() protoreflect.Message
- func (x *PerformanceRetrieveReq) Reset()
- func (x *PerformanceRetrieveReq) String() string
- type PerformanceRetrieveResp
- func (*PerformanceRetrieveResp) Descriptor() ([]byte, []int)deprecated
- func (x *PerformanceRetrieveResp) GetData() []*Performance
- func (x *PerformanceRetrieveResp) GetTotal() int64
- func (*PerformanceRetrieveResp) ProtoMessage()
- func (x *PerformanceRetrieveResp) ProtoReflect() protoreflect.Message
- func (x *PerformanceRetrieveResp) Reset()
- func (x *PerformanceRetrieveResp) String() string
- type PerformanceSeat
- func (*PerformanceSeat) Descriptor() ([]byte, []int)deprecated
- func (x *PerformanceSeat) GetCol() int64
- func (x *PerformanceSeat) GetCreatedAt() int64
- func (x *PerformanceSeat) GetId() int64
- func (x *PerformanceSeat) GetIsDel() int64
- func (x *PerformanceSeat) GetRow() int64
- func (x *PerformanceSeat) GetSeat() string
- func (x *PerformanceSeat) GetSessionId() int64
- func (x *PerformanceSeat) GetStatus() int64
- func (x *PerformanceSeat) GetUpdatedAt() int64
- func (*PerformanceSeat) ProtoMessage()
- func (x *PerformanceSeat) ProtoReflect() protoreflect.Message
- func (x *PerformanceSeat) Reset()
- func (x *PerformanceSeat) String() string
- type PerformanceSeatAddReq
- func (*PerformanceSeatAddReq) Descriptor() ([]byte, []int)deprecated
- func (x *PerformanceSeatAddReq) GetCol() int64
- func (x *PerformanceSeatAddReq) GetRow() int64
- func (x *PerformanceSeatAddReq) GetSeat() string
- func (x *PerformanceSeatAddReq) GetSessionId() int64
- func (x *PerformanceSeatAddReq) GetStatus() int64
- func (*PerformanceSeatAddReq) ProtoMessage()
- func (x *PerformanceSeatAddReq) ProtoReflect() protoreflect.Message
- func (x *PerformanceSeatAddReq) Reset()
- func (x *PerformanceSeatAddReq) String() string
- type PerformanceSeatAddResp
- func (*PerformanceSeatAddResp) Descriptor() ([]byte, []int)deprecated
- func (x *PerformanceSeatAddResp) GetId() int64
- func (*PerformanceSeatAddResp) ProtoMessage()
- func (x *PerformanceSeatAddResp) ProtoReflect() protoreflect.Message
- func (x *PerformanceSeatAddResp) Reset()
- func (x *PerformanceSeatAddResp) String() string
- type PerformanceSeatRemoveReq
- func (*PerformanceSeatRemoveReq) Descriptor() ([]byte, []int)deprecated
- func (x *PerformanceSeatRemoveReq) GetId() int64
- func (*PerformanceSeatRemoveReq) ProtoMessage()
- func (x *PerformanceSeatRemoveReq) ProtoReflect() protoreflect.Message
- func (x *PerformanceSeatRemoveReq) Reset()
- func (x *PerformanceSeatRemoveReq) String() string
- type PerformanceSeatRetrieveReq
- func (*PerformanceSeatRetrieveReq) Descriptor() ([]byte, []int)deprecated
- func (x *PerformanceSeatRetrieveReq) GetPaging() *Paging
- func (*PerformanceSeatRetrieveReq) ProtoMessage()
- func (x *PerformanceSeatRetrieveReq) ProtoReflect() protoreflect.Message
- func (x *PerformanceSeatRetrieveReq) Reset()
- func (x *PerformanceSeatRetrieveReq) String() string
- type PerformanceSeatRetrieveResp
- func (*PerformanceSeatRetrieveResp) Descriptor() ([]byte, []int)deprecated
- func (x *PerformanceSeatRetrieveResp) GetData() []*PerformanceSeat
- func (x *PerformanceSeatRetrieveResp) GetTotal() int64
- func (*PerformanceSeatRetrieveResp) ProtoMessage()
- func (x *PerformanceSeatRetrieveResp) ProtoReflect() protoreflect.Message
- func (x *PerformanceSeatRetrieveResp) Reset()
- func (x *PerformanceSeatRetrieveResp) String() string
- type PerformanceSeatServiceClient
- type PerformanceSeatServiceServer
- type PerformanceSeatUpdateReq
- func (*PerformanceSeatUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *PerformanceSeatUpdateReq) GetCol() int64
- func (x *PerformanceSeatUpdateReq) GetId() int64
- func (x *PerformanceSeatUpdateReq) GetRow() int64
- func (x *PerformanceSeatUpdateReq) GetSeat() string
- func (x *PerformanceSeatUpdateReq) GetSessionId() int64
- func (x *PerformanceSeatUpdateReq) GetStatus() int64
- func (*PerformanceSeatUpdateReq) ProtoMessage()
- func (x *PerformanceSeatUpdateReq) ProtoReflect() protoreflect.Message
- func (x *PerformanceSeatUpdateReq) Reset()
- func (x *PerformanceSeatUpdateReq) String() string
- type PerformanceServiceClient
- type PerformanceServiceServer
- type PerformanceSession
- func (*PerformanceSession) Descriptor() ([]byte, []int)deprecated
- func (x *PerformanceSession) GetCreatedAt() int64
- func (x *PerformanceSession) GetId() int64
- func (x *PerformanceSession) GetIsDel() int64
- func (x *PerformanceSession) GetPerformanceId() int64
- func (x *PerformanceSession) GetShowAt() int64
- func (x *PerformanceSession) GetTickets() string
- func (x *PerformanceSession) GetUpdatedAt() int64
- func (*PerformanceSession) ProtoMessage()
- func (x *PerformanceSession) ProtoReflect() protoreflect.Message
- func (x *PerformanceSession) Reset()
- func (x *PerformanceSession) String() string
- type PerformanceSessionAddReq
- func (*PerformanceSessionAddReq) Descriptor() ([]byte, []int)deprecated
- func (x *PerformanceSessionAddReq) GetPerformanceId() int64
- func (x *PerformanceSessionAddReq) GetShowAt() int64
- func (x *PerformanceSessionAddReq) GetTickets() string
- func (*PerformanceSessionAddReq) ProtoMessage()
- func (x *PerformanceSessionAddReq) ProtoReflect() protoreflect.Message
- func (x *PerformanceSessionAddReq) Reset()
- func (x *PerformanceSessionAddReq) String() string
- type PerformanceSessionAddResp
- func (*PerformanceSessionAddResp) Descriptor() ([]byte, []int)deprecated
- func (x *PerformanceSessionAddResp) GetId() int64
- func (*PerformanceSessionAddResp) ProtoMessage()
- func (x *PerformanceSessionAddResp) ProtoReflect() protoreflect.Message
- func (x *PerformanceSessionAddResp) Reset()
- func (x *PerformanceSessionAddResp) String() string
- type PerformanceSessionRemoveReq
- func (*PerformanceSessionRemoveReq) Descriptor() ([]byte, []int)deprecated
- func (x *PerformanceSessionRemoveReq) GetId() int64
- func (*PerformanceSessionRemoveReq) ProtoMessage()
- func (x *PerformanceSessionRemoveReq) ProtoReflect() protoreflect.Message
- func (x *PerformanceSessionRemoveReq) Reset()
- func (x *PerformanceSessionRemoveReq) String() string
- type PerformanceSessionRetrieveReq
- func (*PerformanceSessionRetrieveReq) Descriptor() ([]byte, []int)deprecated
- func (x *PerformanceSessionRetrieveReq) GetPaging() *Paging
- func (*PerformanceSessionRetrieveReq) ProtoMessage()
- func (x *PerformanceSessionRetrieveReq) ProtoReflect() protoreflect.Message
- func (x *PerformanceSessionRetrieveReq) Reset()
- func (x *PerformanceSessionRetrieveReq) String() string
- type PerformanceSessionRetrieveResp
- func (*PerformanceSessionRetrieveResp) Descriptor() ([]byte, []int)deprecated
- func (x *PerformanceSessionRetrieveResp) GetData() []*PerformanceSession
- func (x *PerformanceSessionRetrieveResp) GetTotal() int64
- func (*PerformanceSessionRetrieveResp) ProtoMessage()
- func (x *PerformanceSessionRetrieveResp) ProtoReflect() protoreflect.Message
- func (x *PerformanceSessionRetrieveResp) Reset()
- func (x *PerformanceSessionRetrieveResp) String() string
- type PerformanceSessionServiceClient
- type PerformanceSessionServiceServer
- type PerformanceSessionUpdateReq
- func (*PerformanceSessionUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *PerformanceSessionUpdateReq) GetId() int64
- func (x *PerformanceSessionUpdateReq) GetPerformanceId() int64
- func (x *PerformanceSessionUpdateReq) GetShowAt() int64
- func (x *PerformanceSessionUpdateReq) GetTickets() string
- func (*PerformanceSessionUpdateReq) ProtoMessage()
- func (x *PerformanceSessionUpdateReq) ProtoReflect() protoreflect.Message
- func (x *PerformanceSessionUpdateReq) Reset()
- func (x *PerformanceSessionUpdateReq) String() string
- type PerformanceUpdateReq
- func (*PerformanceUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *PerformanceUpdateReq) GetAddress() string
- func (x *PerformanceUpdateReq) GetAudience() string
- func (x *PerformanceUpdateReq) GetAvatar() string
- func (x *PerformanceUpdateReq) GetBackground() string
- func (x *PerformanceUpdateReq) GetBirthday() int64
- func (x *PerformanceUpdateReq) GetGender() int64
- func (x *PerformanceUpdateReq) GetId() int64
- func (x *PerformanceUpdateReq) GetIdentity() string
- func (x *PerformanceUpdateReq) GetLoginAt() int64
- func (x *PerformanceUpdateReq) GetMail() string
- func (x *PerformanceUpdateReq) GetMobile() string
- func (x *PerformanceUpdateReq) GetName() string
- func (x *PerformanceUpdateReq) GetNation() string
- func (x *PerformanceUpdateReq) GetNickname() string
- func (x *PerformanceUpdateReq) GetPassword() string
- func (x *PerformanceUpdateReq) GetStatus() int64
- func (*PerformanceUpdateReq) ProtoMessage()
- func (x *PerformanceUpdateReq) ProtoReflect() protoreflect.Message
- func (x *PerformanceUpdateReq) Reset()
- func (x *PerformanceUpdateReq) String() string
- type ServiceClient
- type ServiceServer
- type SortItem
- type UnimplementedOrderServiceServer
- func (UnimplementedOrderServiceServer) OrderAdd(context.Context, *OrderAddReq) (*OrderAddResp, error)
- func (UnimplementedOrderServiceServer) OrderRemove(context.Context, *OrderRemoveReq) (*EmptyResp, error)
- func (UnimplementedOrderServiceServer) OrderRetrieve(context.Context, *OrderRetrieveReq) (*OrderRetrieveResp, error)
- func (UnimplementedOrderServiceServer) OrderUpdate(context.Context, *OrderUpdateReq) (*EmptyResp, error)
- type UnimplementedPerformanceSeatServiceServer
- func (UnimplementedPerformanceSeatServiceServer) PerformanceSeatAdd(context.Context, *PerformanceSeatAddReq) (*PerformanceSeatAddResp, error)
- func (UnimplementedPerformanceSeatServiceServer) PerformanceSeatRemove(context.Context, *PerformanceSeatRemoveReq) (*EmptyResp, error)
- func (UnimplementedPerformanceSeatServiceServer) PerformanceSeatRetrieve(context.Context, *PerformanceSeatRetrieveReq) (*PerformanceSeatRetrieveResp, error)
- func (UnimplementedPerformanceSeatServiceServer) PerformanceSeatUpdate(context.Context, *PerformanceSeatUpdateReq) (*EmptyResp, error)
- type UnimplementedPerformanceServiceServer
- func (UnimplementedPerformanceServiceServer) PerformanceAdd(context.Context, *PerformanceAddReq) (*PerformanceAddResp, error)
- func (UnimplementedPerformanceServiceServer) PerformanceRemove(context.Context, *PerformanceRemoveReq) (*EmptyResp, error)
- func (UnimplementedPerformanceServiceServer) PerformanceRetrieve(context.Context, *PerformanceRetrieveReq) (*PerformanceRetrieveResp, error)
- func (UnimplementedPerformanceServiceServer) PerformanceUpdate(context.Context, *PerformanceUpdateReq) (*EmptyResp, error)
- type UnimplementedPerformanceSessionServiceServer
- func (UnimplementedPerformanceSessionServiceServer) PerformanceSessionAdd(context.Context, *PerformanceSessionAddReq) (*PerformanceSessionAddResp, error)
- func (UnimplementedPerformanceSessionServiceServer) PerformanceSessionRemove(context.Context, *PerformanceSessionRemoveReq) (*EmptyResp, error)
- func (UnimplementedPerformanceSessionServiceServer) PerformanceSessionRetrieve(context.Context, *PerformanceSessionRetrieveReq) (*PerformanceSessionRetrieveResp, error)
- func (UnimplementedPerformanceSessionServiceServer) PerformanceSessionUpdate(context.Context, *PerformanceSessionUpdateReq) (*EmptyResp, error)
- type UnimplementedServiceServer
- type UnimplementedUserServiceServer
- func (UnimplementedUserServiceServer) UserAdd(context.Context, *UserAddReq) (*UserAddResp, error)
- func (UnimplementedUserServiceServer) UserRemove(context.Context, *UserRemoveReq) (*EmptyResp, error)
- func (UnimplementedUserServiceServer) UserRetrieve(context.Context, *UserRetrieveReq) (*UserRetrieveResp, error)
- func (UnimplementedUserServiceServer) UserUpdate(context.Context, *UserUpdateReq) (*EmptyResp, error)
- type UnsafeOrderServiceServer
- type UnsafePerformanceSeatServiceServer
- type UnsafePerformanceServiceServer
- type UnsafePerformanceSessionServiceServer
- type UnsafeServiceServer
- type UnsafeUserServiceServer
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetAddress() string
- func (x *User) GetAudience() string
- func (x *User) GetAvatar() string
- func (x *User) GetBackground() string
- func (x *User) GetBirthday() int64
- func (x *User) GetCreatedAt() int64
- func (x *User) GetGender() int64
- func (x *User) GetId() int64
- func (x *User) GetIdentity() string
- func (x *User) GetIsDel() int64
- func (x *User) GetLoginAt() int64
- func (x *User) GetMail() string
- func (x *User) GetMobile() string
- func (x *User) GetName() string
- func (x *User) GetNation() string
- func (x *User) GetNickname() string
- func (x *User) GetPassword() string
- func (x *User) GetStatus() int64
- func (x *User) GetUpdatedAt() int64
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserAddReq
- func (*UserAddReq) Descriptor() ([]byte, []int)deprecated
- func (x *UserAddReq) GetAddress() string
- func (x *UserAddReq) GetAudience() string
- func (x *UserAddReq) GetAvatar() string
- func (x *UserAddReq) GetBackground() string
- func (x *UserAddReq) GetBirthday() int64
- func (x *UserAddReq) GetGender() int64
- func (x *UserAddReq) GetIdentity() string
- func (x *UserAddReq) GetLoginAt() int64
- func (x *UserAddReq) GetMail() string
- func (x *UserAddReq) GetMobile() string
- func (x *UserAddReq) GetName() string
- func (x *UserAddReq) GetNation() string
- func (x *UserAddReq) GetNickname() string
- func (x *UserAddReq) GetPassword() string
- func (x *UserAddReq) GetStatus() int64
- func (*UserAddReq) ProtoMessage()
- func (x *UserAddReq) ProtoReflect() protoreflect.Message
- func (x *UserAddReq) Reset()
- func (x *UserAddReq) String() string
- type UserAddResp
- type UserRemoveReq
- type UserRetrieveReq
- type UserRetrieveResp
- func (*UserRetrieveResp) Descriptor() ([]byte, []int)deprecated
- func (x *UserRetrieveResp) GetData() []*User
- func (x *UserRetrieveResp) GetTotal() int64
- func (*UserRetrieveResp) ProtoMessage()
- func (x *UserRetrieveResp) ProtoReflect() protoreflect.Message
- func (x *UserRetrieveResp) Reset()
- func (x *UserRetrieveResp) String() string
- type UserServiceClient
- type UserServiceServer
- type UserUpdateReq
- func (*UserUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *UserUpdateReq) GetAddress() string
- func (x *UserUpdateReq) GetAudience() string
- func (x *UserUpdateReq) GetAvatar() string
- func (x *UserUpdateReq) GetBackground() string
- func (x *UserUpdateReq) GetBirthday() int64
- func (x *UserUpdateReq) GetGender() int64
- func (x *UserUpdateReq) GetId() int64
- func (x *UserUpdateReq) GetIdentity() string
- func (x *UserUpdateReq) GetLoginAt() int64
- func (x *UserUpdateReq) GetMail() string
- func (x *UserUpdateReq) GetMobile() string
- func (x *UserUpdateReq) GetName() string
- func (x *UserUpdateReq) GetNation() string
- func (x *UserUpdateReq) GetNickname() string
- func (x *UserUpdateReq) GetPassword() string
- func (x *UserUpdateReq) GetStatus() int64
- func (*UserUpdateReq) ProtoMessage()
- func (x *UserUpdateReq) ProtoReflect() protoreflect.Message
- func (x *UserUpdateReq) Reset()
- func (x *UserUpdateReq) String() string
Constants ¶
const ( PerformanceService_PerformanceAdd_FullMethodName = "/service.PerformanceService/PerformanceAdd" PerformanceService_PerformanceUpdate_FullMethodName = "/service.PerformanceService/PerformanceUpdate" PerformanceService_PerformanceRetrieve_FullMethodName = "/service.PerformanceService/PerformanceRetrieve" PerformanceService_PerformanceRemove_FullMethodName = "/service.PerformanceService/PerformanceRemove" )
const ( OrderService_OrderAdd_FullMethodName = "/service.OrderService/OrderAdd" OrderService_OrderUpdate_FullMethodName = "/service.OrderService/OrderUpdate" OrderService_OrderRetrieve_FullMethodName = "/service.OrderService/OrderRetrieve" OrderService_OrderRemove_FullMethodName = "/service.OrderService/OrderRemove" )
const ( PerformanceSeatService_PerformanceSeatAdd_FullMethodName = "/service.PerformanceSeatService/PerformanceSeatAdd" PerformanceSeatService_PerformanceSeatUpdate_FullMethodName = "/service.PerformanceSeatService/PerformanceSeatUpdate" PerformanceSeatService_PerformanceSeatRetrieve_FullMethodName = "/service.PerformanceSeatService/PerformanceSeatRetrieve" PerformanceSeatService_PerformanceSeatRemove_FullMethodName = "/service.PerformanceSeatService/PerformanceSeatRemove" )
const ( PerformanceSessionService_PerformanceSessionAdd_FullMethodName = "/service.PerformanceSessionService/PerformanceSessionAdd" PerformanceSessionService_PerformanceSessionUpdate_FullMethodName = "/service.PerformanceSessionService/PerformanceSessionUpdate" PerformanceSessionService_PerformanceSessionRetrieve_FullMethodName = "/service.PerformanceSessionService/PerformanceSessionRetrieve" PerformanceSessionService_PerformanceSessionRemove_FullMethodName = "/service.PerformanceSessionService/PerformanceSessionRemove" )
const ( UserService_UserAdd_FullMethodName = "/service.UserService/UserAdd" UserService_UserUpdate_FullMethodName = "/service.UserService/UserUpdate" UserService_UserRetrieve_FullMethodName = "/service.UserService/UserRetrieve" UserService_UserRemove_FullMethodName = "/service.UserService/UserRemove" )
const (
Service_Login_FullMethodName = "/service.Service/Login"
)
Variables ¶
var File_service_proto protoreflect.FileDescriptor
var OrderService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "service.OrderService", HandlerType: (*OrderServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "OrderAdd", Handler: _OrderService_OrderAdd_Handler, }, { MethodName: "OrderUpdate", Handler: _OrderService_OrderUpdate_Handler, }, { MethodName: "OrderRetrieve", Handler: _OrderService_OrderRetrieve_Handler, }, { MethodName: "OrderRemove", Handler: _OrderService_OrderRemove_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "service.proto", }
OrderService_ServiceDesc is the grpc.ServiceDesc for OrderService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PerformanceSeatService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "service.PerformanceSeatService", HandlerType: (*PerformanceSeatServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "PerformanceSeatAdd", Handler: _PerformanceSeatService_PerformanceSeatAdd_Handler, }, { MethodName: "PerformanceSeatUpdate", Handler: _PerformanceSeatService_PerformanceSeatUpdate_Handler, }, { MethodName: "PerformanceSeatRetrieve", Handler: _PerformanceSeatService_PerformanceSeatRetrieve_Handler, }, { MethodName: "PerformanceSeatRemove", Handler: _PerformanceSeatService_PerformanceSeatRemove_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "service.proto", }
PerformanceSeatService_ServiceDesc is the grpc.ServiceDesc for PerformanceSeatService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PerformanceService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "service.PerformanceService", HandlerType: (*PerformanceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "PerformanceAdd", Handler: _PerformanceService_PerformanceAdd_Handler, }, { MethodName: "PerformanceUpdate", Handler: _PerformanceService_PerformanceUpdate_Handler, }, { MethodName: "PerformanceRetrieve", Handler: _PerformanceService_PerformanceRetrieve_Handler, }, { MethodName: "PerformanceRemove", Handler: _PerformanceService_PerformanceRemove_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "service.proto", }
PerformanceService_ServiceDesc is the grpc.ServiceDesc for PerformanceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var PerformanceSessionService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "service.PerformanceSessionService", HandlerType: (*PerformanceSessionServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "PerformanceSessionAdd", Handler: _PerformanceSessionService_PerformanceSessionAdd_Handler, }, { MethodName: "PerformanceSessionUpdate", Handler: _PerformanceSessionService_PerformanceSessionUpdate_Handler, }, { MethodName: "PerformanceSessionRetrieve", Handler: _PerformanceSessionService_PerformanceSessionRetrieve_Handler, }, { MethodName: "PerformanceSessionRemove", Handler: _PerformanceSessionService_PerformanceSessionRemove_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "service.proto", }
PerformanceSessionService_ServiceDesc is the grpc.ServiceDesc for PerformanceSessionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Service_ServiceDesc = grpc.ServiceDesc{ ServiceName: "service.Service", HandlerType: (*ServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Login", Handler: _Service_Login_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "service.proto", }
Service_ServiceDesc is the grpc.ServiceDesc for Service service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var UserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "service.UserService", HandlerType: (*UserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UserAdd", Handler: _UserService_UserAdd_Handler, }, { MethodName: "UserUpdate", Handler: _UserService_UserUpdate_Handler, }, { MethodName: "UserRetrieve", Handler: _UserService_UserRetrieve_Handler, }, { MethodName: "UserRemove", Handler: _UserService_UserRemove_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "service.proto", }
UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterOrderServiceServer ¶
func RegisterOrderServiceServer(s grpc.ServiceRegistrar, srv OrderServiceServer)
func RegisterPerformanceSeatServiceServer ¶
func RegisterPerformanceSeatServiceServer(s grpc.ServiceRegistrar, srv PerformanceSeatServiceServer)
func RegisterPerformanceServiceServer ¶
func RegisterPerformanceServiceServer(s grpc.ServiceRegistrar, srv PerformanceServiceServer)
func RegisterPerformanceSessionServiceServer ¶
func RegisterPerformanceSessionServiceServer(s grpc.ServiceRegistrar, srv PerformanceSessionServiceServer)
func RegisterServiceServer ¶
func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
Types ¶
type EmptyResp ¶
type EmptyResp struct {
// contains filtered or unexported fields
}
公共
func (*EmptyResp) Descriptor
deprecated
func (*EmptyResp) ProtoMessage ¶
func (*EmptyResp) ProtoMessage()
func (*EmptyResp) ProtoReflect ¶
func (x *EmptyResp) ProtoReflect() protoreflect.Message
type FilterItem ¶
type FilterItem struct { Field string `protobuf:"bytes,1,opt,name=Field,proto3" json:"Field,omitempty"` Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"` // contains filtered or unexported fields }
func (*FilterItem) Descriptor
deprecated
func (*FilterItem) Descriptor() ([]byte, []int)
Deprecated: Use FilterItem.ProtoReflect.Descriptor instead.
func (*FilterItem) GetField ¶
func (x *FilterItem) GetField() string
func (*FilterItem) GetValue ¶
func (x *FilterItem) GetValue() string
func (*FilterItem) ProtoMessage ¶
func (*FilterItem) ProtoMessage()
func (*FilterItem) ProtoReflect ¶
func (x *FilterItem) ProtoReflect() protoreflect.Message
func (*FilterItem) Reset ¶
func (x *FilterItem) Reset()
func (*FilterItem) String ¶
func (x *FilterItem) String() string
type LoginReq ¶
type LoginReq struct { Mobile string `protobuf:"bytes,1,opt,name=Mobile,proto3" json:"Mobile,omitempty"` // 账号 Password string `protobuf:"bytes,2,opt,name=Password,proto3" json:"Password,omitempty"` // 账户密码 Code string `protobuf:"bytes,3,opt,name=Code,proto3" json:"Code,omitempty"` // 手机验证码 LoginType int64 `protobuf:"varint,4,opt,name=LoginType,proto3" json:"LoginType,omitempty"` // 登录类型:1=验证码、2=密码、3=支付宝、4=淘宝、5=微信、6=新浪、7=QQ // contains filtered or unexported fields }
Login 登录
func (*LoginReq) Descriptor
deprecated
func (*LoginReq) GetLoginType ¶
func (*LoginReq) GetPassword ¶
func (*LoginReq) ProtoMessage ¶
func (*LoginReq) ProtoMessage()
func (*LoginReq) ProtoReflect ¶
func (x *LoginReq) ProtoReflect() protoreflect.Message
type LoginResp ¶
type LoginResp struct { ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` // 用户ID Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` // 用户名 Token string `protobuf:"bytes,3,opt,name=Token,proto3" json:"Token,omitempty"` // Jwt Token ExpireAt int64 `protobuf:"varint,4,opt,name=ExpireAt,proto3" json:"ExpireAt,omitempty"` // 认证过期时间 // contains filtered or unexported fields }
func (*LoginResp) Descriptor
deprecated
func (*LoginResp) GetExpireAt ¶
func (*LoginResp) ProtoMessage ¶
func (*LoginResp) ProtoMessage()
func (*LoginResp) ProtoReflect ¶
func (x *LoginResp) ProtoReflect() protoreflect.Message
type Order ¶
type Order struct { Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 用户ID Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` // 姓名 Nickname string `protobuf:"bytes,3,opt,name=Nickname,proto3" json:"Nickname,omitempty"` // 昵称 Avatar string `protobuf:"bytes,4,opt,name=Avatar,proto3" json:"Avatar,omitempty"` // 头像 Background string `protobuf:"bytes,5,opt,name=Background,proto3" json:"Background,omitempty"` // 个人中心背景图 Mobile string `protobuf:"bytes,6,opt,name=Mobile,proto3" json:"Mobile,omitempty"` // 手机号 Password string `protobuf:"bytes,7,opt,name=Password,proto3" json:"Password,omitempty"` // 密码 Mail string `protobuf:"bytes,8,opt,name=Mail,proto3" json:"Mail,omitempty"` // 邮箱地址 Identity string `protobuf:"bytes,9,opt,name=Identity,proto3" json:"Identity,omitempty"` // 身份证号 Gender int64 `protobuf:"varint,10,opt,name=Gender,proto3" json:"Gender,omitempty"` // 性别: 0=未指定、1=男、2=女、3=第三性别、4=保密: 默认=4 Nation string `protobuf:"bytes,11,opt,name=Nation,proto3" json:"Nation,omitempty"` // 民族 Birthday int64 `protobuf:"varint,12,opt,name=Birthday,proto3" json:"Birthday,omitempty"` // 出生日期 Address string `protobuf:"bytes,13,opt,name=Address,proto3" json:"Address,omitempty"` // 收货地址 Audience string `protobuf:"bytes,14,opt,name=Audience,proto3" json:"Audience,omitempty"` // 观影人信息,格式:[{"name":"xxx","identity_type": 1,"identity_number"}],identity 可选值:1=身份证、2=港澳台居民居住证、3=港澳居民来往内地通行证、4=台湾居民来往大陆通行证、5=护照、6=外国人永久居留身份证 Status int64 `protobuf:"varint,15,opt,name=Status,proto3" json:"Status,omitempty"` // 是否禁用: 0=未指定、1=开启、2=禁用: 默认=1 LoginAt int64 `protobuf:"varint,16,opt,name=LoginAt,proto3" json:"LoginAt,omitempty"` // 登录时间 CreatedAt int64 `protobuf:"varint,17,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` // 创建时间 UpdatedAt int64 `protobuf:"varint,18,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"` // 更新时间 IsDel int64 `protobuf:"varint,19,opt,name=IsDel,proto3" json:"IsDel,omitempty"` // 是否删除: 0=未指定、1=是、2=否: 默认=2 // contains filtered or unexported fields }
订单表
func (*Order) Descriptor
deprecated
func (*Order) GetAddress ¶
func (*Order) GetAudience ¶
func (*Order) GetBackground ¶
func (*Order) GetBirthday ¶
func (*Order) GetCreatedAt ¶
func (*Order) GetIdentity ¶
func (*Order) GetLoginAt ¶
func (*Order) GetNickname ¶
func (*Order) GetPassword ¶
func (*Order) GetUpdatedAt ¶
func (*Order) ProtoMessage ¶
func (*Order) ProtoMessage()
func (*Order) ProtoReflect ¶
func (x *Order) ProtoReflect() protoreflect.Message
type OrderAddReq ¶
type OrderAddReq struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` // 姓名 Nickname string `protobuf:"bytes,2,opt,name=Nickname,proto3" json:"Nickname,omitempty"` // 昵称 Avatar string `protobuf:"bytes,3,opt,name=Avatar,proto3" json:"Avatar,omitempty"` // 头像 Background string `protobuf:"bytes,4,opt,name=Background,proto3" json:"Background,omitempty"` // 个人中心背景图 Mobile string `protobuf:"bytes,5,opt,name=Mobile,proto3" json:"Mobile,omitempty"` // 手机号 Password string `protobuf:"bytes,6,opt,name=Password,proto3" json:"Password,omitempty"` // 密码 Mail string `protobuf:"bytes,7,opt,name=Mail,proto3" json:"Mail,omitempty"` // 邮箱地址 Identity string `protobuf:"bytes,8,opt,name=Identity,proto3" json:"Identity,omitempty"` // 身份证号 Gender int64 `protobuf:"varint,9,opt,name=Gender,proto3" json:"Gender,omitempty"` // 性别: 0=未指定、1=男、2=女、3=第三性别、4=保密: 默认=4 Nation string `protobuf:"bytes,10,opt,name=Nation,proto3" json:"Nation,omitempty"` // 民族 Birthday int64 `protobuf:"varint,11,opt,name=Birthday,proto3" json:"Birthday,omitempty"` // 出生日期 Address string `protobuf:"bytes,12,opt,name=Address,proto3" json:"Address,omitempty"` // 收货地址 Audience string `protobuf:"bytes,13,opt,name=Audience,proto3" json:"Audience,omitempty"` // 观影人信息,格式:[{"name":"xxx","identity_type": 1,"identity_number"}],identity 可选值:1=身份证、2=港澳台居民居住证、3=港澳居民来往内地通行证、4=台湾居民来往大陆通行证、5=护照、6=外国人永久居留身份证 Status int64 `protobuf:"varint,14,opt,name=Status,proto3" json:"Status,omitempty"` // 是否禁用: 0=未指定、1=开启、2=禁用: 默认=1 LoginAt int64 `protobuf:"varint,15,opt,name=LoginAt,proto3" json:"LoginAt,omitempty"` // 登录时间 // contains filtered or unexported fields }
OrderAdd 订单表 创建
func (*OrderAddReq) Descriptor
deprecated
func (*OrderAddReq) Descriptor() ([]byte, []int)
Deprecated: Use OrderAddReq.ProtoReflect.Descriptor instead.
func (*OrderAddReq) GetAddress ¶
func (x *OrderAddReq) GetAddress() string
func (*OrderAddReq) GetAudience ¶
func (x *OrderAddReq) GetAudience() string
func (*OrderAddReq) GetAvatar ¶
func (x *OrderAddReq) GetAvatar() string
func (*OrderAddReq) GetBackground ¶
func (x *OrderAddReq) GetBackground() string
func (*OrderAddReq) GetBirthday ¶
func (x *OrderAddReq) GetBirthday() int64
func (*OrderAddReq) GetGender ¶
func (x *OrderAddReq) GetGender() int64
func (*OrderAddReq) GetIdentity ¶
func (x *OrderAddReq) GetIdentity() string
func (*OrderAddReq) GetLoginAt ¶
func (x *OrderAddReq) GetLoginAt() int64
func (*OrderAddReq) GetMail ¶
func (x *OrderAddReq) GetMail() string
func (*OrderAddReq) GetMobile ¶
func (x *OrderAddReq) GetMobile() string
func (*OrderAddReq) GetName ¶
func (x *OrderAddReq) GetName() string
func (*OrderAddReq) GetNation ¶
func (x *OrderAddReq) GetNation() string
func (*OrderAddReq) GetNickname ¶
func (x *OrderAddReq) GetNickname() string
func (*OrderAddReq) GetPassword ¶
func (x *OrderAddReq) GetPassword() string
func (*OrderAddReq) GetStatus ¶
func (x *OrderAddReq) GetStatus() int64
func (*OrderAddReq) ProtoMessage ¶
func (*OrderAddReq) ProtoMessage()
func (*OrderAddReq) ProtoReflect ¶
func (x *OrderAddReq) ProtoReflect() protoreflect.Message
func (*OrderAddReq) Reset ¶
func (x *OrderAddReq) Reset()
func (*OrderAddReq) String ¶
func (x *OrderAddReq) String() string
type OrderAddResp ¶
type OrderAddResp struct { Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 用户ID // contains filtered or unexported fields }
func (*OrderAddResp) Descriptor
deprecated
func (*OrderAddResp) Descriptor() ([]byte, []int)
Deprecated: Use OrderAddResp.ProtoReflect.Descriptor instead.
func (*OrderAddResp) GetId ¶
func (x *OrderAddResp) GetId() int64
func (*OrderAddResp) ProtoMessage ¶
func (*OrderAddResp) ProtoMessage()
func (*OrderAddResp) ProtoReflect ¶
func (x *OrderAddResp) ProtoReflect() protoreflect.Message
func (*OrderAddResp) Reset ¶
func (x *OrderAddResp) Reset()
func (*OrderAddResp) String ¶
func (x *OrderAddResp) String() string
type OrderRemoveReq ¶
type OrderRemoveReq struct { Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 用户ID // contains filtered or unexported fields }
OrderRemove 订单表 删除
func (*OrderRemoveReq) Descriptor
deprecated
func (*OrderRemoveReq) Descriptor() ([]byte, []int)
Deprecated: Use OrderRemoveReq.ProtoReflect.Descriptor instead.
func (*OrderRemoveReq) GetId ¶
func (x *OrderRemoveReq) GetId() int64
func (*OrderRemoveReq) ProtoMessage ¶
func (*OrderRemoveReq) ProtoMessage()
func (*OrderRemoveReq) ProtoReflect ¶
func (x *OrderRemoveReq) ProtoReflect() protoreflect.Message
func (*OrderRemoveReq) Reset ¶
func (x *OrderRemoveReq) Reset()
func (*OrderRemoveReq) String ¶
func (x *OrderRemoveReq) String() string
type OrderRetrieveReq ¶
type OrderRetrieveReq struct { Paging *Paging `protobuf:"bytes,1,opt,name=Paging,proto3" json:"Paging,omitempty"` // contains filtered or unexported fields }
OrderRetrieve 订单表 获取
func (*OrderRetrieveReq) Descriptor
deprecated
func (*OrderRetrieveReq) Descriptor() ([]byte, []int)
Deprecated: Use OrderRetrieveReq.ProtoReflect.Descriptor instead.
func (*OrderRetrieveReq) GetPaging ¶
func (x *OrderRetrieveReq) GetPaging() *Paging
func (*OrderRetrieveReq) ProtoMessage ¶
func (*OrderRetrieveReq) ProtoMessage()
func (*OrderRetrieveReq) ProtoReflect ¶
func (x *OrderRetrieveReq) ProtoReflect() protoreflect.Message
func (*OrderRetrieveReq) Reset ¶
func (x *OrderRetrieveReq) Reset()
func (*OrderRetrieveReq) String ¶
func (x *OrderRetrieveReq) String() string
type OrderRetrieveResp ¶
type OrderRetrieveResp struct { Total int64 `protobuf:"varint,1,opt,name=Total,proto3" json:"Total,omitempty"` // 总数 Data []*Order `protobuf:"bytes,2,rep,name=Data,proto3" json:"Data,omitempty"` // 数据列表 // contains filtered or unexported fields }
func (*OrderRetrieveResp) Descriptor
deprecated
func (*OrderRetrieveResp) Descriptor() ([]byte, []int)
Deprecated: Use OrderRetrieveResp.ProtoReflect.Descriptor instead.
func (*OrderRetrieveResp) GetData ¶
func (x *OrderRetrieveResp) GetData() []*Order
func (*OrderRetrieveResp) GetTotal ¶
func (x *OrderRetrieveResp) GetTotal() int64
func (*OrderRetrieveResp) ProtoMessage ¶
func (*OrderRetrieveResp) ProtoMessage()
func (*OrderRetrieveResp) ProtoReflect ¶
func (x *OrderRetrieveResp) ProtoReflect() protoreflect.Message
func (*OrderRetrieveResp) Reset ¶
func (x *OrderRetrieveResp) Reset()
func (*OrderRetrieveResp) String ¶
func (x *OrderRetrieveResp) String() string
type OrderServiceClient ¶
type OrderServiceClient interface { // OrderAdd 订单表 创建 OrderAdd(ctx context.Context, in *OrderAddReq, opts ...grpc.CallOption) (*OrderAddResp, error) // OrderUpdate 订单表 更新 OrderUpdate(ctx context.Context, in *OrderUpdateReq, opts ...grpc.CallOption) (*EmptyResp, error) // OrderRetrieve 订单表 获取 OrderRetrieve(ctx context.Context, in *OrderRetrieveReq, opts ...grpc.CallOption) (*OrderRetrieveResp, error) // OrderRemove 订单表 删除 OrderRemove(ctx context.Context, in *OrderRemoveReq, opts ...grpc.CallOption) (*EmptyResp, error) }
OrderServiceClient is the client API for OrderService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewOrderServiceClient ¶
func NewOrderServiceClient(cc grpc.ClientConnInterface) OrderServiceClient
type OrderServiceServer ¶
type OrderServiceServer interface { // OrderAdd 订单表 创建 OrderAdd(context.Context, *OrderAddReq) (*OrderAddResp, error) // OrderUpdate 订单表 更新 OrderUpdate(context.Context, *OrderUpdateReq) (*EmptyResp, error) // OrderRetrieve 订单表 获取 OrderRetrieve(context.Context, *OrderRetrieveReq) (*OrderRetrieveResp, error) // OrderRemove 订单表 删除 OrderRemove(context.Context, *OrderRemoveReq) (*EmptyResp, error) // contains filtered or unexported methods }
OrderServiceServer is the server API for OrderService service. All implementations must embed UnimplementedOrderServiceServer for forward compatibility
type OrderUpdateReq ¶
type OrderUpdateReq struct { Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 用户ID Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` // 姓名 Nickname string `protobuf:"bytes,3,opt,name=Nickname,proto3" json:"Nickname,omitempty"` // 昵称 Avatar string `protobuf:"bytes,4,opt,name=Avatar,proto3" json:"Avatar,omitempty"` // 头像 Background string `protobuf:"bytes,5,opt,name=Background,proto3" json:"Background,omitempty"` // 个人中心背景图 Mobile string `protobuf:"bytes,6,opt,name=Mobile,proto3" json:"Mobile,omitempty"` // 手机号 Password string `protobuf:"bytes,7,opt,name=Password,proto3" json:"Password,omitempty"` // 密码 Mail string `protobuf:"bytes,8,opt,name=Mail,proto3" json:"Mail,omitempty"` // 邮箱地址 Identity string `protobuf:"bytes,9,opt,name=Identity,proto3" json:"Identity,omitempty"` // 身份证号 Gender int64 `protobuf:"varint,10,opt,name=Gender,proto3" json:"Gender,omitempty"` // 性别: 0=未指定、1=男、2=女、3=第三性别、4=保密: 默认=4 Nation string `protobuf:"bytes,11,opt,name=Nation,proto3" json:"Nation,omitempty"` // 民族 Birthday int64 `protobuf:"varint,12,opt,name=Birthday,proto3" json:"Birthday,omitempty"` // 出生日期 Address string `protobuf:"bytes,13,opt,name=Address,proto3" json:"Address,omitempty"` // 收货地址 Audience string `protobuf:"bytes,14,opt,name=Audience,proto3" json:"Audience,omitempty"` // 观影人信息,格式:[{"name":"xxx","identity_type": 1,"identity_number"}],identity 可选值:1=身份证、2=港澳台居民居住证、3=港澳居民来往内地通行证、4=台湾居民来往大陆通行证、5=护照、6=外国人永久居留身份证 Status int64 `protobuf:"varint,15,opt,name=Status,proto3" json:"Status,omitempty"` // 是否禁用: 0=未指定、1=开启、2=禁用: 默认=1 LoginAt int64 `protobuf:"varint,16,opt,name=LoginAt,proto3" json:"LoginAt,omitempty"` // 登录时间 // contains filtered or unexported fields }
OrderUpdate 订单表 更新
func (*OrderUpdateReq) Descriptor
deprecated
func (*OrderUpdateReq) Descriptor() ([]byte, []int)
Deprecated: Use OrderUpdateReq.ProtoReflect.Descriptor instead.
func (*OrderUpdateReq) GetAddress ¶
func (x *OrderUpdateReq) GetAddress() string
func (*OrderUpdateReq) GetAudience ¶
func (x *OrderUpdateReq) GetAudience() string
func (*OrderUpdateReq) GetAvatar ¶
func (x *OrderUpdateReq) GetAvatar() string
func (*OrderUpdateReq) GetBackground ¶
func (x *OrderUpdateReq) GetBackground() string
func (*OrderUpdateReq) GetBirthday ¶
func (x *OrderUpdateReq) GetBirthday() int64
func (*OrderUpdateReq) GetGender ¶
func (x *OrderUpdateReq) GetGender() int64
func (*OrderUpdateReq) GetId ¶
func (x *OrderUpdateReq) GetId() int64
func (*OrderUpdateReq) GetIdentity ¶
func (x *OrderUpdateReq) GetIdentity() string
func (*OrderUpdateReq) GetLoginAt ¶
func (x *OrderUpdateReq) GetLoginAt() int64
func (*OrderUpdateReq) GetMail ¶
func (x *OrderUpdateReq) GetMail() string
func (*OrderUpdateReq) GetMobile ¶
func (x *OrderUpdateReq) GetMobile() string
func (*OrderUpdateReq) GetName ¶
func (x *OrderUpdateReq) GetName() string
func (*OrderUpdateReq) GetNation ¶
func (x *OrderUpdateReq) GetNation() string
func (*OrderUpdateReq) GetNickname ¶
func (x *OrderUpdateReq) GetNickname() string
func (*OrderUpdateReq) GetPassword ¶
func (x *OrderUpdateReq) GetPassword() string
func (*OrderUpdateReq) GetStatus ¶
func (x *OrderUpdateReq) GetStatus() int64
func (*OrderUpdateReq) ProtoMessage ¶
func (*OrderUpdateReq) ProtoMessage()
func (*OrderUpdateReq) ProtoReflect ¶
func (x *OrderUpdateReq) ProtoReflect() protoreflect.Message
func (*OrderUpdateReq) Reset ¶
func (x *OrderUpdateReq) Reset()
func (*OrderUpdateReq) String ¶
func (x *OrderUpdateReq) String() string
type Paging ¶
type Paging struct { Page int64 `protobuf:"varint,1,opt,name=Page,proto3" json:"Page,omitempty"` // 页码 PageSize int64 `protobuf:"varint,2,opt,name=PageSize,proto3" json:"PageSize,omitempty"` // 页面数量 Filter []*FilterItem `protobuf:"bytes,3,rep,name=Filter,proto3" json:"Filter,omitempty"` // 过滤条件 Sort []*SortItem `protobuf:"bytes,4,rep,name=Sort,proto3" json:"Sort,omitempty"` // 排序条件 // contains filtered or unexported fields }
func (*Paging) Descriptor
deprecated
func (*Paging) GetFilter ¶
func (x *Paging) GetFilter() []*FilterItem
func (*Paging) GetPageSize ¶
func (*Paging) ProtoMessage ¶
func (*Paging) ProtoMessage()
func (*Paging) ProtoReflect ¶
func (x *Paging) ProtoReflect() protoreflect.Message
type Performance ¶
type Performance struct { Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 用户ID Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` // 姓名 Nickname string `protobuf:"bytes,3,opt,name=Nickname,proto3" json:"Nickname,omitempty"` // 昵称 Avatar string `protobuf:"bytes,4,opt,name=Avatar,proto3" json:"Avatar,omitempty"` // 头像 Background string `protobuf:"bytes,5,opt,name=Background,proto3" json:"Background,omitempty"` // 个人中心背景图 Mobile string `protobuf:"bytes,6,opt,name=Mobile,proto3" json:"Mobile,omitempty"` // 手机号 Password string `protobuf:"bytes,7,opt,name=Password,proto3" json:"Password,omitempty"` // 密码 Mail string `protobuf:"bytes,8,opt,name=Mail,proto3" json:"Mail,omitempty"` // 邮箱地址 Identity string `protobuf:"bytes,9,opt,name=Identity,proto3" json:"Identity,omitempty"` // 身份证号 Gender int64 `protobuf:"varint,10,opt,name=Gender,proto3" json:"Gender,omitempty"` // 性别: 0=未指定、1=男、2=女、3=第三性别、4=保密: 默认=4 Nation string `protobuf:"bytes,11,opt,name=Nation,proto3" json:"Nation,omitempty"` // 民族 Birthday int64 `protobuf:"varint,12,opt,name=Birthday,proto3" json:"Birthday,omitempty"` // 出生日期 Address string `protobuf:"bytes,13,opt,name=Address,proto3" json:"Address,omitempty"` // 收货地址 Audience string `protobuf:"bytes,14,opt,name=Audience,proto3" json:"Audience,omitempty"` // 观影人信息,格式:[{"name":"xxx","identity_type": 1,"identity_number"}],identity 可选值:1=身份证、2=港澳台居民居住证、3=港澳居民来往内地通行证、4=台湾居民来往大陆通行证、5=护照、6=外国人永久居留身份证 Status int64 `protobuf:"varint,15,opt,name=Status,proto3" json:"Status,omitempty"` // 是否禁用: 0=未指定、1=开启、2=禁用: 默认=1 LoginAt int64 `protobuf:"varint,16,opt,name=LoginAt,proto3" json:"LoginAt,omitempty"` // 登录时间 CreatedAt int64 `protobuf:"varint,17,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` // 创建时间 UpdatedAt int64 `protobuf:"varint,18,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"` // 更新时间 IsDel int64 `protobuf:"varint,19,opt,name=IsDel,proto3" json:"IsDel,omitempty"` // 是否删除: 0=未指定、1=是、2=否: 默认=2 // contains filtered or unexported fields }
演出活动表
func (*Performance) Descriptor
deprecated
func (*Performance) Descriptor() ([]byte, []int)
Deprecated: Use Performance.ProtoReflect.Descriptor instead.
func (*Performance) GetAddress ¶
func (x *Performance) GetAddress() string
func (*Performance) GetAudience ¶
func (x *Performance) GetAudience() string
func (*Performance) GetAvatar ¶
func (x *Performance) GetAvatar() string
func (*Performance) GetBackground ¶
func (x *Performance) GetBackground() string
func (*Performance) GetBirthday ¶
func (x *Performance) GetBirthday() int64
func (*Performance) GetCreatedAt ¶
func (x *Performance) GetCreatedAt() int64
func (*Performance) GetGender ¶
func (x *Performance) GetGender() int64
func (*Performance) GetId ¶
func (x *Performance) GetId() int64
func (*Performance) GetIdentity ¶
func (x *Performance) GetIdentity() string
func (*Performance) GetIsDel ¶
func (x *Performance) GetIsDel() int64
func (*Performance) GetLoginAt ¶
func (x *Performance) GetLoginAt() int64
func (*Performance) GetMail ¶
func (x *Performance) GetMail() string
func (*Performance) GetMobile ¶
func (x *Performance) GetMobile() string
func (*Performance) GetName ¶
func (x *Performance) GetName() string
func (*Performance) GetNation ¶
func (x *Performance) GetNation() string
func (*Performance) GetNickname ¶
func (x *Performance) GetNickname() string
func (*Performance) GetPassword ¶
func (x *Performance) GetPassword() string
func (*Performance) GetStatus ¶
func (x *Performance) GetStatus() int64
func (*Performance) GetUpdatedAt ¶
func (x *Performance) GetUpdatedAt() int64
func (*Performance) ProtoMessage ¶
func (*Performance) ProtoMessage()
func (*Performance) ProtoReflect ¶
func (x *Performance) ProtoReflect() protoreflect.Message
func (*Performance) Reset ¶
func (x *Performance) Reset()
func (*Performance) String ¶
func (x *Performance) String() string
type PerformanceAddReq ¶
type PerformanceAddReq struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` // 姓名 Nickname string `protobuf:"bytes,2,opt,name=Nickname,proto3" json:"Nickname,omitempty"` // 昵称 Avatar string `protobuf:"bytes,3,opt,name=Avatar,proto3" json:"Avatar,omitempty"` // 头像 Background string `protobuf:"bytes,4,opt,name=Background,proto3" json:"Background,omitempty"` // 个人中心背景图 Mobile string `protobuf:"bytes,5,opt,name=Mobile,proto3" json:"Mobile,omitempty"` // 手机号 Password string `protobuf:"bytes,6,opt,name=Password,proto3" json:"Password,omitempty"` // 密码 Mail string `protobuf:"bytes,7,opt,name=Mail,proto3" json:"Mail,omitempty"` // 邮箱地址 Identity string `protobuf:"bytes,8,opt,name=Identity,proto3" json:"Identity,omitempty"` // 身份证号 Gender int64 `protobuf:"varint,9,opt,name=Gender,proto3" json:"Gender,omitempty"` // 性别: 0=未指定、1=男、2=女、3=第三性别、4=保密: 默认=4 Nation string `protobuf:"bytes,10,opt,name=Nation,proto3" json:"Nation,omitempty"` // 民族 Birthday int64 `protobuf:"varint,11,opt,name=Birthday,proto3" json:"Birthday,omitempty"` // 出生日期 Address string `protobuf:"bytes,12,opt,name=Address,proto3" json:"Address,omitempty"` // 收货地址 Audience string `protobuf:"bytes,13,opt,name=Audience,proto3" json:"Audience,omitempty"` // 观影人信息,格式:[{"name":"xxx","identity_type": 1,"identity_number"}],identity 可选值:1=身份证、2=港澳台居民居住证、3=港澳居民来往内地通行证、4=台湾居民来往大陆通行证、5=护照、6=外国人永久居留身份证 Status int64 `protobuf:"varint,14,opt,name=Status,proto3" json:"Status,omitempty"` // 是否禁用: 0=未指定、1=开启、2=禁用: 默认=1 LoginAt int64 `protobuf:"varint,15,opt,name=LoginAt,proto3" json:"LoginAt,omitempty"` // 登录时间 // contains filtered or unexported fields }
PerformanceAdd 演出活动表 创建
func (*PerformanceAddReq) Descriptor
deprecated
func (*PerformanceAddReq) Descriptor() ([]byte, []int)
Deprecated: Use PerformanceAddReq.ProtoReflect.Descriptor instead.
func (*PerformanceAddReq) GetAddress ¶
func (x *PerformanceAddReq) GetAddress() string
func (*PerformanceAddReq) GetAudience ¶
func (x *PerformanceAddReq) GetAudience() string
func (*PerformanceAddReq) GetAvatar ¶
func (x *PerformanceAddReq) GetAvatar() string
func (*PerformanceAddReq) GetBackground ¶
func (x *PerformanceAddReq) GetBackground() string
func (*PerformanceAddReq) GetBirthday ¶
func (x *PerformanceAddReq) GetBirthday() int64
func (*PerformanceAddReq) GetGender ¶
func (x *PerformanceAddReq) GetGender() int64
func (*PerformanceAddReq) GetIdentity ¶
func (x *PerformanceAddReq) GetIdentity() string
func (*PerformanceAddReq) GetLoginAt ¶
func (x *PerformanceAddReq) GetLoginAt() int64
func (*PerformanceAddReq) GetMail ¶
func (x *PerformanceAddReq) GetMail() string
func (*PerformanceAddReq) GetMobile ¶
func (x *PerformanceAddReq) GetMobile() string
func (*PerformanceAddReq) GetName ¶
func (x *PerformanceAddReq) GetName() string
func (*PerformanceAddReq) GetNation ¶
func (x *PerformanceAddReq) GetNation() string
func (*PerformanceAddReq) GetNickname ¶
func (x *PerformanceAddReq) GetNickname() string
func (*PerformanceAddReq) GetPassword ¶
func (x *PerformanceAddReq) GetPassword() string
func (*PerformanceAddReq) GetStatus ¶
func (x *PerformanceAddReq) GetStatus() int64
func (*PerformanceAddReq) ProtoMessage ¶
func (*PerformanceAddReq) ProtoMessage()
func (*PerformanceAddReq) ProtoReflect ¶
func (x *PerformanceAddReq) ProtoReflect() protoreflect.Message
func (*PerformanceAddReq) Reset ¶
func (x *PerformanceAddReq) Reset()
func (*PerformanceAddReq) String ¶
func (x *PerformanceAddReq) String() string
type PerformanceAddResp ¶
type PerformanceAddResp struct { Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 用户ID // contains filtered or unexported fields }
func (*PerformanceAddResp) Descriptor
deprecated
func (*PerformanceAddResp) Descriptor() ([]byte, []int)
Deprecated: Use PerformanceAddResp.ProtoReflect.Descriptor instead.
func (*PerformanceAddResp) GetId ¶
func (x *PerformanceAddResp) GetId() int64
func (*PerformanceAddResp) ProtoMessage ¶
func (*PerformanceAddResp) ProtoMessage()
func (*PerformanceAddResp) ProtoReflect ¶
func (x *PerformanceAddResp) ProtoReflect() protoreflect.Message
func (*PerformanceAddResp) Reset ¶
func (x *PerformanceAddResp) Reset()
func (*PerformanceAddResp) String ¶
func (x *PerformanceAddResp) String() string
type PerformanceRemoveReq ¶
type PerformanceRemoveReq struct { Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 用户ID // contains filtered or unexported fields }
PerformanceRemove 演出活动表 删除
func (*PerformanceRemoveReq) Descriptor
deprecated
func (*PerformanceRemoveReq) Descriptor() ([]byte, []int)
Deprecated: Use PerformanceRemoveReq.ProtoReflect.Descriptor instead.
func (*PerformanceRemoveReq) GetId ¶
func (x *PerformanceRemoveReq) GetId() int64
func (*PerformanceRemoveReq) ProtoMessage ¶
func (*PerformanceRemoveReq) ProtoMessage()
func (*PerformanceRemoveReq) ProtoReflect ¶
func (x *PerformanceRemoveReq) ProtoReflect() protoreflect.Message
func (*PerformanceRemoveReq) Reset ¶
func (x *PerformanceRemoveReq) Reset()
func (*PerformanceRemoveReq) String ¶
func (x *PerformanceRemoveReq) String() string
type PerformanceRetrieveReq ¶
type PerformanceRetrieveReq struct { Paging *Paging `protobuf:"bytes,1,opt,name=Paging,proto3" json:"Paging,omitempty"` // contains filtered or unexported fields }
PerformanceRetrieve 演出活动表 获取
func (*PerformanceRetrieveReq) Descriptor
deprecated
func (*PerformanceRetrieveReq) Descriptor() ([]byte, []int)
Deprecated: Use PerformanceRetrieveReq.ProtoReflect.Descriptor instead.
func (*PerformanceRetrieveReq) GetPaging ¶
func (x *PerformanceRetrieveReq) GetPaging() *Paging
func (*PerformanceRetrieveReq) ProtoMessage ¶
func (*PerformanceRetrieveReq) ProtoMessage()
func (*PerformanceRetrieveReq) ProtoReflect ¶
func (x *PerformanceRetrieveReq) ProtoReflect() protoreflect.Message
func (*PerformanceRetrieveReq) Reset ¶
func (x *PerformanceRetrieveReq) Reset()
func (*PerformanceRetrieveReq) String ¶
func (x *PerformanceRetrieveReq) String() string
type PerformanceRetrieveResp ¶
type PerformanceRetrieveResp struct { Total int64 `protobuf:"varint,1,opt,name=Total,proto3" json:"Total,omitempty"` // 总数 Data []*Performance `protobuf:"bytes,2,rep,name=Data,proto3" json:"Data,omitempty"` // 数据列表 // contains filtered or unexported fields }
func (*PerformanceRetrieveResp) Descriptor
deprecated
func (*PerformanceRetrieveResp) Descriptor() ([]byte, []int)
Deprecated: Use PerformanceRetrieveResp.ProtoReflect.Descriptor instead.
func (*PerformanceRetrieveResp) GetData ¶
func (x *PerformanceRetrieveResp) GetData() []*Performance
func (*PerformanceRetrieveResp) GetTotal ¶
func (x *PerformanceRetrieveResp) GetTotal() int64
func (*PerformanceRetrieveResp) ProtoMessage ¶
func (*PerformanceRetrieveResp) ProtoMessage()
func (*PerformanceRetrieveResp) ProtoReflect ¶
func (x *PerformanceRetrieveResp) ProtoReflect() protoreflect.Message
func (*PerformanceRetrieveResp) Reset ¶
func (x *PerformanceRetrieveResp) Reset()
func (*PerformanceRetrieveResp) String ¶
func (x *PerformanceRetrieveResp) String() string
type PerformanceSeat ¶
type PerformanceSeat struct { Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // ID SessionId int64 `protobuf:"varint,2,opt,name=SessionId,proto3" json:"SessionId,omitempty"` // 关联的演出场次ID Seat string `protobuf:"bytes,3,opt,name=Seat,proto3" json:"Seat,omitempty"` // 席位,对应演出活动场次表中的席位 Row int64 `protobuf:"varint,4,opt,name=Row,proto3" json:"Row,omitempty"` // 座位所在行 Col int64 `protobuf:"varint,5,opt,name=Col,proto3" json:"Col,omitempty"` // 座位所在列 Status int64 `protobuf:"varint,6,opt,name=Status,proto3" json:"Status,omitempty"` // 预定状态:1=已预定、2=未预定:默认=2 CreatedAt int64 `protobuf:"varint,7,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` // 创建时间 UpdatedAt int64 `protobuf:"varint,8,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"` // 更新时间 IsDel int64 `protobuf:"varint,9,opt,name=IsDel,proto3" json:"IsDel,omitempty"` // 是否删除: 0=未指定、1=是、2=否: 默认=2 // contains filtered or unexported fields }
演出活动场次座位表
func (*PerformanceSeat) Descriptor
deprecated
func (*PerformanceSeat) Descriptor() ([]byte, []int)
Deprecated: Use PerformanceSeat.ProtoReflect.Descriptor instead.
func (*PerformanceSeat) GetCol ¶
func (x *PerformanceSeat) GetCol() int64
func (*PerformanceSeat) GetCreatedAt ¶
func (x *PerformanceSeat) GetCreatedAt() int64
func (*PerformanceSeat) GetId ¶
func (x *PerformanceSeat) GetId() int64
func (*PerformanceSeat) GetIsDel ¶
func (x *PerformanceSeat) GetIsDel() int64
func (*PerformanceSeat) GetRow ¶
func (x *PerformanceSeat) GetRow() int64
func (*PerformanceSeat) GetSeat ¶
func (x *PerformanceSeat) GetSeat() string
func (*PerformanceSeat) GetSessionId ¶
func (x *PerformanceSeat) GetSessionId() int64
func (*PerformanceSeat) GetStatus ¶
func (x *PerformanceSeat) GetStatus() int64
func (*PerformanceSeat) GetUpdatedAt ¶
func (x *PerformanceSeat) GetUpdatedAt() int64
func (*PerformanceSeat) ProtoMessage ¶
func (*PerformanceSeat) ProtoMessage()
func (*PerformanceSeat) ProtoReflect ¶
func (x *PerformanceSeat) ProtoReflect() protoreflect.Message
func (*PerformanceSeat) Reset ¶
func (x *PerformanceSeat) Reset()
func (*PerformanceSeat) String ¶
func (x *PerformanceSeat) String() string
type PerformanceSeatAddReq ¶
type PerformanceSeatAddReq struct { SessionId int64 `protobuf:"varint,1,opt,name=SessionId,proto3" json:"SessionId,omitempty"` // 关联的演出场次ID Seat string `protobuf:"bytes,2,opt,name=Seat,proto3" json:"Seat,omitempty"` // 席位,对应演出活动场次表中的席位 Row int64 `protobuf:"varint,3,opt,name=Row,proto3" json:"Row,omitempty"` // 座位所在行 Col int64 `protobuf:"varint,4,opt,name=Col,proto3" json:"Col,omitempty"` // 座位所在列 Status int64 `protobuf:"varint,5,opt,name=Status,proto3" json:"Status,omitempty"` // 预定状态:1=已预定、2=未预定:默认=2 // contains filtered or unexported fields }
PerformanceSeatAdd 演出活动场次座位表 创建
func (*PerformanceSeatAddReq) Descriptor
deprecated
func (*PerformanceSeatAddReq) Descriptor() ([]byte, []int)
Deprecated: Use PerformanceSeatAddReq.ProtoReflect.Descriptor instead.
func (*PerformanceSeatAddReq) GetCol ¶
func (x *PerformanceSeatAddReq) GetCol() int64
func (*PerformanceSeatAddReq) GetRow ¶
func (x *PerformanceSeatAddReq) GetRow() int64
func (*PerformanceSeatAddReq) GetSeat ¶
func (x *PerformanceSeatAddReq) GetSeat() string
func (*PerformanceSeatAddReq) GetSessionId ¶
func (x *PerformanceSeatAddReq) GetSessionId() int64
func (*PerformanceSeatAddReq) GetStatus ¶
func (x *PerformanceSeatAddReq) GetStatus() int64
func (*PerformanceSeatAddReq) ProtoMessage ¶
func (*PerformanceSeatAddReq) ProtoMessage()
func (*PerformanceSeatAddReq) ProtoReflect ¶
func (x *PerformanceSeatAddReq) ProtoReflect() protoreflect.Message
func (*PerformanceSeatAddReq) Reset ¶
func (x *PerformanceSeatAddReq) Reset()
func (*PerformanceSeatAddReq) String ¶
func (x *PerformanceSeatAddReq) String() string
type PerformanceSeatAddResp ¶
type PerformanceSeatAddResp struct { Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 用户ID // contains filtered or unexported fields }
func (*PerformanceSeatAddResp) Descriptor
deprecated
func (*PerformanceSeatAddResp) Descriptor() ([]byte, []int)
Deprecated: Use PerformanceSeatAddResp.ProtoReflect.Descriptor instead.
func (*PerformanceSeatAddResp) GetId ¶
func (x *PerformanceSeatAddResp) GetId() int64
func (*PerformanceSeatAddResp) ProtoMessage ¶
func (*PerformanceSeatAddResp) ProtoMessage()
func (*PerformanceSeatAddResp) ProtoReflect ¶
func (x *PerformanceSeatAddResp) ProtoReflect() protoreflect.Message
func (*PerformanceSeatAddResp) Reset ¶
func (x *PerformanceSeatAddResp) Reset()
func (*PerformanceSeatAddResp) String ¶
func (x *PerformanceSeatAddResp) String() string
type PerformanceSeatRemoveReq ¶
type PerformanceSeatRemoveReq struct { Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 用户ID // contains filtered or unexported fields }
PerformanceSeatRemove 演出活动场次座位表 删除
func (*PerformanceSeatRemoveReq) Descriptor
deprecated
func (*PerformanceSeatRemoveReq) Descriptor() ([]byte, []int)
Deprecated: Use PerformanceSeatRemoveReq.ProtoReflect.Descriptor instead.
func (*PerformanceSeatRemoveReq) GetId ¶
func (x *PerformanceSeatRemoveReq) GetId() int64
func (*PerformanceSeatRemoveReq) ProtoMessage ¶
func (*PerformanceSeatRemoveReq) ProtoMessage()
func (*PerformanceSeatRemoveReq) ProtoReflect ¶
func (x *PerformanceSeatRemoveReq) ProtoReflect() protoreflect.Message
func (*PerformanceSeatRemoveReq) Reset ¶
func (x *PerformanceSeatRemoveReq) Reset()
func (*PerformanceSeatRemoveReq) String ¶
func (x *PerformanceSeatRemoveReq) String() string
type PerformanceSeatRetrieveReq ¶
type PerformanceSeatRetrieveReq struct { Paging *Paging `protobuf:"bytes,1,opt,name=Paging,proto3" json:"Paging,omitempty"` // contains filtered or unexported fields }
PerformanceSeatRetrieve 演出活动场次座位表 获取
func (*PerformanceSeatRetrieveReq) Descriptor
deprecated
func (*PerformanceSeatRetrieveReq) Descriptor() ([]byte, []int)
Deprecated: Use PerformanceSeatRetrieveReq.ProtoReflect.Descriptor instead.
func (*PerformanceSeatRetrieveReq) GetPaging ¶
func (x *PerformanceSeatRetrieveReq) GetPaging() *Paging
func (*PerformanceSeatRetrieveReq) ProtoMessage ¶
func (*PerformanceSeatRetrieveReq) ProtoMessage()
func (*PerformanceSeatRetrieveReq) ProtoReflect ¶
func (x *PerformanceSeatRetrieveReq) ProtoReflect() protoreflect.Message
func (*PerformanceSeatRetrieveReq) Reset ¶
func (x *PerformanceSeatRetrieveReq) Reset()
func (*PerformanceSeatRetrieveReq) String ¶
func (x *PerformanceSeatRetrieveReq) String() string
type PerformanceSeatRetrieveResp ¶
type PerformanceSeatRetrieveResp struct { Total int64 `protobuf:"varint,1,opt,name=Total,proto3" json:"Total,omitempty"` // 总数 Data []*PerformanceSeat `protobuf:"bytes,2,rep,name=Data,proto3" json:"Data,omitempty"` // 数据列表 // contains filtered or unexported fields }
func (*PerformanceSeatRetrieveResp) Descriptor
deprecated
func (*PerformanceSeatRetrieveResp) Descriptor() ([]byte, []int)
Deprecated: Use PerformanceSeatRetrieveResp.ProtoReflect.Descriptor instead.
func (*PerformanceSeatRetrieveResp) GetData ¶
func (x *PerformanceSeatRetrieveResp) GetData() []*PerformanceSeat
func (*PerformanceSeatRetrieveResp) GetTotal ¶
func (x *PerformanceSeatRetrieveResp) GetTotal() int64
func (*PerformanceSeatRetrieveResp) ProtoMessage ¶
func (*PerformanceSeatRetrieveResp) ProtoMessage()
func (*PerformanceSeatRetrieveResp) ProtoReflect ¶
func (x *PerformanceSeatRetrieveResp) ProtoReflect() protoreflect.Message
func (*PerformanceSeatRetrieveResp) Reset ¶
func (x *PerformanceSeatRetrieveResp) Reset()
func (*PerformanceSeatRetrieveResp) String ¶
func (x *PerformanceSeatRetrieveResp) String() string
type PerformanceSeatServiceClient ¶
type PerformanceSeatServiceClient interface { // PerformanceSeatAdd 演出活动场次座位表 创建 PerformanceSeatAdd(ctx context.Context, in *PerformanceSeatAddReq, opts ...grpc.CallOption) (*PerformanceSeatAddResp, error) // PerformanceSeatUpdate 演出活动场次座位表 更新 PerformanceSeatUpdate(ctx context.Context, in *PerformanceSeatUpdateReq, opts ...grpc.CallOption) (*EmptyResp, error) // PerformanceSeatRetrieve 演出活动场次座位表 获取 PerformanceSeatRetrieve(ctx context.Context, in *PerformanceSeatRetrieveReq, opts ...grpc.CallOption) (*PerformanceSeatRetrieveResp, error) // PerformanceSeatRemove 演出活动场次座位表 删除 PerformanceSeatRemove(ctx context.Context, in *PerformanceSeatRemoveReq, opts ...grpc.CallOption) (*EmptyResp, error) }
PerformanceSeatServiceClient is the client API for PerformanceSeatService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPerformanceSeatServiceClient ¶
func NewPerformanceSeatServiceClient(cc grpc.ClientConnInterface) PerformanceSeatServiceClient
type PerformanceSeatServiceServer ¶
type PerformanceSeatServiceServer interface { // PerformanceSeatAdd 演出活动场次座位表 创建 PerformanceSeatAdd(context.Context, *PerformanceSeatAddReq) (*PerformanceSeatAddResp, error) // PerformanceSeatUpdate 演出活动场次座位表 更新 PerformanceSeatUpdate(context.Context, *PerformanceSeatUpdateReq) (*EmptyResp, error) // PerformanceSeatRetrieve 演出活动场次座位表 获取 PerformanceSeatRetrieve(context.Context, *PerformanceSeatRetrieveReq) (*PerformanceSeatRetrieveResp, error) // PerformanceSeatRemove 演出活动场次座位表 删除 PerformanceSeatRemove(context.Context, *PerformanceSeatRemoveReq) (*EmptyResp, error) // contains filtered or unexported methods }
PerformanceSeatServiceServer is the server API for PerformanceSeatService service. All implementations must embed UnimplementedPerformanceSeatServiceServer for forward compatibility
type PerformanceSeatUpdateReq ¶
type PerformanceSeatUpdateReq struct { Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // ID SessionId int64 `protobuf:"varint,2,opt,name=SessionId,proto3" json:"SessionId,omitempty"` // 关联的演出场次ID Seat string `protobuf:"bytes,3,opt,name=Seat,proto3" json:"Seat,omitempty"` // 席位,对应演出活动场次表中的席位 Row int64 `protobuf:"varint,4,opt,name=Row,proto3" json:"Row,omitempty"` // 座位所在行 Col int64 `protobuf:"varint,5,opt,name=Col,proto3" json:"Col,omitempty"` // 座位所在列 Status int64 `protobuf:"varint,6,opt,name=Status,proto3" json:"Status,omitempty"` // 预定状态:1=已预定、2=未预定:默认=2 // contains filtered or unexported fields }
PerformanceSeatUpdate 演出活动场次座位表 更新
func (*PerformanceSeatUpdateReq) Descriptor
deprecated
func (*PerformanceSeatUpdateReq) Descriptor() ([]byte, []int)
Deprecated: Use PerformanceSeatUpdateReq.ProtoReflect.Descriptor instead.
func (*PerformanceSeatUpdateReq) GetCol ¶
func (x *PerformanceSeatUpdateReq) GetCol() int64
func (*PerformanceSeatUpdateReq) GetId ¶
func (x *PerformanceSeatUpdateReq) GetId() int64
func (*PerformanceSeatUpdateReq) GetRow ¶
func (x *PerformanceSeatUpdateReq) GetRow() int64
func (*PerformanceSeatUpdateReq) GetSeat ¶
func (x *PerformanceSeatUpdateReq) GetSeat() string
func (*PerformanceSeatUpdateReq) GetSessionId ¶
func (x *PerformanceSeatUpdateReq) GetSessionId() int64
func (*PerformanceSeatUpdateReq) GetStatus ¶
func (x *PerformanceSeatUpdateReq) GetStatus() int64
func (*PerformanceSeatUpdateReq) ProtoMessage ¶
func (*PerformanceSeatUpdateReq) ProtoMessage()
func (*PerformanceSeatUpdateReq) ProtoReflect ¶
func (x *PerformanceSeatUpdateReq) ProtoReflect() protoreflect.Message
func (*PerformanceSeatUpdateReq) Reset ¶
func (x *PerformanceSeatUpdateReq) Reset()
func (*PerformanceSeatUpdateReq) String ¶
func (x *PerformanceSeatUpdateReq) String() string
type PerformanceServiceClient ¶
type PerformanceServiceClient interface { // PerformanceAdd 演出活动表 创建 PerformanceAdd(ctx context.Context, in *PerformanceAddReq, opts ...grpc.CallOption) (*PerformanceAddResp, error) // PerformanceUpdate 演出活动表 更新 PerformanceUpdate(ctx context.Context, in *PerformanceUpdateReq, opts ...grpc.CallOption) (*EmptyResp, error) // PerformanceRetrieve 演出活动表 获取 PerformanceRetrieve(ctx context.Context, in *PerformanceRetrieveReq, opts ...grpc.CallOption) (*PerformanceRetrieveResp, error) // PerformanceRemove 演出活动表 删除 PerformanceRemove(ctx context.Context, in *PerformanceRemoveReq, opts ...grpc.CallOption) (*EmptyResp, error) }
PerformanceServiceClient is the client API for PerformanceService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPerformanceServiceClient ¶
func NewPerformanceServiceClient(cc grpc.ClientConnInterface) PerformanceServiceClient
type PerformanceServiceServer ¶
type PerformanceServiceServer interface { // PerformanceAdd 演出活动表 创建 PerformanceAdd(context.Context, *PerformanceAddReq) (*PerformanceAddResp, error) // PerformanceUpdate 演出活动表 更新 PerformanceUpdate(context.Context, *PerformanceUpdateReq) (*EmptyResp, error) // PerformanceRetrieve 演出活动表 获取 PerformanceRetrieve(context.Context, *PerformanceRetrieveReq) (*PerformanceRetrieveResp, error) // PerformanceRemove 演出活动表 删除 PerformanceRemove(context.Context, *PerformanceRemoveReq) (*EmptyResp, error) // contains filtered or unexported methods }
PerformanceServiceServer is the server API for PerformanceService service. All implementations must embed UnimplementedPerformanceServiceServer for forward compatibility
type PerformanceSession ¶
type PerformanceSession struct { Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // ID PerformanceId int64 `protobuf:"varint,2,opt,name=PerformanceId,proto3" json:"PerformanceId,omitempty"` // 关联的演出活动ID Tickets string `protobuf:"bytes,3,opt,name=Tickets,proto3" json:"Tickets,omitempty"` // 规格票数,格式为:[{"seat": "vip","price": 2023,"quantity": 2000}]。seat: 席位、price: 票价、quantity: 数量。 ShowAt int64 `protobuf:"varint,4,opt,name=ShowAt,proto3" json:"ShowAt,omitempty"` // 演出时间 CreatedAt int64 `protobuf:"varint,5,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` // 创建时间 UpdatedAt int64 `protobuf:"varint,6,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"` // 更新时间 IsDel int64 `protobuf:"varint,7,opt,name=IsDel,proto3" json:"IsDel,omitempty"` // 是否删除: 0=未指定、1=是、2=否: 默认=2 // contains filtered or unexported fields }
演出活动场次表
func (*PerformanceSession) Descriptor
deprecated
func (*PerformanceSession) Descriptor() ([]byte, []int)
Deprecated: Use PerformanceSession.ProtoReflect.Descriptor instead.
func (*PerformanceSession) GetCreatedAt ¶
func (x *PerformanceSession) GetCreatedAt() int64
func (*PerformanceSession) GetId ¶
func (x *PerformanceSession) GetId() int64
func (*PerformanceSession) GetIsDel ¶
func (x *PerformanceSession) GetIsDel() int64
func (*PerformanceSession) GetPerformanceId ¶
func (x *PerformanceSession) GetPerformanceId() int64
func (*PerformanceSession) GetShowAt ¶
func (x *PerformanceSession) GetShowAt() int64
func (*PerformanceSession) GetTickets ¶
func (x *PerformanceSession) GetTickets() string
func (*PerformanceSession) GetUpdatedAt ¶
func (x *PerformanceSession) GetUpdatedAt() int64
func (*PerformanceSession) ProtoMessage ¶
func (*PerformanceSession) ProtoMessage()
func (*PerformanceSession) ProtoReflect ¶
func (x *PerformanceSession) ProtoReflect() protoreflect.Message
func (*PerformanceSession) Reset ¶
func (x *PerformanceSession) Reset()
func (*PerformanceSession) String ¶
func (x *PerformanceSession) String() string
type PerformanceSessionAddReq ¶
type PerformanceSessionAddReq struct { PerformanceId int64 `protobuf:"varint,1,opt,name=PerformanceId,proto3" json:"PerformanceId,omitempty"` // 关联的演出活动ID Tickets string `protobuf:"bytes,2,opt,name=Tickets,proto3" json:"Tickets,omitempty"` // 规格票数,格式为:[{"seat": "vip","price": 2023,"quantity": 2000}]。seat: 席位、price: 票价、quantity: 数量。 ShowAt int64 `protobuf:"varint,3,opt,name=ShowAt,proto3" json:"ShowAt,omitempty"` // 演出时间 // contains filtered or unexported fields }
PerformanceSessionAdd 演出活动场次表 创建
func (*PerformanceSessionAddReq) Descriptor
deprecated
func (*PerformanceSessionAddReq) Descriptor() ([]byte, []int)
Deprecated: Use PerformanceSessionAddReq.ProtoReflect.Descriptor instead.
func (*PerformanceSessionAddReq) GetPerformanceId ¶
func (x *PerformanceSessionAddReq) GetPerformanceId() int64
func (*PerformanceSessionAddReq) GetShowAt ¶
func (x *PerformanceSessionAddReq) GetShowAt() int64
func (*PerformanceSessionAddReq) GetTickets ¶
func (x *PerformanceSessionAddReq) GetTickets() string
func (*PerformanceSessionAddReq) ProtoMessage ¶
func (*PerformanceSessionAddReq) ProtoMessage()
func (*PerformanceSessionAddReq) ProtoReflect ¶
func (x *PerformanceSessionAddReq) ProtoReflect() protoreflect.Message
func (*PerformanceSessionAddReq) Reset ¶
func (x *PerformanceSessionAddReq) Reset()
func (*PerformanceSessionAddReq) String ¶
func (x *PerformanceSessionAddReq) String() string
type PerformanceSessionAddResp ¶
type PerformanceSessionAddResp struct { Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 用户ID // contains filtered or unexported fields }
func (*PerformanceSessionAddResp) Descriptor
deprecated
func (*PerformanceSessionAddResp) Descriptor() ([]byte, []int)
Deprecated: Use PerformanceSessionAddResp.ProtoReflect.Descriptor instead.
func (*PerformanceSessionAddResp) GetId ¶
func (x *PerformanceSessionAddResp) GetId() int64
func (*PerformanceSessionAddResp) ProtoMessage ¶
func (*PerformanceSessionAddResp) ProtoMessage()
func (*PerformanceSessionAddResp) ProtoReflect ¶
func (x *PerformanceSessionAddResp) ProtoReflect() protoreflect.Message
func (*PerformanceSessionAddResp) Reset ¶
func (x *PerformanceSessionAddResp) Reset()
func (*PerformanceSessionAddResp) String ¶
func (x *PerformanceSessionAddResp) String() string
type PerformanceSessionRemoveReq ¶
type PerformanceSessionRemoveReq struct { Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 用户ID // contains filtered or unexported fields }
PerformanceSessionRemove 演出活动场次表 删除
func (*PerformanceSessionRemoveReq) Descriptor
deprecated
func (*PerformanceSessionRemoveReq) Descriptor() ([]byte, []int)
Deprecated: Use PerformanceSessionRemoveReq.ProtoReflect.Descriptor instead.
func (*PerformanceSessionRemoveReq) GetId ¶
func (x *PerformanceSessionRemoveReq) GetId() int64
func (*PerformanceSessionRemoveReq) ProtoMessage ¶
func (*PerformanceSessionRemoveReq) ProtoMessage()
func (*PerformanceSessionRemoveReq) ProtoReflect ¶
func (x *PerformanceSessionRemoveReq) ProtoReflect() protoreflect.Message
func (*PerformanceSessionRemoveReq) Reset ¶
func (x *PerformanceSessionRemoveReq) Reset()
func (*PerformanceSessionRemoveReq) String ¶
func (x *PerformanceSessionRemoveReq) String() string
type PerformanceSessionRetrieveReq ¶
type PerformanceSessionRetrieveReq struct { Paging *Paging `protobuf:"bytes,1,opt,name=Paging,proto3" json:"Paging,omitempty"` // contains filtered or unexported fields }
PerformanceSessionRetrieve 演出活动场次表 获取
func (*PerformanceSessionRetrieveReq) Descriptor
deprecated
func (*PerformanceSessionRetrieveReq) Descriptor() ([]byte, []int)
Deprecated: Use PerformanceSessionRetrieveReq.ProtoReflect.Descriptor instead.
func (*PerformanceSessionRetrieveReq) GetPaging ¶
func (x *PerformanceSessionRetrieveReq) GetPaging() *Paging
func (*PerformanceSessionRetrieveReq) ProtoMessage ¶
func (*PerformanceSessionRetrieveReq) ProtoMessage()
func (*PerformanceSessionRetrieveReq) ProtoReflect ¶
func (x *PerformanceSessionRetrieveReq) ProtoReflect() protoreflect.Message
func (*PerformanceSessionRetrieveReq) Reset ¶
func (x *PerformanceSessionRetrieveReq) Reset()
func (*PerformanceSessionRetrieveReq) String ¶
func (x *PerformanceSessionRetrieveReq) String() string
type PerformanceSessionRetrieveResp ¶
type PerformanceSessionRetrieveResp struct { Total int64 `protobuf:"varint,1,opt,name=Total,proto3" json:"Total,omitempty"` // 总数 Data []*PerformanceSession `protobuf:"bytes,2,rep,name=Data,proto3" json:"Data,omitempty"` // 数据列表 // contains filtered or unexported fields }
func (*PerformanceSessionRetrieveResp) Descriptor
deprecated
func (*PerformanceSessionRetrieveResp) Descriptor() ([]byte, []int)
Deprecated: Use PerformanceSessionRetrieveResp.ProtoReflect.Descriptor instead.
func (*PerformanceSessionRetrieveResp) GetData ¶
func (x *PerformanceSessionRetrieveResp) GetData() []*PerformanceSession
func (*PerformanceSessionRetrieveResp) GetTotal ¶
func (x *PerformanceSessionRetrieveResp) GetTotal() int64
func (*PerformanceSessionRetrieveResp) ProtoMessage ¶
func (*PerformanceSessionRetrieveResp) ProtoMessage()
func (*PerformanceSessionRetrieveResp) ProtoReflect ¶
func (x *PerformanceSessionRetrieveResp) ProtoReflect() protoreflect.Message
func (*PerformanceSessionRetrieveResp) Reset ¶
func (x *PerformanceSessionRetrieveResp) Reset()
func (*PerformanceSessionRetrieveResp) String ¶
func (x *PerformanceSessionRetrieveResp) String() string
type PerformanceSessionServiceClient ¶
type PerformanceSessionServiceClient interface { // PerformanceSessionAdd 演出活动场次表 创建 PerformanceSessionAdd(ctx context.Context, in *PerformanceSessionAddReq, opts ...grpc.CallOption) (*PerformanceSessionAddResp, error) // PerformanceSessionUpdate 演出活动场次表 更新 PerformanceSessionUpdate(ctx context.Context, in *PerformanceSessionUpdateReq, opts ...grpc.CallOption) (*EmptyResp, error) // PerformanceSessionRetrieve 演出活动场次表 获取 PerformanceSessionRetrieve(ctx context.Context, in *PerformanceSessionRetrieveReq, opts ...grpc.CallOption) (*PerformanceSessionRetrieveResp, error) // PerformanceSessionRemove 演出活动场次表 删除 PerformanceSessionRemove(ctx context.Context, in *PerformanceSessionRemoveReq, opts ...grpc.CallOption) (*EmptyResp, error) }
PerformanceSessionServiceClient is the client API for PerformanceSessionService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPerformanceSessionServiceClient ¶
func NewPerformanceSessionServiceClient(cc grpc.ClientConnInterface) PerformanceSessionServiceClient
type PerformanceSessionServiceServer ¶
type PerformanceSessionServiceServer interface { // PerformanceSessionAdd 演出活动场次表 创建 PerformanceSessionAdd(context.Context, *PerformanceSessionAddReq) (*PerformanceSessionAddResp, error) // PerformanceSessionUpdate 演出活动场次表 更新 PerformanceSessionUpdate(context.Context, *PerformanceSessionUpdateReq) (*EmptyResp, error) // PerformanceSessionRetrieve 演出活动场次表 获取 PerformanceSessionRetrieve(context.Context, *PerformanceSessionRetrieveReq) (*PerformanceSessionRetrieveResp, error) // PerformanceSessionRemove 演出活动场次表 删除 PerformanceSessionRemove(context.Context, *PerformanceSessionRemoveReq) (*EmptyResp, error) // contains filtered or unexported methods }
PerformanceSessionServiceServer is the server API for PerformanceSessionService service. All implementations must embed UnimplementedPerformanceSessionServiceServer for forward compatibility
type PerformanceSessionUpdateReq ¶
type PerformanceSessionUpdateReq struct { Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // ID PerformanceId int64 `protobuf:"varint,2,opt,name=PerformanceId,proto3" json:"PerformanceId,omitempty"` // 关联的演出活动ID Tickets string `protobuf:"bytes,3,opt,name=Tickets,proto3" json:"Tickets,omitempty"` // 规格票数,格式为:[{"seat": "vip","price": 2023,"quantity": 2000}]。seat: 席位、price: 票价、quantity: 数量。 ShowAt int64 `protobuf:"varint,4,opt,name=ShowAt,proto3" json:"ShowAt,omitempty"` // 演出时间 // contains filtered or unexported fields }
PerformanceSessionUpdate 演出活动场次表 更新
func (*PerformanceSessionUpdateReq) Descriptor
deprecated
func (*PerformanceSessionUpdateReq) Descriptor() ([]byte, []int)
Deprecated: Use PerformanceSessionUpdateReq.ProtoReflect.Descriptor instead.
func (*PerformanceSessionUpdateReq) GetId ¶
func (x *PerformanceSessionUpdateReq) GetId() int64
func (*PerformanceSessionUpdateReq) GetPerformanceId ¶
func (x *PerformanceSessionUpdateReq) GetPerformanceId() int64
func (*PerformanceSessionUpdateReq) GetShowAt ¶
func (x *PerformanceSessionUpdateReq) GetShowAt() int64
func (*PerformanceSessionUpdateReq) GetTickets ¶
func (x *PerformanceSessionUpdateReq) GetTickets() string
func (*PerformanceSessionUpdateReq) ProtoMessage ¶
func (*PerformanceSessionUpdateReq) ProtoMessage()
func (*PerformanceSessionUpdateReq) ProtoReflect ¶
func (x *PerformanceSessionUpdateReq) ProtoReflect() protoreflect.Message
func (*PerformanceSessionUpdateReq) Reset ¶
func (x *PerformanceSessionUpdateReq) Reset()
func (*PerformanceSessionUpdateReq) String ¶
func (x *PerformanceSessionUpdateReq) String() string
type PerformanceUpdateReq ¶
type PerformanceUpdateReq struct { Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 用户ID Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` // 姓名 Nickname string `protobuf:"bytes,3,opt,name=Nickname,proto3" json:"Nickname,omitempty"` // 昵称 Avatar string `protobuf:"bytes,4,opt,name=Avatar,proto3" json:"Avatar,omitempty"` // 头像 Background string `protobuf:"bytes,5,opt,name=Background,proto3" json:"Background,omitempty"` // 个人中心背景图 Mobile string `protobuf:"bytes,6,opt,name=Mobile,proto3" json:"Mobile,omitempty"` // 手机号 Password string `protobuf:"bytes,7,opt,name=Password,proto3" json:"Password,omitempty"` // 密码 Mail string `protobuf:"bytes,8,opt,name=Mail,proto3" json:"Mail,omitempty"` // 邮箱地址 Identity string `protobuf:"bytes,9,opt,name=Identity,proto3" json:"Identity,omitempty"` // 身份证号 Gender int64 `protobuf:"varint,10,opt,name=Gender,proto3" json:"Gender,omitempty"` // 性别: 0=未指定、1=男、2=女、3=第三性别、4=保密: 默认=4 Nation string `protobuf:"bytes,11,opt,name=Nation,proto3" json:"Nation,omitempty"` // 民族 Birthday int64 `protobuf:"varint,12,opt,name=Birthday,proto3" json:"Birthday,omitempty"` // 出生日期 Address string `protobuf:"bytes,13,opt,name=Address,proto3" json:"Address,omitempty"` // 收货地址 Audience string `protobuf:"bytes,14,opt,name=Audience,proto3" json:"Audience,omitempty"` // 观影人信息,格式:[{"name":"xxx","identity_type": 1,"identity_number"}],identity 可选值:1=身份证、2=港澳台居民居住证、3=港澳居民来往内地通行证、4=台湾居民来往大陆通行证、5=护照、6=外国人永久居留身份证 Status int64 `protobuf:"varint,15,opt,name=Status,proto3" json:"Status,omitempty"` // 是否禁用: 0=未指定、1=开启、2=禁用: 默认=1 LoginAt int64 `protobuf:"varint,16,opt,name=LoginAt,proto3" json:"LoginAt,omitempty"` // 登录时间 // contains filtered or unexported fields }
PerformanceUpdate 演出活动表 更新
func (*PerformanceUpdateReq) Descriptor
deprecated
func (*PerformanceUpdateReq) Descriptor() ([]byte, []int)
Deprecated: Use PerformanceUpdateReq.ProtoReflect.Descriptor instead.
func (*PerformanceUpdateReq) GetAddress ¶
func (x *PerformanceUpdateReq) GetAddress() string
func (*PerformanceUpdateReq) GetAudience ¶
func (x *PerformanceUpdateReq) GetAudience() string
func (*PerformanceUpdateReq) GetAvatar ¶
func (x *PerformanceUpdateReq) GetAvatar() string
func (*PerformanceUpdateReq) GetBackground ¶
func (x *PerformanceUpdateReq) GetBackground() string
func (*PerformanceUpdateReq) GetBirthday ¶
func (x *PerformanceUpdateReq) GetBirthday() int64
func (*PerformanceUpdateReq) GetGender ¶
func (x *PerformanceUpdateReq) GetGender() int64
func (*PerformanceUpdateReq) GetId ¶
func (x *PerformanceUpdateReq) GetId() int64
func (*PerformanceUpdateReq) GetIdentity ¶
func (x *PerformanceUpdateReq) GetIdentity() string
func (*PerformanceUpdateReq) GetLoginAt ¶
func (x *PerformanceUpdateReq) GetLoginAt() int64
func (*PerformanceUpdateReq) GetMail ¶
func (x *PerformanceUpdateReq) GetMail() string
func (*PerformanceUpdateReq) GetMobile ¶
func (x *PerformanceUpdateReq) GetMobile() string
func (*PerformanceUpdateReq) GetName ¶
func (x *PerformanceUpdateReq) GetName() string
func (*PerformanceUpdateReq) GetNation ¶
func (x *PerformanceUpdateReq) GetNation() string
func (*PerformanceUpdateReq) GetNickname ¶
func (x *PerformanceUpdateReq) GetNickname() string
func (*PerformanceUpdateReq) GetPassword ¶
func (x *PerformanceUpdateReq) GetPassword() string
func (*PerformanceUpdateReq) GetStatus ¶
func (x *PerformanceUpdateReq) GetStatus() int64
func (*PerformanceUpdateReq) ProtoMessage ¶
func (*PerformanceUpdateReq) ProtoMessage()
func (*PerformanceUpdateReq) ProtoReflect ¶
func (x *PerformanceUpdateReq) ProtoReflect() protoreflect.Message
func (*PerformanceUpdateReq) Reset ¶
func (x *PerformanceUpdateReq) Reset()
func (*PerformanceUpdateReq) String ¶
func (x *PerformanceUpdateReq) String() string
type ServiceClient ¶
type ServiceClient interface { // Login 登录 Login(ctx context.Context, in *LoginReq, opts ...grpc.CallOption) (*LoginResp, error) }
ServiceClient is the client API for Service service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewServiceClient ¶
func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient
type ServiceServer ¶
type ServiceServer interface { // Login 登录 Login(context.Context, *LoginReq) (*LoginResp, error) // contains filtered or unexported methods }
ServiceServer is the server API for Service service. All implementations must embed UnimplementedServiceServer for forward compatibility
type SortItem ¶
type SortItem struct { Field string `protobuf:"bytes,1,opt,name=Field,proto3" json:"Field,omitempty"` Order string `protobuf:"bytes,2,opt,name=Order,proto3" json:"Order,omitempty"` // contains filtered or unexported fields }
func (*SortItem) Descriptor
deprecated
func (*SortItem) ProtoMessage ¶
func (*SortItem) ProtoMessage()
func (*SortItem) ProtoReflect ¶
func (x *SortItem) ProtoReflect() protoreflect.Message
type UnimplementedOrderServiceServer ¶
type UnimplementedOrderServiceServer struct { }
UnimplementedOrderServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedOrderServiceServer) OrderAdd ¶
func (UnimplementedOrderServiceServer) OrderAdd(context.Context, *OrderAddReq) (*OrderAddResp, error)
func (UnimplementedOrderServiceServer) OrderRemove ¶
func (UnimplementedOrderServiceServer) OrderRemove(context.Context, *OrderRemoveReq) (*EmptyResp, error)
func (UnimplementedOrderServiceServer) OrderRetrieve ¶
func (UnimplementedOrderServiceServer) OrderRetrieve(context.Context, *OrderRetrieveReq) (*OrderRetrieveResp, error)
func (UnimplementedOrderServiceServer) OrderUpdate ¶
func (UnimplementedOrderServiceServer) OrderUpdate(context.Context, *OrderUpdateReq) (*EmptyResp, error)
type UnimplementedPerformanceSeatServiceServer ¶
type UnimplementedPerformanceSeatServiceServer struct { }
UnimplementedPerformanceSeatServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedPerformanceSeatServiceServer) PerformanceSeatAdd ¶
func (UnimplementedPerformanceSeatServiceServer) PerformanceSeatAdd(context.Context, *PerformanceSeatAddReq) (*PerformanceSeatAddResp, error)
func (UnimplementedPerformanceSeatServiceServer) PerformanceSeatRemove ¶
func (UnimplementedPerformanceSeatServiceServer) PerformanceSeatRemove(context.Context, *PerformanceSeatRemoveReq) (*EmptyResp, error)
func (UnimplementedPerformanceSeatServiceServer) PerformanceSeatRetrieve ¶
func (UnimplementedPerformanceSeatServiceServer) PerformanceSeatRetrieve(context.Context, *PerformanceSeatRetrieveReq) (*PerformanceSeatRetrieveResp, error)
func (UnimplementedPerformanceSeatServiceServer) PerformanceSeatUpdate ¶
func (UnimplementedPerformanceSeatServiceServer) PerformanceSeatUpdate(context.Context, *PerformanceSeatUpdateReq) (*EmptyResp, error)
type UnimplementedPerformanceServiceServer ¶
type UnimplementedPerformanceServiceServer struct { }
UnimplementedPerformanceServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedPerformanceServiceServer) PerformanceAdd ¶
func (UnimplementedPerformanceServiceServer) PerformanceAdd(context.Context, *PerformanceAddReq) (*PerformanceAddResp, error)
func (UnimplementedPerformanceServiceServer) PerformanceRemove ¶
func (UnimplementedPerformanceServiceServer) PerformanceRemove(context.Context, *PerformanceRemoveReq) (*EmptyResp, error)
func (UnimplementedPerformanceServiceServer) PerformanceRetrieve ¶
func (UnimplementedPerformanceServiceServer) PerformanceRetrieve(context.Context, *PerformanceRetrieveReq) (*PerformanceRetrieveResp, error)
func (UnimplementedPerformanceServiceServer) PerformanceUpdate ¶
func (UnimplementedPerformanceServiceServer) PerformanceUpdate(context.Context, *PerformanceUpdateReq) (*EmptyResp, error)
type UnimplementedPerformanceSessionServiceServer ¶
type UnimplementedPerformanceSessionServiceServer struct { }
UnimplementedPerformanceSessionServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedPerformanceSessionServiceServer) PerformanceSessionAdd ¶
func (UnimplementedPerformanceSessionServiceServer) PerformanceSessionAdd(context.Context, *PerformanceSessionAddReq) (*PerformanceSessionAddResp, error)
func (UnimplementedPerformanceSessionServiceServer) PerformanceSessionRemove ¶
func (UnimplementedPerformanceSessionServiceServer) PerformanceSessionRemove(context.Context, *PerformanceSessionRemoveReq) (*EmptyResp, error)
func (UnimplementedPerformanceSessionServiceServer) PerformanceSessionRetrieve ¶
func (UnimplementedPerformanceSessionServiceServer) PerformanceSessionRetrieve(context.Context, *PerformanceSessionRetrieveReq) (*PerformanceSessionRetrieveResp, error)
func (UnimplementedPerformanceSessionServiceServer) PerformanceSessionUpdate ¶
func (UnimplementedPerformanceSessionServiceServer) PerformanceSessionUpdate(context.Context, *PerformanceSessionUpdateReq) (*EmptyResp, error)
type UnimplementedServiceServer ¶
type UnimplementedServiceServer struct { }
UnimplementedServiceServer must be embedded to have forward compatible implementations.
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct { }
UnimplementedUserServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUserServiceServer) UserAdd ¶
func (UnimplementedUserServiceServer) UserAdd(context.Context, *UserAddReq) (*UserAddResp, error)
func (UnimplementedUserServiceServer) UserRemove ¶
func (UnimplementedUserServiceServer) UserRemove(context.Context, *UserRemoveReq) (*EmptyResp, error)
func (UnimplementedUserServiceServer) UserRetrieve ¶
func (UnimplementedUserServiceServer) UserRetrieve(context.Context, *UserRetrieveReq) (*UserRetrieveResp, error)
func (UnimplementedUserServiceServer) UserUpdate ¶
func (UnimplementedUserServiceServer) UserUpdate(context.Context, *UserUpdateReq) (*EmptyResp, error)
type UnsafeOrderServiceServer ¶
type UnsafeOrderServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOrderServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrderServiceServer will result in compilation errors.
type UnsafePerformanceSeatServiceServer ¶
type UnsafePerformanceSeatServiceServer interface {
// contains filtered or unexported methods
}
UnsafePerformanceSeatServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PerformanceSeatServiceServer will result in compilation errors.
type UnsafePerformanceServiceServer ¶
type UnsafePerformanceServiceServer interface {
// contains filtered or unexported methods
}
UnsafePerformanceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PerformanceServiceServer will result in compilation errors.
type UnsafePerformanceSessionServiceServer ¶
type UnsafePerformanceSessionServiceServer interface {
// contains filtered or unexported methods
}
UnsafePerformanceSessionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PerformanceSessionServiceServer will result in compilation errors.
type UnsafeServiceServer ¶
type UnsafeServiceServer interface {
// contains filtered or unexported methods
}
UnsafeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceServer will result in compilation errors.
type UnsafeUserServiceServer ¶
type UnsafeUserServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.
type User ¶
type User struct { Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 用户ID Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` // 姓名 Nickname string `protobuf:"bytes,3,opt,name=Nickname,proto3" json:"Nickname,omitempty"` // 昵称 Avatar string `protobuf:"bytes,4,opt,name=Avatar,proto3" json:"Avatar,omitempty"` // 头像 Background string `protobuf:"bytes,5,opt,name=Background,proto3" json:"Background,omitempty"` // 个人中心背景图 Mobile string `protobuf:"bytes,6,opt,name=Mobile,proto3" json:"Mobile,omitempty"` // 手机号 Password string `protobuf:"bytes,7,opt,name=Password,proto3" json:"Password,omitempty"` // 密码 Mail string `protobuf:"bytes,8,opt,name=Mail,proto3" json:"Mail,omitempty"` // 邮箱地址 Identity string `protobuf:"bytes,9,opt,name=Identity,proto3" json:"Identity,omitempty"` // 身份证号 Gender int64 `protobuf:"varint,10,opt,name=Gender,proto3" json:"Gender,omitempty"` // 性别: 0=未指定、1=男、2=女、3=第三性别、4=保密: 默认=4 Nation string `protobuf:"bytes,11,opt,name=Nation,proto3" json:"Nation,omitempty"` // 民族 Birthday int64 `protobuf:"varint,12,opt,name=Birthday,proto3" json:"Birthday,omitempty"` // 出生日期 Address string `protobuf:"bytes,13,opt,name=Address,proto3" json:"Address,omitempty"` // 收货地址 Audience string `protobuf:"bytes,14,opt,name=Audience,proto3" json:"Audience,omitempty"` // 观影人信息,格式:[{"name":"xxx","identity_type": 1,"identity_number"}],identity 可选值:1=身份证、2=港澳台居民居住证、3=港澳居民来往内地通行证、4=台湾居民来往大陆通行证、5=护照、6=外国人永久居留身份证 Status int64 `protobuf:"varint,15,opt,name=Status,proto3" json:"Status,omitempty"` // 是否禁用: 0=未指定、1=开启、2=禁用: 默认=1 LoginAt int64 `protobuf:"varint,16,opt,name=LoginAt,proto3" json:"LoginAt,omitempty"` // 登录时间 CreatedAt int64 `protobuf:"varint,17,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"` // 创建时间 UpdatedAt int64 `protobuf:"varint,18,opt,name=UpdatedAt,proto3" json:"UpdatedAt,omitempty"` // 更新时间 IsDel int64 `protobuf:"varint,19,opt,name=IsDel,proto3" json:"IsDel,omitempty"` // 是否删除: 0=未指定、1=是、2=否: 默认=2 // contains filtered or unexported fields }
用户表
func (*User) Descriptor
deprecated
func (*User) GetAddress ¶
func (*User) GetAudience ¶
func (*User) GetBackground ¶
func (*User) GetBirthday ¶
func (*User) GetCreatedAt ¶
func (*User) GetIdentity ¶
func (*User) GetLoginAt ¶
func (*User) GetNickname ¶
func (*User) GetPassword ¶
func (*User) GetUpdatedAt ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserAddReq ¶
type UserAddReq struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` // 姓名 Nickname string `protobuf:"bytes,2,opt,name=Nickname,proto3" json:"Nickname,omitempty"` // 昵称 Avatar string `protobuf:"bytes,3,opt,name=Avatar,proto3" json:"Avatar,omitempty"` // 头像 Background string `protobuf:"bytes,4,opt,name=Background,proto3" json:"Background,omitempty"` // 个人中心背景图 Mobile string `protobuf:"bytes,5,opt,name=Mobile,proto3" json:"Mobile,omitempty"` // 手机号 Password string `protobuf:"bytes,6,opt,name=Password,proto3" json:"Password,omitempty"` // 密码 Mail string `protobuf:"bytes,7,opt,name=Mail,proto3" json:"Mail,omitempty"` // 邮箱地址 Identity string `protobuf:"bytes,8,opt,name=Identity,proto3" json:"Identity,omitempty"` // 身份证号 Gender int64 `protobuf:"varint,9,opt,name=Gender,proto3" json:"Gender,omitempty"` // 性别: 0=未指定、1=男、2=女、3=第三性别、4=保密: 默认=4 Nation string `protobuf:"bytes,10,opt,name=Nation,proto3" json:"Nation,omitempty"` // 民族 Birthday int64 `protobuf:"varint,11,opt,name=Birthday,proto3" json:"Birthday,omitempty"` // 出生日期 Address string `protobuf:"bytes,12,opt,name=Address,proto3" json:"Address,omitempty"` // 收货地址 Audience string `protobuf:"bytes,13,opt,name=Audience,proto3" json:"Audience,omitempty"` // 观影人信息,格式:[{"name":"xxx","identity_type": 1,"identity_number"}],identity 可选值:1=身份证、2=港澳台居民居住证、3=港澳居民来往内地通行证、4=台湾居民来往大陆通行证、5=护照、6=外国人永久居留身份证 Status int64 `protobuf:"varint,14,opt,name=Status,proto3" json:"Status,omitempty"` // 是否禁用: 0=未指定、1=开启、2=禁用: 默认=1 LoginAt int64 `protobuf:"varint,15,opt,name=LoginAt,proto3" json:"LoginAt,omitempty"` // 登录时间 // contains filtered or unexported fields }
UserAdd 用户表 创建
func (*UserAddReq) Descriptor
deprecated
func (*UserAddReq) Descriptor() ([]byte, []int)
Deprecated: Use UserAddReq.ProtoReflect.Descriptor instead.
func (*UserAddReq) GetAddress ¶
func (x *UserAddReq) GetAddress() string
func (*UserAddReq) GetAudience ¶
func (x *UserAddReq) GetAudience() string
func (*UserAddReq) GetAvatar ¶
func (x *UserAddReq) GetAvatar() string
func (*UserAddReq) GetBackground ¶
func (x *UserAddReq) GetBackground() string
func (*UserAddReq) GetBirthday ¶
func (x *UserAddReq) GetBirthday() int64
func (*UserAddReq) GetGender ¶
func (x *UserAddReq) GetGender() int64
func (*UserAddReq) GetIdentity ¶
func (x *UserAddReq) GetIdentity() string
func (*UserAddReq) GetLoginAt ¶
func (x *UserAddReq) GetLoginAt() int64
func (*UserAddReq) GetMail ¶
func (x *UserAddReq) GetMail() string
func (*UserAddReq) GetMobile ¶
func (x *UserAddReq) GetMobile() string
func (*UserAddReq) GetName ¶
func (x *UserAddReq) GetName() string
func (*UserAddReq) GetNation ¶
func (x *UserAddReq) GetNation() string
func (*UserAddReq) GetNickname ¶
func (x *UserAddReq) GetNickname() string
func (*UserAddReq) GetPassword ¶
func (x *UserAddReq) GetPassword() string
func (*UserAddReq) GetStatus ¶
func (x *UserAddReq) GetStatus() int64
func (*UserAddReq) ProtoMessage ¶
func (*UserAddReq) ProtoMessage()
func (*UserAddReq) ProtoReflect ¶
func (x *UserAddReq) ProtoReflect() protoreflect.Message
func (*UserAddReq) Reset ¶
func (x *UserAddReq) Reset()
func (*UserAddReq) String ¶
func (x *UserAddReq) String() string
type UserAddResp ¶
type UserAddResp struct { Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 用户ID // contains filtered or unexported fields }
func (*UserAddResp) Descriptor
deprecated
func (*UserAddResp) Descriptor() ([]byte, []int)
Deprecated: Use UserAddResp.ProtoReflect.Descriptor instead.
func (*UserAddResp) GetId ¶
func (x *UserAddResp) GetId() int64
func (*UserAddResp) ProtoMessage ¶
func (*UserAddResp) ProtoMessage()
func (*UserAddResp) ProtoReflect ¶
func (x *UserAddResp) ProtoReflect() protoreflect.Message
func (*UserAddResp) Reset ¶
func (x *UserAddResp) Reset()
func (*UserAddResp) String ¶
func (x *UserAddResp) String() string
type UserRemoveReq ¶
type UserRemoveReq struct { Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 用户ID // contains filtered or unexported fields }
UserRemove 用户表 删除
func (*UserRemoveReq) Descriptor
deprecated
func (*UserRemoveReq) Descriptor() ([]byte, []int)
Deprecated: Use UserRemoveReq.ProtoReflect.Descriptor instead.
func (*UserRemoveReq) GetId ¶
func (x *UserRemoveReq) GetId() int64
func (*UserRemoveReq) ProtoMessage ¶
func (*UserRemoveReq) ProtoMessage()
func (*UserRemoveReq) ProtoReflect ¶
func (x *UserRemoveReq) ProtoReflect() protoreflect.Message
func (*UserRemoveReq) Reset ¶
func (x *UserRemoveReq) Reset()
func (*UserRemoveReq) String ¶
func (x *UserRemoveReq) String() string
type UserRetrieveReq ¶
type UserRetrieveReq struct { Paging *Paging `protobuf:"bytes,1,opt,name=Paging,proto3" json:"Paging,omitempty"` // contains filtered or unexported fields }
UserRetrieve 用户表 获取
func (*UserRetrieveReq) Descriptor
deprecated
func (*UserRetrieveReq) Descriptor() ([]byte, []int)
Deprecated: Use UserRetrieveReq.ProtoReflect.Descriptor instead.
func (*UserRetrieveReq) GetPaging ¶
func (x *UserRetrieveReq) GetPaging() *Paging
func (*UserRetrieveReq) ProtoMessage ¶
func (*UserRetrieveReq) ProtoMessage()
func (*UserRetrieveReq) ProtoReflect ¶
func (x *UserRetrieveReq) ProtoReflect() protoreflect.Message
func (*UserRetrieveReq) Reset ¶
func (x *UserRetrieveReq) Reset()
func (*UserRetrieveReq) String ¶
func (x *UserRetrieveReq) String() string
type UserRetrieveResp ¶
type UserRetrieveResp struct { Total int64 `protobuf:"varint,1,opt,name=Total,proto3" json:"Total,omitempty"` // 总数 Data []*User `protobuf:"bytes,2,rep,name=Data,proto3" json:"Data,omitempty"` // 数据列表 // contains filtered or unexported fields }
func (*UserRetrieveResp) Descriptor
deprecated
func (*UserRetrieveResp) Descriptor() ([]byte, []int)
Deprecated: Use UserRetrieveResp.ProtoReflect.Descriptor instead.
func (*UserRetrieveResp) GetData ¶
func (x *UserRetrieveResp) GetData() []*User
func (*UserRetrieveResp) GetTotal ¶
func (x *UserRetrieveResp) GetTotal() int64
func (*UserRetrieveResp) ProtoMessage ¶
func (*UserRetrieveResp) ProtoMessage()
func (*UserRetrieveResp) ProtoReflect ¶
func (x *UserRetrieveResp) ProtoReflect() protoreflect.Message
func (*UserRetrieveResp) Reset ¶
func (x *UserRetrieveResp) Reset()
func (*UserRetrieveResp) String ¶
func (x *UserRetrieveResp) String() string
type UserServiceClient ¶
type UserServiceClient interface { // UserAdd 用户表 创建 UserAdd(ctx context.Context, in *UserAddReq, opts ...grpc.CallOption) (*UserAddResp, error) // UserUpdate 用户表 更新 UserUpdate(ctx context.Context, in *UserUpdateReq, opts ...grpc.CallOption) (*EmptyResp, error) // UserRetrieve 用户表 获取 UserRetrieve(ctx context.Context, in *UserRetrieveReq, opts ...grpc.CallOption) (*UserRetrieveResp, error) // UserRemove 用户表 删除 UserRemove(ctx context.Context, in *UserRemoveReq, opts ...grpc.CallOption) (*EmptyResp, error) }
UserServiceClient is the client API for UserService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
type UserServiceServer ¶
type UserServiceServer interface { // UserAdd 用户表 创建 UserAdd(context.Context, *UserAddReq) (*UserAddResp, error) // UserUpdate 用户表 更新 UserUpdate(context.Context, *UserUpdateReq) (*EmptyResp, error) // UserRetrieve 用户表 获取 UserRetrieve(context.Context, *UserRetrieveReq) (*UserRetrieveResp, error) // UserRemove 用户表 删除 UserRemove(context.Context, *UserRemoveReq) (*EmptyResp, error) // contains filtered or unexported methods }
UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility
type UserUpdateReq ¶
type UserUpdateReq struct { Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 用户ID Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` // 姓名 Nickname string `protobuf:"bytes,3,opt,name=Nickname,proto3" json:"Nickname,omitempty"` // 昵称 Avatar string `protobuf:"bytes,4,opt,name=Avatar,proto3" json:"Avatar,omitempty"` // 头像 Background string `protobuf:"bytes,5,opt,name=Background,proto3" json:"Background,omitempty"` // 个人中心背景图 Mobile string `protobuf:"bytes,6,opt,name=Mobile,proto3" json:"Mobile,omitempty"` // 手机号 Password string `protobuf:"bytes,7,opt,name=Password,proto3" json:"Password,omitempty"` // 密码 Mail string `protobuf:"bytes,8,opt,name=Mail,proto3" json:"Mail,omitempty"` // 邮箱地址 Identity string `protobuf:"bytes,9,opt,name=Identity,proto3" json:"Identity,omitempty"` // 身份证号 Gender int64 `protobuf:"varint,10,opt,name=Gender,proto3" json:"Gender,omitempty"` // 性别: 0=未指定、1=男、2=女、3=第三性别、4=保密: 默认=4 Nation string `protobuf:"bytes,11,opt,name=Nation,proto3" json:"Nation,omitempty"` // 民族 Birthday int64 `protobuf:"varint,12,opt,name=Birthday,proto3" json:"Birthday,omitempty"` // 出生日期 Address string `protobuf:"bytes,13,opt,name=Address,proto3" json:"Address,omitempty"` // 收货地址 Audience string `protobuf:"bytes,14,opt,name=Audience,proto3" json:"Audience,omitempty"` // 观影人信息,格式:[{"name":"xxx","identity_type": 1,"identity_number"}],identity 可选值:1=身份证、2=港澳台居民居住证、3=港澳居民来往内地通行证、4=台湾居民来往大陆通行证、5=护照、6=外国人永久居留身份证 Status int64 `protobuf:"varint,15,opt,name=Status,proto3" json:"Status,omitempty"` // 是否禁用: 0=未指定、1=开启、2=禁用: 默认=1 LoginAt int64 `protobuf:"varint,16,opt,name=LoginAt,proto3" json:"LoginAt,omitempty"` // 登录时间 // contains filtered or unexported fields }
UserUpdate 用户表 更新
func (*UserUpdateReq) Descriptor
deprecated
func (*UserUpdateReq) Descriptor() ([]byte, []int)
Deprecated: Use UserUpdateReq.ProtoReflect.Descriptor instead.
func (*UserUpdateReq) GetAddress ¶
func (x *UserUpdateReq) GetAddress() string
func (*UserUpdateReq) GetAudience ¶
func (x *UserUpdateReq) GetAudience() string
func (*UserUpdateReq) GetAvatar ¶
func (x *UserUpdateReq) GetAvatar() string
func (*UserUpdateReq) GetBackground ¶
func (x *UserUpdateReq) GetBackground() string
func (*UserUpdateReq) GetBirthday ¶
func (x *UserUpdateReq) GetBirthday() int64
func (*UserUpdateReq) GetGender ¶
func (x *UserUpdateReq) GetGender() int64
func (*UserUpdateReq) GetId ¶
func (x *UserUpdateReq) GetId() int64
func (*UserUpdateReq) GetIdentity ¶
func (x *UserUpdateReq) GetIdentity() string
func (*UserUpdateReq) GetLoginAt ¶
func (x *UserUpdateReq) GetLoginAt() int64
func (*UserUpdateReq) GetMail ¶
func (x *UserUpdateReq) GetMail() string
func (*UserUpdateReq) GetMobile ¶
func (x *UserUpdateReq) GetMobile() string
func (*UserUpdateReq) GetName ¶
func (x *UserUpdateReq) GetName() string
func (*UserUpdateReq) GetNation ¶
func (x *UserUpdateReq) GetNation() string
func (*UserUpdateReq) GetNickname ¶
func (x *UserUpdateReq) GetNickname() string
func (*UserUpdateReq) GetPassword ¶
func (x *UserUpdateReq) GetPassword() string
func (*UserUpdateReq) GetStatus ¶
func (x *UserUpdateReq) GetStatus() int64
func (*UserUpdateReq) ProtoMessage ¶
func (*UserUpdateReq) ProtoMessage()
func (*UserUpdateReq) ProtoReflect ¶
func (x *UserUpdateReq) ProtoReflect() protoreflect.Message
func (*UserUpdateReq) Reset ¶
func (x *UserUpdateReq) Reset()
func (*UserUpdateReq) String ¶
func (x *UserUpdateReq) String() string