Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterAdminServer(s grpc.ServiceRegistrar, srv AdminServer)
- func RegisterBusinessServer(s grpc.ServiceRegistrar, srv BusinessServer)
- func RegisterChannelServer(s grpc.ServiceRegistrar, srv ChannelServer)
- func RegisterSiteServer(s grpc.ServiceRegistrar, srv SiteServer)
- type AddItemBusinessRequest
- type AdminClient
- type AdminServer
- type AdminUser
- func (*AdminUser) Descriptor() ([]byte, []int)deprecated
- func (x *AdminUser) GetAccount() string
- func (x *AdminUser) GetEmail() string
- func (x *AdminUser) GetGoogleCode() string
- func (x *AdminUser) GetHeadPictureUrl() string
- func (x *AdminUser) GetId() int64
- func (x *AdminUser) GetIsBindingGoogle() int32
- func (x *AdminUser) GetIsOpenGoogle() int32
- func (x *AdminUser) GetLoginAt() int64
- func (x *AdminUser) GetLoginIp() string
- func (x *AdminUser) GetLoginNumber() int32
- func (x *AdminUser) GetLoginStatus() int32
- func (x *AdminUser) GetNickname() string
- func (x *AdminUser) GetPassword() string
- func (x *AdminUser) GetPhone() string
- func (x *AdminUser) GetPhoneCode() string
- func (x *AdminUser) GetRegisterAt() int64
- func (x *AdminUser) GetRole() int32
- func (x *AdminUser) GetUserStatus() int32
- func (*AdminUser) ProtoMessage()
- func (x *AdminUser) ProtoReflect() protoreflect.Message
- func (x *AdminUser) Reset()
- func (x *AdminUser) String() string
- type AdminUserBatchDelRequest
- func (*AdminUserBatchDelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdminUserBatchDelRequest) GetIds() []int64
- func (*AdminUserBatchDelRequest) ProtoMessage()
- func (x *AdminUserBatchDelRequest) ProtoReflect() protoreflect.Message
- func (x *AdminUserBatchDelRequest) Reset()
- func (x *AdminUserBatchDelRequest) String() string
- type AdminUserBatchDelResponse
- func (*AdminUserBatchDelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AdminUserBatchDelResponse) GetCommon() *CommonResps
- func (*AdminUserBatchDelResponse) ProtoMessage()
- func (x *AdminUserBatchDelResponse) ProtoReflect() protoreflect.Message
- func (x *AdminUserBatchDelResponse) Reset()
- func (x *AdminUserBatchDelResponse) String() string
- type AdminUserInfoRequest
- func (*AdminUserInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdminUserInfoRequest) GetId() int64
- func (*AdminUserInfoRequest) ProtoMessage()
- func (x *AdminUserInfoRequest) ProtoReflect() protoreflect.Message
- func (x *AdminUserInfoRequest) Reset()
- func (x *AdminUserInfoRequest) String() string
- type AdminUserInfoResponse
- func (*AdminUserInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AdminUserInfoResponse) GetAdminUser() *AdminUser
- func (x *AdminUserInfoResponse) GetCommon() *CommonResps
- func (*AdminUserInfoResponse) ProtoMessage()
- func (x *AdminUserInfoResponse) ProtoReflect() protoreflect.Message
- func (x *AdminUserInfoResponse) Reset()
- func (x *AdminUserInfoResponse) String() string
- type AdminUserListByIdsRequest
- func (*AdminUserListByIdsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdminUserListByIdsRequest) GetAccountKeyword() string
- func (x *AdminUserListByIdsRequest) GetIdList() []int64
- func (x *AdminUserListByIdsRequest) GetLoginStatus() int32
- func (x *AdminUserListByIdsRequest) GetPage() int32
- func (x *AdminUserListByIdsRequest) GetPageSize() int32
- func (x *AdminUserListByIdsRequest) GetSortKeyword() int32
- func (x *AdminUserListByIdsRequest) GetUserStatus() int32
- func (*AdminUserListByIdsRequest) ProtoMessage()
- func (x *AdminUserListByIdsRequest) ProtoReflect() protoreflect.Message
- func (x *AdminUserListByIdsRequest) Reset()
- func (x *AdminUserListByIdsRequest) String() string
- type AdminUserListByIdsResponse
- func (*AdminUserListByIdsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AdminUserListByIdsResponse) GetAdminUserList() []*AdminUser
- func (x *AdminUserListByIdsResponse) GetCommon() *CommonResps
- func (x *AdminUserListByIdsResponse) GetPagination() *Paginations
- func (*AdminUserListByIdsResponse) ProtoMessage()
- func (x *AdminUserListByIdsResponse) ProtoReflect() protoreflect.Message
- func (x *AdminUserListByIdsResponse) Reset()
- func (x *AdminUserListByIdsResponse) String() string
- type AdminUserListNotInIdsRequest
- func (*AdminUserListNotInIdsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdminUserListNotInIdsRequest) GetAccountKeyword() string
- func (x *AdminUserListNotInIdsRequest) GetIdList() []int64
- func (x *AdminUserListNotInIdsRequest) GetPage() int32
- func (x *AdminUserListNotInIdsRequest) GetPageSize() int32
- func (x *AdminUserListNotInIdsRequest) GetPhone() string
- func (*AdminUserListNotInIdsRequest) ProtoMessage()
- func (x *AdminUserListNotInIdsRequest) ProtoReflect() protoreflect.Message
- func (x *AdminUserListNotInIdsRequest) Reset()
- func (x *AdminUserListNotInIdsRequest) String() string
- type AdminUserListNotInIdsResponse
- func (*AdminUserListNotInIdsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AdminUserListNotInIdsResponse) GetAdminUserList() []*AdminUser
- func (x *AdminUserListNotInIdsResponse) GetCommon() *CommonResps
- func (x *AdminUserListNotInIdsResponse) GetPagination() *Paginations
- func (*AdminUserListNotInIdsResponse) ProtoMessage()
- func (x *AdminUserListNotInIdsResponse) ProtoReflect() protoreflect.Message
- func (x *AdminUserListNotInIdsResponse) Reset()
- func (x *AdminUserListNotInIdsResponse) String() string
- type AdminUserName
- func (*AdminUserName) Descriptor() ([]byte, []int)deprecated
- func (x *AdminUserName) GetId() int64
- func (x *AdminUserName) GetNickname() string
- func (*AdminUserName) ProtoMessage()
- func (x *AdminUserName) ProtoReflect() protoreflect.Message
- func (x *AdminUserName) Reset()
- func (x *AdminUserName) String() string
- type AdminUserNameListRequest
- func (*AdminUserNameListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdminUserNameListRequest) GetIdList() []int64
- func (*AdminUserNameListRequest) ProtoMessage()
- func (x *AdminUserNameListRequest) ProtoReflect() protoreflect.Message
- func (x *AdminUserNameListRequest) Reset()
- func (x *AdminUserNameListRequest) String() string
- type AdminUserNameListResponse
- func (*AdminUserNameListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AdminUserNameListResponse) GetAdminUserNameList() []*AdminUserName
- func (x *AdminUserNameListResponse) GetCommon() *CommonResps
- func (*AdminUserNameListResponse) ProtoMessage()
- func (x *AdminUserNameListResponse) ProtoReflect() protoreflect.Message
- func (x *AdminUserNameListResponse) Reset()
- func (x *AdminUserNameListResponse) String() string
- type AdminUserSearchRequest
- func (*AdminUserSearchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdminUserSearchRequest) GetAccountKeyWord() string
- func (x *AdminUserSearchRequest) GetLoginStatus() int32
- func (x *AdminUserSearchRequest) GetRole() int32
- func (x *AdminUserSearchRequest) GetSortKeyWord() string
- func (x *AdminUserSearchRequest) GetUserStatus() int32
- func (*AdminUserSearchRequest) ProtoMessage()
- func (x *AdminUserSearchRequest) ProtoReflect() protoreflect.Message
- func (x *AdminUserSearchRequest) Reset()
- func (x *AdminUserSearchRequest) String() string
- type AdminUserSearchResponse
- func (*AdminUserSearchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AdminUserSearchResponse) GetAdminUserList() []*AdminUser
- func (x *AdminUserSearchResponse) GetCommon() *CommonResps
- func (*AdminUserSearchResponse) ProtoMessage()
- func (x *AdminUserSearchResponse) ProtoReflect() protoreflect.Message
- func (x *AdminUserSearchResponse) Reset()
- func (x *AdminUserSearchResponse) String() string
- type AdminUserUpdateStatusRequest
- func (*AdminUserUpdateStatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AdminUserUpdateStatusRequest) GetId() int64
- func (x *AdminUserUpdateStatusRequest) GetUserStatus() int32
- func (*AdminUserUpdateStatusRequest) ProtoMessage()
- func (x *AdminUserUpdateStatusRequest) ProtoReflect() protoreflect.Message
- func (x *AdminUserUpdateStatusRequest) Reset()
- func (x *AdminUserUpdateStatusRequest) String() string
- type AdminUserUpdateStatusResponse
- func (*AdminUserUpdateStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AdminUserUpdateStatusResponse) GetCommon() *CommonResps
- func (*AdminUserUpdateStatusResponse) ProtoMessage()
- func (x *AdminUserUpdateStatusResponse) ProtoReflect() protoreflect.Message
- func (x *AdminUserUpdateStatusResponse) Reset()
- func (x *AdminUserUpdateStatusResponse) String() string
- type BusinessClient
- type BusinessItem
- func (*BusinessItem) Descriptor() ([]byte, []int)deprecated
- func (x *BusinessItem) GetAccount() string
- func (x *BusinessItem) GetCode() string
- func (x *BusinessItem) GetCreatedAt() int64
- func (x *BusinessItem) GetGoogleCode() string
- func (x *BusinessItem) GetId() int64
- func (x *BusinessItem) GetMark() string
- func (x *BusinessItem) GetName() string
- func (x *BusinessItem) GetSettlementName() string
- func (x *BusinessItem) GetStatus() int32
- func (x *BusinessItem) GetUpdatedAt() int64
- func (*BusinessItem) ProtoMessage()
- func (x *BusinessItem) ProtoReflect() protoreflect.Message
- func (x *BusinessItem) Reset()
- func (x *BusinessItem) String() string
- type BusinessServer
- type ChannelClient
- type ChannelItem
- func (*ChannelItem) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelItem) GetBusinessId() int64
- func (x *ChannelItem) GetBusinessName() string
- func (x *ChannelItem) GetCode() string
- func (x *ChannelItem) GetCreatedAt() int64
- func (x *ChannelItem) GetDomain() string
- func (x *ChannelItem) GetId() int64
- func (x *ChannelItem) GetMark() string
- func (x *ChannelItem) GetName() string
- func (x *ChannelItem) GetSiteId() int64
- func (x *ChannelItem) GetSiteName() string
- func (x *ChannelItem) GetStatus() int32
- func (x *ChannelItem) GetUpdatedAt() int64
- func (*ChannelItem) ProtoMessage()
- func (x *ChannelItem) ProtoReflect() protoreflect.Message
- func (x *ChannelItem) Reset()
- func (x *ChannelItem) String() string
- type ChannelServer
- type CommonResps
- type DeleteByIdRequest
- type DeleteByIdResponse
- func (*DeleteByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteByIdResponse) GetResp() *PlatformCommonResp
- func (*DeleteByIdResponse) ProtoMessage()
- func (x *DeleteByIdResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteByIdResponse) Reset()
- func (x *DeleteByIdResponse) String() string
- type DeleteChannelByIdRequest
- func (*DeleteChannelByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteChannelByIdRequest) GetId() int64
- func (*DeleteChannelByIdRequest) ProtoMessage()
- func (x *DeleteChannelByIdRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteChannelByIdRequest) Reset()
- func (x *DeleteChannelByIdRequest) String() string
- type DeleteChannelByIdResponse
- func (*DeleteChannelByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteChannelByIdResponse) GetResp() *PlatformCommonResp
- func (*DeleteChannelByIdResponse) ProtoMessage()
- func (x *DeleteChannelByIdResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteChannelByIdResponse) Reset()
- func (x *DeleteChannelByIdResponse) String() string
- type DeleteSiteByIdRequest
- func (*DeleteSiteByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSiteByIdRequest) GetId() int64
- func (*DeleteSiteByIdRequest) ProtoMessage()
- func (x *DeleteSiteByIdRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSiteByIdRequest) Reset()
- func (x *DeleteSiteByIdRequest) String() string
- type DeleteSiteByIdResponse
- func (*DeleteSiteByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSiteByIdResponse) GetResp() *PlatformCommonResp
- func (*DeleteSiteByIdResponse) ProtoMessage()
- func (x *DeleteSiteByIdResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteSiteByIdResponse) Reset()
- func (x *DeleteSiteByIdResponse) String() string
- type GetBusinessCodeByChannelRequest
- func (*GetBusinessCodeByChannelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBusinessCodeByChannelRequest) GetDomain() string
- func (*GetBusinessCodeByChannelRequest) ProtoMessage()
- func (x *GetBusinessCodeByChannelRequest) ProtoReflect() protoreflect.Message
- func (x *GetBusinessCodeByChannelRequest) Reset()
- func (x *GetBusinessCodeByChannelRequest) String() string
- type GetBusinessCodeByChannelResponse
- func (*GetBusinessCodeByChannelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBusinessCodeByChannelResponse) GetBusinessCode() string
- func (*GetBusinessCodeByChannelResponse) ProtoMessage()
- func (x *GetBusinessCodeByChannelResponse) ProtoReflect() protoreflect.Message
- func (x *GetBusinessCodeByChannelResponse) Reset()
- func (x *GetBusinessCodeByChannelResponse) String() string
- type GetBusinessListRequest
- func (*GetBusinessListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBusinessListRequest) GetEndTime() int64
- func (x *GetBusinessListRequest) GetIsAll() int32
- func (x *GetBusinessListRequest) GetName() string
- func (x *GetBusinessListRequest) GetPageRequest() *PlatformPage
- func (x *GetBusinessListRequest) GetStartTime() int64
- func (x *GetBusinessListRequest) GetStatus() int32
- func (*GetBusinessListRequest) ProtoMessage()
- func (x *GetBusinessListRequest) ProtoReflect() protoreflect.Message
- func (x *GetBusinessListRequest) Reset()
- func (x *GetBusinessListRequest) String() string
- type GetChannelListRequest
- func (*GetChannelListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetChannelListRequest) GetBusinessId() int64
- func (x *GetChannelListRequest) GetEndTime() int64
- func (x *GetChannelListRequest) GetName() string
- func (x *GetChannelListRequest) GetPage() *PlatformPage
- func (x *GetChannelListRequest) GetSiteId() int64
- func (x *GetChannelListRequest) GetStartTime() int64
- func (x *GetChannelListRequest) GetStatus() int32
- func (*GetChannelListRequest) ProtoMessage()
- func (x *GetChannelListRequest) ProtoReflect() protoreflect.Message
- func (x *GetChannelListRequest) Reset()
- func (x *GetChannelListRequest) String() string
- type GetChannelListResponse
- func (*GetChannelListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetChannelListResponse) GetList() []*ChannelItem
- func (x *GetChannelListResponse) GetPagination() *PlatformPagination
- func (*GetChannelListResponse) ProtoMessage()
- func (x *GetChannelListResponse) ProtoReflect() protoreflect.Message
- func (x *GetChannelListResponse) Reset()
- func (x *GetChannelListResponse) String() string
- type GetListBusinessResponse
- func (*GetListBusinessResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetListBusinessResponse) GetList() []*BusinessItem
- func (x *GetListBusinessResponse) GetPagination() *PlatformPagination
- func (*GetListBusinessResponse) ProtoMessage()
- func (x *GetListBusinessResponse) ProtoReflect() protoreflect.Message
- func (x *GetListBusinessResponse) Reset()
- func (x *GetListBusinessResponse) String() string
- type GetSiteListRequest
- func (*GetSiteListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSiteListRequest) GetBusinessId() int64
- func (x *GetSiteListRequest) GetEndTime() int64
- func (x *GetSiteListRequest) GetIsAll() int32
- func (x *GetSiteListRequest) GetName() string
- func (x *GetSiteListRequest) GetPage() *PlatformPage
- func (x *GetSiteListRequest) GetStartTime() int64
- func (x *GetSiteListRequest) GetStatus() int32
- func (*GetSiteListRequest) ProtoMessage()
- func (x *GetSiteListRequest) ProtoReflect() protoreflect.Message
- func (x *GetSiteListRequest) Reset()
- func (x *GetSiteListRequest) String() string
- type GetSiteListResponse
- func (*GetSiteListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSiteListResponse) GetList() []*SiteItem
- func (x *GetSiteListResponse) GetPagination() *PlatformPagination
- func (*GetSiteListResponse) ProtoMessage()
- func (x *GetSiteListResponse) ProtoReflect() protoreflect.Message
- func (x *GetSiteListResponse) Reset()
- func (x *GetSiteListResponse) String() string
- type Paginations
- func (*Paginations) Descriptor() ([]byte, []int)deprecated
- func (x *Paginations) GetPage() int32
- func (x *Paginations) GetPageSize() int32
- func (x *Paginations) GetTotal() int64
- func (x *Paginations) GetTotalPage() int64
- func (*Paginations) ProtoMessage()
- func (x *Paginations) ProtoReflect() protoreflect.Message
- func (x *Paginations) Reset()
- func (x *Paginations) String() string
- type PlatformCommonResp
- func (*PlatformCommonResp) Descriptor() ([]byte, []int)deprecated
- func (x *PlatformCommonResp) GetCode() int32
- func (x *PlatformCommonResp) GetMessage() string
- func (*PlatformCommonResp) ProtoMessage()
- func (x *PlatformCommonResp) ProtoReflect() protoreflect.Message
- func (x *PlatformCommonResp) Reset()
- func (x *PlatformCommonResp) String() string
- type PlatformPage
- func (*PlatformPage) Descriptor() ([]byte, []int)deprecated
- func (x *PlatformPage) GetPage() int64
- func (x *PlatformPage) GetPageSize() int64
- func (*PlatformPage) ProtoMessage()
- func (x *PlatformPage) ProtoReflect() protoreflect.Message
- func (x *PlatformPage) Reset()
- func (x *PlatformPage) String() string
- type PlatformPagination
- func (*PlatformPagination) Descriptor() ([]byte, []int)deprecated
- func (x *PlatformPagination) GetPage() uint32
- func (x *PlatformPagination) GetPageSize() uint32
- func (x *PlatformPagination) GetTotal() int64
- func (*PlatformPagination) ProtoMessage()
- func (x *PlatformPagination) ProtoReflect() protoreflect.Message
- func (x *PlatformPagination) Reset()
- func (x *PlatformPagination) String() string
- type SiteClient
- type SiteItem
- func (*SiteItem) Descriptor() ([]byte, []int)deprecated
- func (x *SiteItem) GetBusinessId() int64
- func (x *SiteItem) GetBusinessName() string
- func (x *SiteItem) GetCreatedAt() int64
- func (x *SiteItem) GetDomain() string
- func (x *SiteItem) GetId() int64
- func (x *SiteItem) GetName() string
- func (x *SiteItem) GetStatus() int32
- func (x *SiteItem) GetUpdatedAt() int64
- func (*SiteItem) ProtoMessage()
- func (x *SiteItem) ProtoReflect() protoreflect.Message
- func (x *SiteItem) Reset()
- func (x *SiteItem) String() string
- type SiteServer
- type UnimplementedAdminServer
- func (UnimplementedAdminServer) AdminUserBatchDel(context.Context, *AdminUserBatchDelRequest) (*AdminUserBatchDelResponse, error)
- func (UnimplementedAdminServer) AdminUserInfo(context.Context, *AdminUserInfoRequest) (*AdminUserInfoResponse, error)
- func (UnimplementedAdminServer) AdminUserListByIds(context.Context, *AdminUserListByIdsRequest) (*AdminUserListByIdsResponse, error)
- func (UnimplementedAdminServer) AdminUserListNotInIds(context.Context, *AdminUserListNotInIdsRequest) (*AdminUserListNotInIdsResponse, error)
- func (UnimplementedAdminServer) AdminUserNameList(context.Context, *AdminUserNameListRequest) (*AdminUserNameListResponse, error)
- func (UnimplementedAdminServer) AdminUserSearch(context.Context, *AdminUserSearchRequest) (*AdminUserSearchResponse, error)
- func (UnimplementedAdminServer) AdminUserUpdateStatus(context.Context, *AdminUserUpdateStatusRequest) (*AdminUserUpdateStatusResponse, error)
- type UnimplementedBusinessServer
- func (UnimplementedBusinessServer) AddOrUpdateById(context.Context, *UpdateBusinessByIdRequest) (*UpdateBusinessByIdResponse, error)
- func (UnimplementedBusinessServer) DeleteById(context.Context, *DeleteByIdRequest) (*DeleteByIdResponse, error)
- func (UnimplementedBusinessServer) GetList(context.Context, *GetBusinessListRequest) (*GetListBusinessResponse, error)
- type UnimplementedChannelServer
- func (UnimplementedChannelServer) AddOrUpdateById(context.Context, *UpdateChannelByIdRequest) (*UpdateChannelByIdResponse, error)
- func (UnimplementedChannelServer) DeleteChannelById(context.Context, *DeleteChannelByIdRequest) (*DeleteChannelByIdResponse, error)
- func (UnimplementedChannelServer) GetBusinessCodeByDomain(context.Context, *GetBusinessCodeByChannelRequest) (*GetBusinessCodeByChannelResponse, error)
- func (UnimplementedChannelServer) GetList(context.Context, *GetChannelListRequest) (*GetChannelListResponse, error)
- type UnimplementedSiteServer
- func (UnimplementedSiteServer) AddOrUpdateById(context.Context, *UpdateSiteByIdRequest) (*UpdateSiteByIdResponse, error)
- func (UnimplementedSiteServer) DeleteSiteById(context.Context, *DeleteSiteByIdRequest) (*DeleteSiteByIdResponse, error)
- func (UnimplementedSiteServer) GetList(context.Context, *GetSiteListRequest) (*GetSiteListResponse, error)
- type UnsafeAdminServer
- type UnsafeBusinessServer
- type UnsafeChannelServer
- type UnsafeSiteServer
- type UpdateBusinessByIdRequest
- func (*UpdateBusinessByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBusinessByIdRequest) GetAccount() string
- func (x *UpdateBusinessByIdRequest) GetGoogleCode() string
- func (x *UpdateBusinessByIdRequest) GetId() int64
- func (x *UpdateBusinessByIdRequest) GetMark() string
- func (x *UpdateBusinessByIdRequest) GetName() string
- func (x *UpdateBusinessByIdRequest) GetPassword() string
- func (x *UpdateBusinessByIdRequest) GetSettlementName() string
- func (x *UpdateBusinessByIdRequest) GetStatus() int32
- func (*UpdateBusinessByIdRequest) ProtoMessage()
- func (x *UpdateBusinessByIdRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateBusinessByIdRequest) Reset()
- func (x *UpdateBusinessByIdRequest) String() string
- type UpdateBusinessByIdResponse
- func (*UpdateBusinessByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBusinessByIdResponse) GetResp() *PlatformCommonResp
- func (*UpdateBusinessByIdResponse) ProtoMessage()
- func (x *UpdateBusinessByIdResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateBusinessByIdResponse) Reset()
- func (x *UpdateBusinessByIdResponse) String() string
- type UpdateChannelByIdRequest
- func (*UpdateChannelByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateChannelByIdRequest) GetDomain() string
- func (x *UpdateChannelByIdRequest) GetId() int64
- func (x *UpdateChannelByIdRequest) GetMark() string
- func (x *UpdateChannelByIdRequest) GetName() string
- func (x *UpdateChannelByIdRequest) GetSiteId() int64
- func (x *UpdateChannelByIdRequest) GetStatus() int32
- func (*UpdateChannelByIdRequest) ProtoMessage()
- func (x *UpdateChannelByIdRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateChannelByIdRequest) Reset()
- func (x *UpdateChannelByIdRequest) String() string
- type UpdateChannelByIdResponse
- func (*UpdateChannelByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateChannelByIdResponse) GetResp() *PlatformCommonResp
- func (*UpdateChannelByIdResponse) ProtoMessage()
- func (x *UpdateChannelByIdResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateChannelByIdResponse) Reset()
- func (x *UpdateChannelByIdResponse) String() string
- type UpdateSiteByIdRequest
- func (*UpdateSiteByIdRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSiteByIdRequest) GetBusinessId() int64
- func (x *UpdateSiteByIdRequest) GetDomain() string
- func (x *UpdateSiteByIdRequest) GetId() int64
- func (x *UpdateSiteByIdRequest) GetName() string
- func (x *UpdateSiteByIdRequest) GetStatus() int64
- func (*UpdateSiteByIdRequest) ProtoMessage()
- func (x *UpdateSiteByIdRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSiteByIdRequest) Reset()
- func (x *UpdateSiteByIdRequest) String() string
- type UpdateSiteByIdResponse
- func (*UpdateSiteByIdResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSiteByIdResponse) GetResp() *PlatformCommonResp
- func (*UpdateSiteByIdResponse) ProtoMessage()
- func (x *UpdateSiteByIdResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateSiteByIdResponse) Reset()
- func (x *UpdateSiteByIdResponse) String() string
Constants ¶
const ( Admin_AdminUserInfo_FullMethodName = "/dsl.Admin/AdminUserInfo" Admin_AdminUserSearch_FullMethodName = "/dsl.Admin/AdminUserSearch" Admin_AdminUserUpdateStatus_FullMethodName = "/dsl.Admin/AdminUserUpdateStatus" Admin_AdminUserBatchDel_FullMethodName = "/dsl.Admin/AdminUserBatchDel" Admin_AdminUserNameList_FullMethodName = "/dsl.Admin/AdminUserNameList" Admin_AdminUserListByIds_FullMethodName = "/dsl.Admin/AdminUserListByIds" Admin_AdminUserListNotInIds_FullMethodName = "/dsl.Admin/AdminUserListNotInIds" )
const ( Business_GetList_FullMethodName = "/dsl.Business/GetList" Business_AddOrUpdateById_FullMethodName = "/dsl.Business/AddOrUpdateById" Business_DeleteById_FullMethodName = "/dsl.Business/DeleteById" )
const ( Channel_GetList_FullMethodName = "/dsl.Channel/GetList" Channel_AddOrUpdateById_FullMethodName = "/dsl.Channel/AddOrUpdateById" Channel_DeleteChannelById_FullMethodName = "/dsl.Channel/DeleteChannelById" Channel_GetBusinessCodeByDomain_FullMethodName = "/dsl.Channel/GetBusinessCodeByDomain" )
const ( Site_GetList_FullMethodName = "/dsl.Site/GetList" Site_AddOrUpdateById_FullMethodName = "/dsl.Site/AddOrUpdateById" Site_DeleteSiteById_FullMethodName = "/dsl.Site/DeleteSiteById" )
Variables ¶
var Admin_ServiceDesc = grpc.ServiceDesc{ ServiceName: "dsl.Admin", HandlerType: (*AdminServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AdminUserInfo", Handler: _Admin_AdminUserInfo_Handler, }, { MethodName: "AdminUserSearch", Handler: _Admin_AdminUserSearch_Handler, }, { MethodName: "AdminUserUpdateStatus", Handler: _Admin_AdminUserUpdateStatus_Handler, }, { MethodName: "AdminUserBatchDel", Handler: _Admin_AdminUserBatchDel_Handler, }, { MethodName: "AdminUserNameList", Handler: _Admin_AdminUserNameList_Handler, }, { MethodName: "AdminUserListByIds", Handler: _Admin_AdminUserListByIds_Handler, }, { MethodName: "AdminUserListNotInIds", Handler: _Admin_AdminUserListNotInIds_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "admin.proto", }
Admin_ServiceDesc is the grpc.ServiceDesc for Admin service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Business_ServiceDesc = grpc.ServiceDesc{ ServiceName: "dsl.Business", HandlerType: (*BusinessServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetList", Handler: _Business_GetList_Handler, }, { MethodName: "AddOrUpdateById", Handler: _Business_AddOrUpdateById_Handler, }, { MethodName: "DeleteById", Handler: _Business_DeleteById_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "business.proto", }
Business_ServiceDesc is the grpc.ServiceDesc for Business service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Channel_ServiceDesc = grpc.ServiceDesc{ ServiceName: "dsl.Channel", HandlerType: (*ChannelServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetList", Handler: _Channel_GetList_Handler, }, { MethodName: "AddOrUpdateById", Handler: _Channel_AddOrUpdateById_Handler, }, { MethodName: "DeleteChannelById", Handler: _Channel_DeleteChannelById_Handler, }, { MethodName: "GetBusinessCodeByDomain", Handler: _Channel_GetBusinessCodeByDomain_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "channel.proto", }
Channel_ServiceDesc is the grpc.ServiceDesc for Channel service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_admin_proto protoreflect.FileDescriptor
var File_business_proto protoreflect.FileDescriptor
var File_channel_proto protoreflect.FileDescriptor
var File_platformBase_proto protoreflect.FileDescriptor
var File_site_proto protoreflect.FileDescriptor
var Site_ServiceDesc = grpc.ServiceDesc{ ServiceName: "dsl.Site", HandlerType: (*SiteServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetList", Handler: _Site_GetList_Handler, }, { MethodName: "AddOrUpdateById", Handler: _Site_AddOrUpdateById_Handler, }, { MethodName: "DeleteSiteById", Handler: _Site_DeleteSiteById_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "site.proto", }
Site_ServiceDesc is the grpc.ServiceDesc for Site service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAdminServer ¶
func RegisterAdminServer(s grpc.ServiceRegistrar, srv AdminServer)
func RegisterBusinessServer ¶
func RegisterBusinessServer(s grpc.ServiceRegistrar, srv BusinessServer)
func RegisterChannelServer ¶
func RegisterChannelServer(s grpc.ServiceRegistrar, srv ChannelServer)
func RegisterSiteServer ¶
func RegisterSiteServer(s grpc.ServiceRegistrar, srv SiteServer)
Types ¶
type AddItemBusinessRequest ¶
type AddItemBusinessRequest struct {
// contains filtered or unexported fields
}
func (*AddItemBusinessRequest) Descriptor
deprecated
func (*AddItemBusinessRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddItemBusinessRequest.ProtoReflect.Descriptor instead.
func (*AddItemBusinessRequest) ProtoMessage ¶
func (*AddItemBusinessRequest) ProtoMessage()
func (*AddItemBusinessRequest) ProtoReflect ¶
func (x *AddItemBusinessRequest) ProtoReflect() protoreflect.Message
func (*AddItemBusinessRequest) Reset ¶
func (x *AddItemBusinessRequest) Reset()
func (*AddItemBusinessRequest) String ¶
func (x *AddItemBusinessRequest) String() string
type AdminClient ¶
type AdminClient interface {
// 管理端-登录者信息
AdminUserInfo(ctx context.Context, in *AdminUserInfoRequest, opts ...grpc.CallOption) (*AdminUserInfoResponse, error)
// 管理端-查询
AdminUserSearch(ctx context.Context, in *AdminUserSearchRequest, opts ...grpc.CallOption) (*AdminUserSearchResponse, error)
// 管理员-修改状态
AdminUserUpdateStatus(ctx context.Context, in *AdminUserUpdateStatusRequest, opts ...grpc.CallOption) (*AdminUserUpdateStatusResponse, error)
// 管理员-批量删除
AdminUserBatchDel(ctx context.Context, in *AdminUserBatchDelRequest, opts ...grpc.CallOption) (*AdminUserBatchDelResponse, error)
// 管理端-列出名字
AdminUserNameList(ctx context.Context, in *AdminUserNameListRequest, opts ...grpc.CallOption) (*AdminUserNameListResponse, error)
// 管理端-根据ID数组列出
AdminUserListByIds(ctx context.Context, in *AdminUserListByIdsRequest, opts ...grpc.CallOption) (*AdminUserListByIdsResponse, error)
// 管理端-根据ID数组列出数组以外的用户
AdminUserListNotInIds(ctx context.Context, in *AdminUserListNotInIdsRequest, opts ...grpc.CallOption) (*AdminUserListNotInIdsResponse, error)
}
AdminClient is the client API for Admin 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 NewAdminClient ¶
func NewAdminClient(cc grpc.ClientConnInterface) AdminClient
type AdminServer ¶
type AdminServer interface {
// 管理端-登录者信息
AdminUserInfo(context.Context, *AdminUserInfoRequest) (*AdminUserInfoResponse, error)
// 管理端-查询
AdminUserSearch(context.Context, *AdminUserSearchRequest) (*AdminUserSearchResponse, error)
// 管理员-修改状态
AdminUserUpdateStatus(context.Context, *AdminUserUpdateStatusRequest) (*AdminUserUpdateStatusResponse, error)
// 管理员-批量删除
AdminUserBatchDel(context.Context, *AdminUserBatchDelRequest) (*AdminUserBatchDelResponse, error)
// 管理端-列出名字
AdminUserNameList(context.Context, *AdminUserNameListRequest) (*AdminUserNameListResponse, error)
// 管理端-根据ID数组列出
AdminUserListByIds(context.Context, *AdminUserListByIdsRequest) (*AdminUserListByIdsResponse, error)
// 管理端-根据ID数组列出数组以外的用户
AdminUserListNotInIds(context.Context, *AdminUserListNotInIdsRequest) (*AdminUserListNotInIdsResponse, error)
// contains filtered or unexported methods
}
AdminServer is the server API for Admin service. All implementations must embed UnimplementedAdminServer for forward compatibility
type AdminUser ¶
type AdminUser struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 主键 - 自增
Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` // 用户账号
Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"` // 用户密码
Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"` // 电话号码
PhoneCode string `protobuf:"bytes,5,opt,name=phoneCode,proto3" json:"phoneCode,omitempty"` // 手机区号
Nickname string `protobuf:"bytes,6,opt,name=nickname,proto3" json:"nickname,omitempty"` // 用户昵称
Email string `protobuf:"bytes,7,opt,name=email,proto3" json:"email,omitempty"` // 邮箱
Role int32 `protobuf:"varint,8,opt,name=role,proto3" json:"role,omitempty"` // 用户角色
RegisterAt int64 `protobuf:"varint,9,opt,name=registerAt,proto3" json:"registerAt,omitempty"` // 注册时间
LoginAt int64 `protobuf:"varint,10,opt,name=loginAt,proto3" json:"loginAt,omitempty"` // 登录时间
LoginIp string `protobuf:"bytes,11,opt,name=loginIp,proto3" json:"loginIp,omitempty"` // 登录ip
LoginNumber int32 `protobuf:"varint,12,opt,name=loginNumber,proto3" json:"loginNumber,omitempty"` // 登录次数
UserStatus int32 `protobuf:"varint,13,opt,name=userStatus,proto3" json:"userStatus,omitempty"` // 用户状态 0.正常1.禁用
LoginStatus int32 `protobuf:"varint,14,opt,name=loginStatus,proto3" json:"loginStatus,omitempty"` // 登录状态 0.离线 1.在线
GoogleCode string `protobuf:"bytes,15,opt,name=googleCode,proto3" json:"googleCode,omitempty"` // 谷歌验证码
IsOpenGoogle int32 `protobuf:"varint,16,opt,name=isOpenGoogle,proto3" json:"isOpenGoogle,omitempty"` // 是否打开谷歌验证 0.关闭 1.打开
IsBindingGoogle int32 `protobuf:"varint,17,opt,name=isBindingGoogle,proto3" json:"isBindingGoogle,omitempty"` // 是否绑定谷歌二维码:0.未绑定 1.绑定
HeadPictureUrl string `protobuf:"bytes,18,opt,name=headPictureUrl,proto3" json:"headPictureUrl,omitempty"` // 头像图片地址
// contains filtered or unexported fields
}
AdminUsers 定义了管理员用户信息的结构
func (*AdminUser) Descriptor
deprecated
func (*AdminUser) GetAccount ¶
func (*AdminUser) GetGoogleCode ¶
func (*AdminUser) GetHeadPictureUrl ¶
func (*AdminUser) GetIsBindingGoogle ¶
func (*AdminUser) GetIsOpenGoogle ¶
func (*AdminUser) GetLoginAt ¶
func (*AdminUser) GetLoginIp ¶
func (*AdminUser) GetLoginNumber ¶
func (*AdminUser) GetLoginStatus ¶
func (*AdminUser) GetNickname ¶
func (*AdminUser) GetPassword ¶
func (*AdminUser) GetPhoneCode ¶
func (*AdminUser) GetRegisterAt ¶
func (*AdminUser) GetUserStatus ¶
func (*AdminUser) ProtoMessage ¶
func (*AdminUser) ProtoMessage()
func (*AdminUser) ProtoReflect ¶
func (x *AdminUser) ProtoReflect() protoreflect.Message
type AdminUserBatchDelRequest ¶
type AdminUserBatchDelRequest struct {
Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
// contains filtered or unexported fields
}
func (*AdminUserBatchDelRequest) Descriptor
deprecated
func (*AdminUserBatchDelRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdminUserBatchDelRequest.ProtoReflect.Descriptor instead.
func (*AdminUserBatchDelRequest) GetIds ¶
func (x *AdminUserBatchDelRequest) GetIds() []int64
func (*AdminUserBatchDelRequest) ProtoMessage ¶
func (*AdminUserBatchDelRequest) ProtoMessage()
func (*AdminUserBatchDelRequest) ProtoReflect ¶
func (x *AdminUserBatchDelRequest) ProtoReflect() protoreflect.Message
func (*AdminUserBatchDelRequest) Reset ¶
func (x *AdminUserBatchDelRequest) Reset()
func (*AdminUserBatchDelRequest) String ¶
func (x *AdminUserBatchDelRequest) String() string
type AdminUserBatchDelResponse ¶
type AdminUserBatchDelResponse struct {
Common *CommonResps `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
// contains filtered or unexported fields
}
func (*AdminUserBatchDelResponse) Descriptor
deprecated
func (*AdminUserBatchDelResponse) Descriptor() ([]byte, []int)
Deprecated: Use AdminUserBatchDelResponse.ProtoReflect.Descriptor instead.
func (*AdminUserBatchDelResponse) GetCommon ¶
func (x *AdminUserBatchDelResponse) GetCommon() *CommonResps
func (*AdminUserBatchDelResponse) ProtoMessage ¶
func (*AdminUserBatchDelResponse) ProtoMessage()
func (*AdminUserBatchDelResponse) ProtoReflect ¶
func (x *AdminUserBatchDelResponse) ProtoReflect() protoreflect.Message
func (*AdminUserBatchDelResponse) Reset ¶
func (x *AdminUserBatchDelResponse) Reset()
func (*AdminUserBatchDelResponse) String ¶
func (x *AdminUserBatchDelResponse) String() string
type AdminUserInfoRequest ¶
type AdminUserInfoRequest struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` //
// contains filtered or unexported fields
}
筛选IP地址用户的统计数据
func (*AdminUserInfoRequest) Descriptor
deprecated
func (*AdminUserInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdminUserInfoRequest.ProtoReflect.Descriptor instead.
func (*AdminUserInfoRequest) GetId ¶
func (x *AdminUserInfoRequest) GetId() int64
func (*AdminUserInfoRequest) ProtoMessage ¶
func (*AdminUserInfoRequest) ProtoMessage()
func (*AdminUserInfoRequest) ProtoReflect ¶
func (x *AdminUserInfoRequest) ProtoReflect() protoreflect.Message
func (*AdminUserInfoRequest) Reset ¶
func (x *AdminUserInfoRequest) Reset()
func (*AdminUserInfoRequest) String ¶
func (x *AdminUserInfoRequest) String() string
type AdminUserInfoResponse ¶
type AdminUserInfoResponse struct {
Common *CommonResps `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
AdminUser *AdminUser `protobuf:"bytes,2,opt,name=adminUser,proto3" json:"adminUser,omitempty"`
// contains filtered or unexported fields
}
func (*AdminUserInfoResponse) Descriptor
deprecated
func (*AdminUserInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use AdminUserInfoResponse.ProtoReflect.Descriptor instead.
func (*AdminUserInfoResponse) GetAdminUser ¶
func (x *AdminUserInfoResponse) GetAdminUser() *AdminUser
func (*AdminUserInfoResponse) GetCommon ¶
func (x *AdminUserInfoResponse) GetCommon() *CommonResps
func (*AdminUserInfoResponse) ProtoMessage ¶
func (*AdminUserInfoResponse) ProtoMessage()
func (*AdminUserInfoResponse) ProtoReflect ¶
func (x *AdminUserInfoResponse) ProtoReflect() protoreflect.Message
func (*AdminUserInfoResponse) Reset ¶
func (x *AdminUserInfoResponse) Reset()
func (*AdminUserInfoResponse) String ¶
func (x *AdminUserInfoResponse) String() string
type AdminUserListByIdsRequest ¶
type AdminUserListByIdsRequest struct {
AccountKeyword string `protobuf:"bytes,1,opt,name=accountKeyword,proto3" json:"accountKeyword,omitempty"`
IdList []int64 `protobuf:"varint,2,rep,packed,name=idList,proto3" json:"idList,omitempty"`
UserStatus int32 `protobuf:"varint,3,opt,name=userStatus,proto3" json:"userStatus,omitempty"` // 用户状态 0.正常1.禁用
LoginStatus int32 `protobuf:"varint,4,opt,name=loginStatus,proto3" json:"loginStatus,omitempty"` // 登录状态 0.离线 1.在线
SortKeyword int32 `protobuf:"varint,5,opt,name=sortKeyword,proto3" json:"sortKeyword,omitempty"` // 排序关键字 0 不排序 1 注册时间 2 登录时间 3 登录次数
Page int32 `protobuf:"varint,6,opt,name=page,proto3" json:"page,omitempty"`
PageSize int32 `protobuf:"varint,7,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
// contains filtered or unexported fields
}
func (*AdminUserListByIdsRequest) Descriptor
deprecated
func (*AdminUserListByIdsRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdminUserListByIdsRequest.ProtoReflect.Descriptor instead.
func (*AdminUserListByIdsRequest) GetAccountKeyword ¶
func (x *AdminUserListByIdsRequest) GetAccountKeyword() string
func (*AdminUserListByIdsRequest) GetIdList ¶
func (x *AdminUserListByIdsRequest) GetIdList() []int64
func (*AdminUserListByIdsRequest) GetLoginStatus ¶
func (x *AdminUserListByIdsRequest) GetLoginStatus() int32
func (*AdminUserListByIdsRequest) GetPage ¶
func (x *AdminUserListByIdsRequest) GetPage() int32
func (*AdminUserListByIdsRequest) GetPageSize ¶
func (x *AdminUserListByIdsRequest) GetPageSize() int32
func (*AdminUserListByIdsRequest) GetSortKeyword ¶
func (x *AdminUserListByIdsRequest) GetSortKeyword() int32
func (*AdminUserListByIdsRequest) GetUserStatus ¶
func (x *AdminUserListByIdsRequest) GetUserStatus() int32
func (*AdminUserListByIdsRequest) ProtoMessage ¶
func (*AdminUserListByIdsRequest) ProtoMessage()
func (*AdminUserListByIdsRequest) ProtoReflect ¶
func (x *AdminUserListByIdsRequest) ProtoReflect() protoreflect.Message
func (*AdminUserListByIdsRequest) Reset ¶
func (x *AdminUserListByIdsRequest) Reset()
func (*AdminUserListByIdsRequest) String ¶
func (x *AdminUserListByIdsRequest) String() string
type AdminUserListByIdsResponse ¶
type AdminUserListByIdsResponse struct {
Common *CommonResps `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
Pagination *Paginations `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
AdminUserList []*AdminUser `protobuf:"bytes,3,rep,name=adminUserList,proto3" json:"adminUserList,omitempty"`
// contains filtered or unexported fields
}
func (*AdminUserListByIdsResponse) Descriptor
deprecated
func (*AdminUserListByIdsResponse) Descriptor() ([]byte, []int)
Deprecated: Use AdminUserListByIdsResponse.ProtoReflect.Descriptor instead.
func (*AdminUserListByIdsResponse) GetAdminUserList ¶
func (x *AdminUserListByIdsResponse) GetAdminUserList() []*AdminUser
func (*AdminUserListByIdsResponse) GetCommon ¶
func (x *AdminUserListByIdsResponse) GetCommon() *CommonResps
func (*AdminUserListByIdsResponse) GetPagination ¶
func (x *AdminUserListByIdsResponse) GetPagination() *Paginations
func (*AdminUserListByIdsResponse) ProtoMessage ¶
func (*AdminUserListByIdsResponse) ProtoMessage()
func (*AdminUserListByIdsResponse) ProtoReflect ¶
func (x *AdminUserListByIdsResponse) ProtoReflect() protoreflect.Message
func (*AdminUserListByIdsResponse) Reset ¶
func (x *AdminUserListByIdsResponse) Reset()
func (*AdminUserListByIdsResponse) String ¶
func (x *AdminUserListByIdsResponse) String() string
type AdminUserListNotInIdsRequest ¶
type AdminUserListNotInIdsRequest struct {
IdList []int64 `protobuf:"varint,1,rep,packed,name=idList,proto3" json:"idList,omitempty"`
AccountKeyword string `protobuf:"bytes,2,opt,name=accountKeyword,proto3" json:"accountKeyword,omitempty"` // 关键字 - 模糊查询
Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"` // 手机号 - 模糊查询
Page int32 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
PageSize int32 `protobuf:"varint,5,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
// contains filtered or unexported fields
}
func (*AdminUserListNotInIdsRequest) Descriptor
deprecated
func (*AdminUserListNotInIdsRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdminUserListNotInIdsRequest.ProtoReflect.Descriptor instead.
func (*AdminUserListNotInIdsRequest) GetAccountKeyword ¶
func (x *AdminUserListNotInIdsRequest) GetAccountKeyword() string
func (*AdminUserListNotInIdsRequest) GetIdList ¶
func (x *AdminUserListNotInIdsRequest) GetIdList() []int64
func (*AdminUserListNotInIdsRequest) GetPage ¶
func (x *AdminUserListNotInIdsRequest) GetPage() int32
func (*AdminUserListNotInIdsRequest) GetPageSize ¶
func (x *AdminUserListNotInIdsRequest) GetPageSize() int32
func (*AdminUserListNotInIdsRequest) GetPhone ¶
func (x *AdminUserListNotInIdsRequest) GetPhone() string
func (*AdminUserListNotInIdsRequest) ProtoMessage ¶
func (*AdminUserListNotInIdsRequest) ProtoMessage()
func (*AdminUserListNotInIdsRequest) ProtoReflect ¶
func (x *AdminUserListNotInIdsRequest) ProtoReflect() protoreflect.Message
func (*AdminUserListNotInIdsRequest) Reset ¶
func (x *AdminUserListNotInIdsRequest) Reset()
func (*AdminUserListNotInIdsRequest) String ¶
func (x *AdminUserListNotInIdsRequest) String() string
type AdminUserListNotInIdsResponse ¶
type AdminUserListNotInIdsResponse struct {
Common *CommonResps `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
Pagination *Paginations `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
AdminUserList []*AdminUser `protobuf:"bytes,3,rep,name=adminUserList,proto3" json:"adminUserList,omitempty"`
// contains filtered or unexported fields
}
func (*AdminUserListNotInIdsResponse) Descriptor
deprecated
func (*AdminUserListNotInIdsResponse) Descriptor() ([]byte, []int)
Deprecated: Use AdminUserListNotInIdsResponse.ProtoReflect.Descriptor instead.
func (*AdminUserListNotInIdsResponse) GetAdminUserList ¶
func (x *AdminUserListNotInIdsResponse) GetAdminUserList() []*AdminUser
func (*AdminUserListNotInIdsResponse) GetCommon ¶
func (x *AdminUserListNotInIdsResponse) GetCommon() *CommonResps
func (*AdminUserListNotInIdsResponse) GetPagination ¶
func (x *AdminUserListNotInIdsResponse) GetPagination() *Paginations
func (*AdminUserListNotInIdsResponse) ProtoMessage ¶
func (*AdminUserListNotInIdsResponse) ProtoMessage()
func (*AdminUserListNotInIdsResponse) ProtoReflect ¶
func (x *AdminUserListNotInIdsResponse) ProtoReflect() protoreflect.Message
func (*AdminUserListNotInIdsResponse) Reset ¶
func (x *AdminUserListNotInIdsResponse) Reset()
func (*AdminUserListNotInIdsResponse) String ¶
func (x *AdminUserListNotInIdsResponse) String() string
type AdminUserName ¶
type AdminUserName struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"`
// contains filtered or unexported fields
}
func (*AdminUserName) Descriptor
deprecated
func (*AdminUserName) Descriptor() ([]byte, []int)
Deprecated: Use AdminUserName.ProtoReflect.Descriptor instead.
func (*AdminUserName) GetId ¶
func (x *AdminUserName) GetId() int64
func (*AdminUserName) GetNickname ¶
func (x *AdminUserName) GetNickname() string
func (*AdminUserName) ProtoMessage ¶
func (*AdminUserName) ProtoMessage()
func (*AdminUserName) ProtoReflect ¶
func (x *AdminUserName) ProtoReflect() protoreflect.Message
func (*AdminUserName) Reset ¶
func (x *AdminUserName) Reset()
func (*AdminUserName) String ¶
func (x *AdminUserName) String() string
type AdminUserNameListRequest ¶
type AdminUserNameListRequest struct {
IdList []int64 `protobuf:"varint,1,rep,packed,name=idList,proto3" json:"idList,omitempty"`
// contains filtered or unexported fields
}
筛选IP地址用户的统计数据
func (*AdminUserNameListRequest) Descriptor
deprecated
func (*AdminUserNameListRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdminUserNameListRequest.ProtoReflect.Descriptor instead.
func (*AdminUserNameListRequest) GetIdList ¶
func (x *AdminUserNameListRequest) GetIdList() []int64
func (*AdminUserNameListRequest) ProtoMessage ¶
func (*AdminUserNameListRequest) ProtoMessage()
func (*AdminUserNameListRequest) ProtoReflect ¶
func (x *AdminUserNameListRequest) ProtoReflect() protoreflect.Message
func (*AdminUserNameListRequest) Reset ¶
func (x *AdminUserNameListRequest) Reset()
func (*AdminUserNameListRequest) String ¶
func (x *AdminUserNameListRequest) String() string
type AdminUserNameListResponse ¶
type AdminUserNameListResponse struct {
Common *CommonResps `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
AdminUserNameList []*AdminUserName `protobuf:"bytes,2,rep,name=adminUserNameList,proto3" json:"adminUserNameList,omitempty"`
// contains filtered or unexported fields
}
func (*AdminUserNameListResponse) Descriptor
deprecated
func (*AdminUserNameListResponse) Descriptor() ([]byte, []int)
Deprecated: Use AdminUserNameListResponse.ProtoReflect.Descriptor instead.
func (*AdminUserNameListResponse) GetAdminUserNameList ¶
func (x *AdminUserNameListResponse) GetAdminUserNameList() []*AdminUserName
func (*AdminUserNameListResponse) GetCommon ¶
func (x *AdminUserNameListResponse) GetCommon() *CommonResps
func (*AdminUserNameListResponse) ProtoMessage ¶
func (*AdminUserNameListResponse) ProtoMessage()
func (*AdminUserNameListResponse) ProtoReflect ¶
func (x *AdminUserNameListResponse) ProtoReflect() protoreflect.Message
func (*AdminUserNameListResponse) Reset ¶
func (x *AdminUserNameListResponse) Reset()
func (*AdminUserNameListResponse) String ¶
func (x *AdminUserNameListResponse) String() string
type AdminUserSearchRequest ¶
type AdminUserSearchRequest struct {
AccountKeyWord string `protobuf:"bytes,1,opt,name=accountKeyWord,proto3" json:"accountKeyWord,omitempty"` // 关键字 - 模糊查询
Role int32 `protobuf:"varint,2,opt,name=role,proto3" json:"role,omitempty"` // 用户角色
UserStatus int32 `protobuf:"varint,3,opt,name=userStatus,proto3" json:"userStatus,omitempty"` // 用户状态 0.正常1.禁用
LoginStatus int32 `protobuf:"varint,4,opt,name=loginStatus,proto3" json:"loginStatus,omitempty"` // 登录状态 0.离线 1.在线
SortKeyWord string `protobuf:"bytes,5,opt,name=sortKeyWord,proto3" json:"sortKeyWord,omitempty"` // 排序关键字
// contains filtered or unexported fields
}
查询系统用户接口
func (*AdminUserSearchRequest) Descriptor
deprecated
func (*AdminUserSearchRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdminUserSearchRequest.ProtoReflect.Descriptor instead.
func (*AdminUserSearchRequest) GetAccountKeyWord ¶
func (x *AdminUserSearchRequest) GetAccountKeyWord() string
func (*AdminUserSearchRequest) GetLoginStatus ¶
func (x *AdminUserSearchRequest) GetLoginStatus() int32
func (*AdminUserSearchRequest) GetRole ¶
func (x *AdminUserSearchRequest) GetRole() int32
func (*AdminUserSearchRequest) GetSortKeyWord ¶
func (x *AdminUserSearchRequest) GetSortKeyWord() string
func (*AdminUserSearchRequest) GetUserStatus ¶
func (x *AdminUserSearchRequest) GetUserStatus() int32
func (*AdminUserSearchRequest) ProtoMessage ¶
func (*AdminUserSearchRequest) ProtoMessage()
func (*AdminUserSearchRequest) ProtoReflect ¶
func (x *AdminUserSearchRequest) ProtoReflect() protoreflect.Message
func (*AdminUserSearchRequest) Reset ¶
func (x *AdminUserSearchRequest) Reset()
func (*AdminUserSearchRequest) String ¶
func (x *AdminUserSearchRequest) String() string
type AdminUserSearchResponse ¶
type AdminUserSearchResponse struct {
Common *CommonResps `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
AdminUserList []*AdminUser `protobuf:"bytes,2,rep,name=adminUserList,proto3" json:"adminUserList,omitempty"`
// contains filtered or unexported fields
}
func (*AdminUserSearchResponse) Descriptor
deprecated
func (*AdminUserSearchResponse) Descriptor() ([]byte, []int)
Deprecated: Use AdminUserSearchResponse.ProtoReflect.Descriptor instead.
func (*AdminUserSearchResponse) GetAdminUserList ¶
func (x *AdminUserSearchResponse) GetAdminUserList() []*AdminUser
func (*AdminUserSearchResponse) GetCommon ¶
func (x *AdminUserSearchResponse) GetCommon() *CommonResps
func (*AdminUserSearchResponse) ProtoMessage ¶
func (*AdminUserSearchResponse) ProtoMessage()
func (*AdminUserSearchResponse) ProtoReflect ¶
func (x *AdminUserSearchResponse) ProtoReflect() protoreflect.Message
func (*AdminUserSearchResponse) Reset ¶
func (x *AdminUserSearchResponse) Reset()
func (*AdminUserSearchResponse) String ¶
func (x *AdminUserSearchResponse) String() string
type AdminUserUpdateStatusRequest ¶
type AdminUserUpdateStatusRequest struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
UserStatus int32 `protobuf:"varint,2,opt,name=userStatus,proto3" json:"userStatus,omitempty"`
// contains filtered or unexported fields
}
func (*AdminUserUpdateStatusRequest) Descriptor
deprecated
func (*AdminUserUpdateStatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use AdminUserUpdateStatusRequest.ProtoReflect.Descriptor instead.
func (*AdminUserUpdateStatusRequest) GetId ¶
func (x *AdminUserUpdateStatusRequest) GetId() int64
func (*AdminUserUpdateStatusRequest) GetUserStatus ¶
func (x *AdminUserUpdateStatusRequest) GetUserStatus() int32
func (*AdminUserUpdateStatusRequest) ProtoMessage ¶
func (*AdminUserUpdateStatusRequest) ProtoMessage()
func (*AdminUserUpdateStatusRequest) ProtoReflect ¶
func (x *AdminUserUpdateStatusRequest) ProtoReflect() protoreflect.Message
func (*AdminUserUpdateStatusRequest) Reset ¶
func (x *AdminUserUpdateStatusRequest) Reset()
func (*AdminUserUpdateStatusRequest) String ¶
func (x *AdminUserUpdateStatusRequest) String() string
type AdminUserUpdateStatusResponse ¶
type AdminUserUpdateStatusResponse struct {
Common *CommonResps `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"` // 用户状态 0.正常1.禁用
// contains filtered or unexported fields
}
func (*AdminUserUpdateStatusResponse) Descriptor
deprecated
func (*AdminUserUpdateStatusResponse) Descriptor() ([]byte, []int)
Deprecated: Use AdminUserUpdateStatusResponse.ProtoReflect.Descriptor instead.
func (*AdminUserUpdateStatusResponse) GetCommon ¶
func (x *AdminUserUpdateStatusResponse) GetCommon() *CommonResps
func (*AdminUserUpdateStatusResponse) ProtoMessage ¶
func (*AdminUserUpdateStatusResponse) ProtoMessage()
func (*AdminUserUpdateStatusResponse) ProtoReflect ¶
func (x *AdminUserUpdateStatusResponse) ProtoReflect() protoreflect.Message
func (*AdminUserUpdateStatusResponse) Reset ¶
func (x *AdminUserUpdateStatusResponse) Reset()
func (*AdminUserUpdateStatusResponse) String ¶
func (x *AdminUserUpdateStatusResponse) String() string
type BusinessClient ¶
type BusinessClient interface {
GetList(ctx context.Context, in *GetBusinessListRequest, opts ...grpc.CallOption) (*GetListBusinessResponse, error)
AddOrUpdateById(ctx context.Context, in *UpdateBusinessByIdRequest, opts ...grpc.CallOption) (*UpdateBusinessByIdResponse, error)
DeleteById(ctx context.Context, in *DeleteByIdRequest, opts ...grpc.CallOption) (*DeleteByIdResponse, error)
}
BusinessClient is the client API for Business 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 NewBusinessClient ¶
func NewBusinessClient(cc grpc.ClientConnInterface) BusinessClient
type BusinessItem ¶
type BusinessItem struct {
Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
SettlementName string `protobuf:"bytes,3,opt,name=settlement_name,json=settlementName,proto3" json:"settlement_name,omitempty"`
GoogleCode string `protobuf:"bytes,4,opt,name=google_code,json=googleCode,proto3" json:"google_code,omitempty"`
Status int32 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` // 1启用 2停用
Mark string `protobuf:"bytes,6,opt,name=mark,proto3" json:"mark,omitempty"`
Id int64 `protobuf:"varint,7,opt,name=id,proto3" json:"id,omitempty"`
Code string `protobuf:"bytes,8,opt,name=code,proto3" json:"code,omitempty"`
CreatedAt int64 `protobuf:"varint,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt int64 `protobuf:"varint,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// contains filtered or unexported fields
}
func (*BusinessItem) Descriptor
deprecated
func (*BusinessItem) Descriptor() ([]byte, []int)
Deprecated: Use BusinessItem.ProtoReflect.Descriptor instead.
func (*BusinessItem) GetAccount ¶
func (x *BusinessItem) GetAccount() string
func (*BusinessItem) GetCode ¶
func (x *BusinessItem) GetCode() string
func (*BusinessItem) GetCreatedAt ¶
func (x *BusinessItem) GetCreatedAt() int64
func (*BusinessItem) GetGoogleCode ¶
func (x *BusinessItem) GetGoogleCode() string
func (*BusinessItem) GetId ¶
func (x *BusinessItem) GetId() int64
func (*BusinessItem) GetMark ¶
func (x *BusinessItem) GetMark() string
func (*BusinessItem) GetName ¶
func (x *BusinessItem) GetName() string
func (*BusinessItem) GetSettlementName ¶
func (x *BusinessItem) GetSettlementName() string
func (*BusinessItem) GetStatus ¶
func (x *BusinessItem) GetStatus() int32
func (*BusinessItem) GetUpdatedAt ¶
func (x *BusinessItem) GetUpdatedAt() int64
func (*BusinessItem) ProtoMessage ¶
func (*BusinessItem) ProtoMessage()
func (*BusinessItem) ProtoReflect ¶
func (x *BusinessItem) ProtoReflect() protoreflect.Message
func (*BusinessItem) Reset ¶
func (x *BusinessItem) Reset()
func (*BusinessItem) String ¶
func (x *BusinessItem) String() string
type BusinessServer ¶
type BusinessServer interface {
GetList(context.Context, *GetBusinessListRequest) (*GetListBusinessResponse, error)
AddOrUpdateById(context.Context, *UpdateBusinessByIdRequest) (*UpdateBusinessByIdResponse, error)
DeleteById(context.Context, *DeleteByIdRequest) (*DeleteByIdResponse, error)
// contains filtered or unexported methods
}
BusinessServer is the server API for Business service. All implementations must embed UnimplementedBusinessServer for forward compatibility
type ChannelClient ¶
type ChannelClient interface {
GetList(ctx context.Context, in *GetChannelListRequest, opts ...grpc.CallOption) (*GetChannelListResponse, error)
AddOrUpdateById(ctx context.Context, in *UpdateChannelByIdRequest, opts ...grpc.CallOption) (*UpdateChannelByIdResponse, error)
DeleteChannelById(ctx context.Context, in *DeleteChannelByIdRequest, opts ...grpc.CallOption) (*DeleteChannelByIdResponse, error)
GetBusinessCodeByDomain(ctx context.Context, in *GetBusinessCodeByChannelRequest, opts ...grpc.CallOption) (*GetBusinessCodeByChannelResponse, error)
}
ChannelClient is the client API for Channel 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 NewChannelClient ¶
func NewChannelClient(cc grpc.ClientConnInterface) ChannelClient
type ChannelItem ¶
type ChannelItem struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` //渠道名称
Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` //渠道域名
Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` //编码
SiteId int64 `protobuf:"varint,4,opt,name=site_id,json=siteId,proto3" json:"site_id,omitempty"` //所属站点Id
Mark string `protobuf:"bytes,5,opt,name=mark,proto3" json:"mark,omitempty"`
Id int64 `protobuf:"varint,6,opt,name=id,proto3" json:"id,omitempty"`
CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt int64 `protobuf:"varint,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
Status int32 `protobuf:"varint,9,opt,name=status,proto3" json:"status,omitempty"` // 1启用 2停用
SiteName string `protobuf:"bytes,10,opt,name=site_name,json=siteName,proto3" json:"site_name,omitempty"` //所属站点名称
BusinessId int64 `protobuf:"varint,11,opt,name=business_id,json=businessId,proto3" json:"business_id,omitempty"` //所属商户Id
BusinessName string `protobuf:"bytes,12,opt,name=business_name,json=businessName,proto3" json:"business_name,omitempty"` //所属商户名称
// contains filtered or unexported fields
}
func (*ChannelItem) Descriptor
deprecated
func (*ChannelItem) Descriptor() ([]byte, []int)
Deprecated: Use ChannelItem.ProtoReflect.Descriptor instead.
func (*ChannelItem) GetBusinessId ¶
func (x *ChannelItem) GetBusinessId() int64
func (*ChannelItem) GetBusinessName ¶
func (x *ChannelItem) GetBusinessName() string
func (*ChannelItem) GetCode ¶
func (x *ChannelItem) GetCode() string
func (*ChannelItem) GetCreatedAt ¶
func (x *ChannelItem) GetCreatedAt() int64
func (*ChannelItem) GetDomain ¶
func (x *ChannelItem) GetDomain() string
func (*ChannelItem) GetId ¶
func (x *ChannelItem) GetId() int64
func (*ChannelItem) GetMark ¶
func (x *ChannelItem) GetMark() string
func (*ChannelItem) GetName ¶
func (x *ChannelItem) GetName() string
func (*ChannelItem) GetSiteId ¶
func (x *ChannelItem) GetSiteId() int64
func (*ChannelItem) GetSiteName ¶
func (x *ChannelItem) GetSiteName() string
func (*ChannelItem) GetStatus ¶
func (x *ChannelItem) GetStatus() int32
func (*ChannelItem) GetUpdatedAt ¶
func (x *ChannelItem) GetUpdatedAt() int64
func (*ChannelItem) ProtoMessage ¶
func (*ChannelItem) ProtoMessage()
func (*ChannelItem) ProtoReflect ¶
func (x *ChannelItem) ProtoReflect() protoreflect.Message
func (*ChannelItem) Reset ¶
func (x *ChannelItem) Reset()
func (*ChannelItem) String ¶
func (x *ChannelItem) String() string
type ChannelServer ¶
type ChannelServer interface {
GetList(context.Context, *GetChannelListRequest) (*GetChannelListResponse, error)
AddOrUpdateById(context.Context, *UpdateChannelByIdRequest) (*UpdateChannelByIdResponse, error)
DeleteChannelById(context.Context, *DeleteChannelByIdRequest) (*DeleteChannelByIdResponse, error)
GetBusinessCodeByDomain(context.Context, *GetBusinessCodeByChannelRequest) (*GetBusinessCodeByChannelResponse, error)
// contains filtered or unexported methods
}
ChannelServer is the server API for Channel service. All implementations must embed UnimplementedChannelServer for forward compatibility
type CommonResps ¶
type CommonResps struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*CommonResps) Descriptor
deprecated
func (*CommonResps) Descriptor() ([]byte, []int)
Deprecated: Use CommonResps.ProtoReflect.Descriptor instead.
func (*CommonResps) GetCode ¶
func (x *CommonResps) GetCode() int32
func (*CommonResps) GetMessage ¶
func (x *CommonResps) GetMessage() string
func (*CommonResps) ProtoMessage ¶
func (*CommonResps) ProtoMessage()
func (*CommonResps) ProtoReflect ¶
func (x *CommonResps) ProtoReflect() protoreflect.Message
func (*CommonResps) Reset ¶
func (x *CommonResps) Reset()
func (*CommonResps) String ¶
func (x *CommonResps) String() string
type DeleteByIdRequest ¶
type DeleteByIdRequest struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteByIdRequest) Descriptor
deprecated
func (*DeleteByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteByIdRequest.ProtoReflect.Descriptor instead.
func (*DeleteByIdRequest) GetId ¶
func (x *DeleteByIdRequest) GetId() int64
func (*DeleteByIdRequest) ProtoMessage ¶
func (*DeleteByIdRequest) ProtoMessage()
func (*DeleteByIdRequest) ProtoReflect ¶
func (x *DeleteByIdRequest) ProtoReflect() protoreflect.Message
func (*DeleteByIdRequest) Reset ¶
func (x *DeleteByIdRequest) Reset()
func (*DeleteByIdRequest) String ¶
func (x *DeleteByIdRequest) String() string
type DeleteByIdResponse ¶
type DeleteByIdResponse struct {
Resp *PlatformCommonResp `protobuf:"bytes,1,opt,name=resp,proto3" json:"resp,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteByIdResponse) Descriptor
deprecated
func (*DeleteByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteByIdResponse.ProtoReflect.Descriptor instead.
func (*DeleteByIdResponse) GetResp ¶
func (x *DeleteByIdResponse) GetResp() *PlatformCommonResp
func (*DeleteByIdResponse) ProtoMessage ¶
func (*DeleteByIdResponse) ProtoMessage()
func (*DeleteByIdResponse) ProtoReflect ¶
func (x *DeleteByIdResponse) ProtoReflect() protoreflect.Message
func (*DeleteByIdResponse) Reset ¶
func (x *DeleteByIdResponse) Reset()
func (*DeleteByIdResponse) String ¶
func (x *DeleteByIdResponse) String() string
type DeleteChannelByIdRequest ¶
type DeleteChannelByIdRequest struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteChannelByIdRequest) Descriptor
deprecated
func (*DeleteChannelByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteChannelByIdRequest.ProtoReflect.Descriptor instead.
func (*DeleteChannelByIdRequest) GetId ¶
func (x *DeleteChannelByIdRequest) GetId() int64
func (*DeleteChannelByIdRequest) ProtoMessage ¶
func (*DeleteChannelByIdRequest) ProtoMessage()
func (*DeleteChannelByIdRequest) ProtoReflect ¶
func (x *DeleteChannelByIdRequest) ProtoReflect() protoreflect.Message
func (*DeleteChannelByIdRequest) Reset ¶
func (x *DeleteChannelByIdRequest) Reset()
func (*DeleteChannelByIdRequest) String ¶
func (x *DeleteChannelByIdRequest) String() string
type DeleteChannelByIdResponse ¶
type DeleteChannelByIdResponse struct {
Resp *PlatformCommonResp `protobuf:"bytes,1,opt,name=resp,proto3" json:"resp,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteChannelByIdResponse) Descriptor
deprecated
func (*DeleteChannelByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteChannelByIdResponse.ProtoReflect.Descriptor instead.
func (*DeleteChannelByIdResponse) GetResp ¶
func (x *DeleteChannelByIdResponse) GetResp() *PlatformCommonResp
func (*DeleteChannelByIdResponse) ProtoMessage ¶
func (*DeleteChannelByIdResponse) ProtoMessage()
func (*DeleteChannelByIdResponse) ProtoReflect ¶
func (x *DeleteChannelByIdResponse) ProtoReflect() protoreflect.Message
func (*DeleteChannelByIdResponse) Reset ¶
func (x *DeleteChannelByIdResponse) Reset()
func (*DeleteChannelByIdResponse) String ¶
func (x *DeleteChannelByIdResponse) String() string
type DeleteSiteByIdRequest ¶
type DeleteSiteByIdRequest struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteSiteByIdRequest) Descriptor
deprecated
func (*DeleteSiteByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSiteByIdRequest.ProtoReflect.Descriptor instead.
func (*DeleteSiteByIdRequest) GetId ¶
func (x *DeleteSiteByIdRequest) GetId() int64
func (*DeleteSiteByIdRequest) ProtoMessage ¶
func (*DeleteSiteByIdRequest) ProtoMessage()
func (*DeleteSiteByIdRequest) ProtoReflect ¶
func (x *DeleteSiteByIdRequest) ProtoReflect() protoreflect.Message
func (*DeleteSiteByIdRequest) Reset ¶
func (x *DeleteSiteByIdRequest) Reset()
func (*DeleteSiteByIdRequest) String ¶
func (x *DeleteSiteByIdRequest) String() string
type DeleteSiteByIdResponse ¶
type DeleteSiteByIdResponse struct {
Resp *PlatformCommonResp `protobuf:"bytes,1,opt,name=resp,proto3" json:"resp,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteSiteByIdResponse) Descriptor
deprecated
func (*DeleteSiteByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSiteByIdResponse.ProtoReflect.Descriptor instead.
func (*DeleteSiteByIdResponse) GetResp ¶
func (x *DeleteSiteByIdResponse) GetResp() *PlatformCommonResp
func (*DeleteSiteByIdResponse) ProtoMessage ¶
func (*DeleteSiteByIdResponse) ProtoMessage()
func (*DeleteSiteByIdResponse) ProtoReflect ¶
func (x *DeleteSiteByIdResponse) ProtoReflect() protoreflect.Message
func (*DeleteSiteByIdResponse) Reset ¶
func (x *DeleteSiteByIdResponse) Reset()
func (*DeleteSiteByIdResponse) String ¶
func (x *DeleteSiteByIdResponse) String() string
type GetBusinessCodeByChannelRequest ¶
type GetBusinessCodeByChannelRequest struct {
Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
// contains filtered or unexported fields
}
func (*GetBusinessCodeByChannelRequest) Descriptor
deprecated
func (*GetBusinessCodeByChannelRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBusinessCodeByChannelRequest.ProtoReflect.Descriptor instead.
func (*GetBusinessCodeByChannelRequest) GetDomain ¶
func (x *GetBusinessCodeByChannelRequest) GetDomain() string
func (*GetBusinessCodeByChannelRequest) ProtoMessage ¶
func (*GetBusinessCodeByChannelRequest) ProtoMessage()
func (*GetBusinessCodeByChannelRequest) ProtoReflect ¶
func (x *GetBusinessCodeByChannelRequest) ProtoReflect() protoreflect.Message
func (*GetBusinessCodeByChannelRequest) Reset ¶
func (x *GetBusinessCodeByChannelRequest) Reset()
func (*GetBusinessCodeByChannelRequest) String ¶
func (x *GetBusinessCodeByChannelRequest) String() string
type GetBusinessCodeByChannelResponse ¶
type GetBusinessCodeByChannelResponse struct {
BusinessCode string `protobuf:"bytes,1,opt,name=businessCode,proto3" json:"businessCode,omitempty"`
// contains filtered or unexported fields
}
func (*GetBusinessCodeByChannelResponse) Descriptor
deprecated
func (*GetBusinessCodeByChannelResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBusinessCodeByChannelResponse.ProtoReflect.Descriptor instead.
func (*GetBusinessCodeByChannelResponse) GetBusinessCode ¶
func (x *GetBusinessCodeByChannelResponse) GetBusinessCode() string
func (*GetBusinessCodeByChannelResponse) ProtoMessage ¶
func (*GetBusinessCodeByChannelResponse) ProtoMessage()
func (*GetBusinessCodeByChannelResponse) ProtoReflect ¶
func (x *GetBusinessCodeByChannelResponse) ProtoReflect() protoreflect.Message
func (*GetBusinessCodeByChannelResponse) Reset ¶
func (x *GetBusinessCodeByChannelResponse) Reset()
func (*GetBusinessCodeByChannelResponse) String ¶
func (x *GetBusinessCodeByChannelResponse) String() string
type GetBusinessListRequest ¶
type GetBusinessListRequest struct {
PageRequest *PlatformPage `protobuf:"bytes,1,opt,name=pageRequest,proto3" json:"pageRequest,omitempty"`
StartTime int64 `protobuf:"varint,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
EndTime int64 `protobuf:"varint,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` //搜索关键字
Status int32 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` // 1启用 2停用 0全部
IsAll int32 `protobuf:"varint,7,opt,name=is_all,json=isAll,proto3" json:"is_all,omitempty"` // 0会翻页取数据 1全部数据会忽略翻页
// contains filtered or unexported fields
}
func (*GetBusinessListRequest) Descriptor
deprecated
func (*GetBusinessListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBusinessListRequest.ProtoReflect.Descriptor instead.
func (*GetBusinessListRequest) GetEndTime ¶
func (x *GetBusinessListRequest) GetEndTime() int64
func (*GetBusinessListRequest) GetIsAll ¶
func (x *GetBusinessListRequest) GetIsAll() int32
func (*GetBusinessListRequest) GetName ¶
func (x *GetBusinessListRequest) GetName() string
func (*GetBusinessListRequest) GetPageRequest ¶
func (x *GetBusinessListRequest) GetPageRequest() *PlatformPage
func (*GetBusinessListRequest) GetStartTime ¶
func (x *GetBusinessListRequest) GetStartTime() int64
func (*GetBusinessListRequest) GetStatus ¶
func (x *GetBusinessListRequest) GetStatus() int32
func (*GetBusinessListRequest) ProtoMessage ¶
func (*GetBusinessListRequest) ProtoMessage()
func (*GetBusinessListRequest) ProtoReflect ¶
func (x *GetBusinessListRequest) ProtoReflect() protoreflect.Message
func (*GetBusinessListRequest) Reset ¶
func (x *GetBusinessListRequest) Reset()
func (*GetBusinessListRequest) String ¶
func (x *GetBusinessListRequest) String() string
type GetChannelListRequest ¶
type GetChannelListRequest struct {
Page *PlatformPage `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
StartTime int64 `protobuf:"varint,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
EndTime int64 `protobuf:"varint,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
Status int32 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` // 1启用 2停用
BusinessId int64 `protobuf:"varint,6,opt,name=business_id,json=businessId,proto3" json:"business_id,omitempty"`
SiteId int64 `protobuf:"varint,7,opt,name=site_id,json=siteId,proto3" json:"site_id,omitempty"`
// contains filtered or unexported fields
}
func (*GetChannelListRequest) Descriptor
deprecated
func (*GetChannelListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetChannelListRequest.ProtoReflect.Descriptor instead.
func (*GetChannelListRequest) GetBusinessId ¶
func (x *GetChannelListRequest) GetBusinessId() int64
func (*GetChannelListRequest) GetEndTime ¶
func (x *GetChannelListRequest) GetEndTime() int64
func (*GetChannelListRequest) GetName ¶
func (x *GetChannelListRequest) GetName() string
func (*GetChannelListRequest) GetPage ¶
func (x *GetChannelListRequest) GetPage() *PlatformPage
func (*GetChannelListRequest) GetSiteId ¶
func (x *GetChannelListRequest) GetSiteId() int64
func (*GetChannelListRequest) GetStartTime ¶
func (x *GetChannelListRequest) GetStartTime() int64
func (*GetChannelListRequest) GetStatus ¶
func (x *GetChannelListRequest) GetStatus() int32
func (*GetChannelListRequest) ProtoMessage ¶
func (*GetChannelListRequest) ProtoMessage()
func (*GetChannelListRequest) ProtoReflect ¶
func (x *GetChannelListRequest) ProtoReflect() protoreflect.Message
func (*GetChannelListRequest) Reset ¶
func (x *GetChannelListRequest) Reset()
func (*GetChannelListRequest) String ¶
func (x *GetChannelListRequest) String() string
type GetChannelListResponse ¶
type GetChannelListResponse struct {
Pagination *PlatformPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
List []*ChannelItem `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
// contains filtered or unexported fields
}
func (*GetChannelListResponse) Descriptor
deprecated
func (*GetChannelListResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetChannelListResponse.ProtoReflect.Descriptor instead.
func (*GetChannelListResponse) GetList ¶
func (x *GetChannelListResponse) GetList() []*ChannelItem
func (*GetChannelListResponse) GetPagination ¶
func (x *GetChannelListResponse) GetPagination() *PlatformPagination
func (*GetChannelListResponse) ProtoMessage ¶
func (*GetChannelListResponse) ProtoMessage()
func (*GetChannelListResponse) ProtoReflect ¶
func (x *GetChannelListResponse) ProtoReflect() protoreflect.Message
func (*GetChannelListResponse) Reset ¶
func (x *GetChannelListResponse) Reset()
func (*GetChannelListResponse) String ¶
func (x *GetChannelListResponse) String() string
type GetListBusinessResponse ¶
type GetListBusinessResponse struct {
Pagination *PlatformPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
List []*BusinessItem `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
// contains filtered or unexported fields
}
func (*GetListBusinessResponse) Descriptor
deprecated
func (*GetListBusinessResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetListBusinessResponse.ProtoReflect.Descriptor instead.
func (*GetListBusinessResponse) GetList ¶
func (x *GetListBusinessResponse) GetList() []*BusinessItem
func (*GetListBusinessResponse) GetPagination ¶
func (x *GetListBusinessResponse) GetPagination() *PlatformPagination
func (*GetListBusinessResponse) ProtoMessage ¶
func (*GetListBusinessResponse) ProtoMessage()
func (*GetListBusinessResponse) ProtoReflect ¶
func (x *GetListBusinessResponse) ProtoReflect() protoreflect.Message
func (*GetListBusinessResponse) Reset ¶
func (x *GetListBusinessResponse) Reset()
func (*GetListBusinessResponse) String ¶
func (x *GetListBusinessResponse) String() string
type GetSiteListRequest ¶
type GetSiteListRequest struct {
Page *PlatformPage `protobuf:"bytes,1,opt,name=page,proto3" json:"page,omitempty"`
StartTime int64 `protobuf:"varint,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
EndTime int64 `protobuf:"varint,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` //名称
BusinessId int64 `protobuf:"varint,5,opt,name=business_id,json=businessId,proto3" json:"business_id,omitempty"` //商户Id
Status int32 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"` // 1启用 2停用 0全部
IsAll int32 `protobuf:"varint,7,opt,name=is_all,json=isAll,proto3" json:"is_all,omitempty"` // 0会翻页取数据 1全部会忽略翻页
// contains filtered or unexported fields
}
func (*GetSiteListRequest) Descriptor
deprecated
func (*GetSiteListRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSiteListRequest.ProtoReflect.Descriptor instead.
func (*GetSiteListRequest) GetBusinessId ¶
func (x *GetSiteListRequest) GetBusinessId() int64
func (*GetSiteListRequest) GetEndTime ¶
func (x *GetSiteListRequest) GetEndTime() int64
func (*GetSiteListRequest) GetIsAll ¶
func (x *GetSiteListRequest) GetIsAll() int32
func (*GetSiteListRequest) GetName ¶
func (x *GetSiteListRequest) GetName() string
func (*GetSiteListRequest) GetPage ¶
func (x *GetSiteListRequest) GetPage() *PlatformPage
func (*GetSiteListRequest) GetStartTime ¶
func (x *GetSiteListRequest) GetStartTime() int64
func (*GetSiteListRequest) GetStatus ¶
func (x *GetSiteListRequest) GetStatus() int32
func (*GetSiteListRequest) ProtoMessage ¶
func (*GetSiteListRequest) ProtoMessage()
func (*GetSiteListRequest) ProtoReflect ¶
func (x *GetSiteListRequest) ProtoReflect() protoreflect.Message
func (*GetSiteListRequest) Reset ¶
func (x *GetSiteListRequest) Reset()
func (*GetSiteListRequest) String ¶
func (x *GetSiteListRequest) String() string
type GetSiteListResponse ¶
type GetSiteListResponse struct {
Pagination *PlatformPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
List []*SiteItem `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
// contains filtered or unexported fields
}
func (*GetSiteListResponse) Descriptor
deprecated
func (*GetSiteListResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSiteListResponse.ProtoReflect.Descriptor instead.
func (*GetSiteListResponse) GetList ¶
func (x *GetSiteListResponse) GetList() []*SiteItem
func (*GetSiteListResponse) GetPagination ¶
func (x *GetSiteListResponse) GetPagination() *PlatformPagination
func (*GetSiteListResponse) ProtoMessage ¶
func (*GetSiteListResponse) ProtoMessage()
func (*GetSiteListResponse) ProtoReflect ¶
func (x *GetSiteListResponse) ProtoReflect() protoreflect.Message
func (*GetSiteListResponse) Reset ¶
func (x *GetSiteListResponse) Reset()
func (*GetSiteListResponse) String ¶
func (x *GetSiteListResponse) String() string
type Paginations ¶
type Paginations struct {
PageSize int32 `protobuf:"varint,1,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
Total int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total,omitempty"`
TotalPage int64 `protobuf:"varint,4,opt,name=totalPage,proto3" json:"totalPage,omitempty"`
// contains filtered or unexported fields
}
func (*Paginations) Descriptor
deprecated
func (*Paginations) Descriptor() ([]byte, []int)
Deprecated: Use Paginations.ProtoReflect.Descriptor instead.
func (*Paginations) GetPage ¶
func (x *Paginations) GetPage() int32
func (*Paginations) GetPageSize ¶
func (x *Paginations) GetPageSize() int32
func (*Paginations) GetTotal ¶
func (x *Paginations) GetTotal() int64
func (*Paginations) GetTotalPage ¶
func (x *Paginations) GetTotalPage() int64
func (*Paginations) ProtoMessage ¶
func (*Paginations) ProtoMessage()
func (*Paginations) ProtoReflect ¶
func (x *Paginations) ProtoReflect() protoreflect.Message
func (*Paginations) Reset ¶
func (x *Paginations) Reset()
func (*Paginations) String ¶
func (x *Paginations) String() string
type PlatformCommonResp ¶
type PlatformCommonResp struct {
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //错误码 0为正常,其他都为错误
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` //错误信息
// contains filtered or unexported fields
}
func (*PlatformCommonResp) Descriptor
deprecated
func (*PlatformCommonResp) Descriptor() ([]byte, []int)
Deprecated: Use PlatformCommonResp.ProtoReflect.Descriptor instead.
func (*PlatformCommonResp) GetCode ¶
func (x *PlatformCommonResp) GetCode() int32
func (*PlatformCommonResp) GetMessage ¶
func (x *PlatformCommonResp) GetMessage() string
func (*PlatformCommonResp) ProtoMessage ¶
func (*PlatformCommonResp) ProtoMessage()
func (*PlatformCommonResp) ProtoReflect ¶
func (x *PlatformCommonResp) ProtoReflect() protoreflect.Message
func (*PlatformCommonResp) Reset ¶
func (x *PlatformCommonResp) Reset()
func (*PlatformCommonResp) String ¶
func (x *PlatformCommonResp) String() string
type PlatformPage ¶
type PlatformPage struct {
Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 默认值为1
PageSize int64 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` //默认每页显示10条记录
// contains filtered or unexported fields
}
func (*PlatformPage) Descriptor
deprecated
func (*PlatformPage) Descriptor() ([]byte, []int)
Deprecated: Use PlatformPage.ProtoReflect.Descriptor instead.
func (*PlatformPage) GetPage ¶
func (x *PlatformPage) GetPage() int64
func (*PlatformPage) GetPageSize ¶
func (x *PlatformPage) GetPageSize() int64
func (*PlatformPage) ProtoMessage ¶
func (*PlatformPage) ProtoMessage()
func (*PlatformPage) ProtoReflect ¶
func (x *PlatformPage) ProtoReflect() protoreflect.Message
func (*PlatformPage) Reset ¶
func (x *PlatformPage) Reset()
func (*PlatformPage) String ¶
func (x *PlatformPage) String() string
type PlatformPagination ¶
type PlatformPagination struct {
PageSize uint32 `protobuf:"varint,1,opt,name=PageSize,proto3" json:"PageSize,omitempty"` // 每页显示条数
Page uint32 `protobuf:"varint,2,opt,name=Page,proto3" json:"Page,omitempty"` // 当前页数
Total int64 `protobuf:"varint,3,opt,name=Total,proto3" json:"Total,omitempty"` // 总记录数
// contains filtered or unexported fields
}
func (*PlatformPagination) Descriptor
deprecated
func (*PlatformPagination) Descriptor() ([]byte, []int)
Deprecated: Use PlatformPagination.ProtoReflect.Descriptor instead.
func (*PlatformPagination) GetPage ¶
func (x *PlatformPagination) GetPage() uint32
func (*PlatformPagination) GetPageSize ¶
func (x *PlatformPagination) GetPageSize() uint32
func (*PlatformPagination) GetTotal ¶
func (x *PlatformPagination) GetTotal() int64
func (*PlatformPagination) ProtoMessage ¶
func (*PlatformPagination) ProtoMessage()
func (*PlatformPagination) ProtoReflect ¶
func (x *PlatformPagination) ProtoReflect() protoreflect.Message
func (*PlatformPagination) Reset ¶
func (x *PlatformPagination) Reset()
func (*PlatformPagination) String ¶
func (x *PlatformPagination) String() string
type SiteClient ¶
type SiteClient interface {
GetList(ctx context.Context, in *GetSiteListRequest, opts ...grpc.CallOption) (*GetSiteListResponse, error)
AddOrUpdateById(ctx context.Context, in *UpdateSiteByIdRequest, opts ...grpc.CallOption) (*UpdateSiteByIdResponse, error)
DeleteSiteById(ctx context.Context, in *DeleteSiteByIdRequest, opts ...grpc.CallOption) (*DeleteSiteByIdResponse, error)
}
SiteClient is the client API for Site 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 NewSiteClient ¶
func NewSiteClient(cc grpc.ClientConnInterface) SiteClient
type SiteItem ¶
type SiteItem struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` //站点名称
Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` //站点域名
Status int32 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"` // 1启用 2停用
BusinessId int64 `protobuf:"varint,4,opt,name=business_id,json=businessId,proto3" json:"business_id,omitempty"` //所属商户Id
Id int64 `protobuf:"varint,5,opt,name=id,proto3" json:"id,omitempty"`
BusinessName string `protobuf:"bytes,6,opt,name=business_name,json=businessName,proto3" json:"business_name,omitempty"` //所属商户名称
CreatedAt int64 `protobuf:"varint,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
UpdatedAt int64 `protobuf:"varint,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// contains filtered or unexported fields
}
func (*SiteItem) Descriptor
deprecated
func (*SiteItem) GetBusinessId ¶
func (*SiteItem) GetBusinessName ¶
func (*SiteItem) GetCreatedAt ¶
func (*SiteItem) GetUpdatedAt ¶
func (*SiteItem) ProtoMessage ¶
func (*SiteItem) ProtoMessage()
func (*SiteItem) ProtoReflect ¶
func (x *SiteItem) ProtoReflect() protoreflect.Message
type SiteServer ¶
type SiteServer interface {
GetList(context.Context, *GetSiteListRequest) (*GetSiteListResponse, error)
AddOrUpdateById(context.Context, *UpdateSiteByIdRequest) (*UpdateSiteByIdResponse, error)
DeleteSiteById(context.Context, *DeleteSiteByIdRequest) (*DeleteSiteByIdResponse, error)
// contains filtered or unexported methods
}
SiteServer is the server API for Site service. All implementations must embed UnimplementedSiteServer for forward compatibility
type UnimplementedAdminServer ¶
type UnimplementedAdminServer struct {
}
UnimplementedAdminServer must be embedded to have forward compatible implementations.
func (UnimplementedAdminServer) AdminUserBatchDel ¶
func (UnimplementedAdminServer) AdminUserBatchDel(context.Context, *AdminUserBatchDelRequest) (*AdminUserBatchDelResponse, error)
func (UnimplementedAdminServer) AdminUserInfo ¶
func (UnimplementedAdminServer) AdminUserInfo(context.Context, *AdminUserInfoRequest) (*AdminUserInfoResponse, error)
func (UnimplementedAdminServer) AdminUserListByIds ¶
func (UnimplementedAdminServer) AdminUserListByIds(context.Context, *AdminUserListByIdsRequest) (*AdminUserListByIdsResponse, error)
func (UnimplementedAdminServer) AdminUserListNotInIds ¶
func (UnimplementedAdminServer) AdminUserListNotInIds(context.Context, *AdminUserListNotInIdsRequest) (*AdminUserListNotInIdsResponse, error)
func (UnimplementedAdminServer) AdminUserNameList ¶
func (UnimplementedAdminServer) AdminUserNameList(context.Context, *AdminUserNameListRequest) (*AdminUserNameListResponse, error)
func (UnimplementedAdminServer) AdminUserSearch ¶
func (UnimplementedAdminServer) AdminUserSearch(context.Context, *AdminUserSearchRequest) (*AdminUserSearchResponse, error)
func (UnimplementedAdminServer) AdminUserUpdateStatus ¶
func (UnimplementedAdminServer) AdminUserUpdateStatus(context.Context, *AdminUserUpdateStatusRequest) (*AdminUserUpdateStatusResponse, error)
type UnimplementedBusinessServer ¶
type UnimplementedBusinessServer struct {
}
UnimplementedBusinessServer must be embedded to have forward compatible implementations.
func (UnimplementedBusinessServer) AddOrUpdateById ¶
func (UnimplementedBusinessServer) AddOrUpdateById(context.Context, *UpdateBusinessByIdRequest) (*UpdateBusinessByIdResponse, error)
func (UnimplementedBusinessServer) DeleteById ¶
func (UnimplementedBusinessServer) DeleteById(context.Context, *DeleteByIdRequest) (*DeleteByIdResponse, error)
func (UnimplementedBusinessServer) GetList ¶
func (UnimplementedBusinessServer) GetList(context.Context, *GetBusinessListRequest) (*GetListBusinessResponse, error)
type UnimplementedChannelServer ¶
type UnimplementedChannelServer struct {
}
UnimplementedChannelServer must be embedded to have forward compatible implementations.
func (UnimplementedChannelServer) AddOrUpdateById ¶
func (UnimplementedChannelServer) AddOrUpdateById(context.Context, *UpdateChannelByIdRequest) (*UpdateChannelByIdResponse, error)
func (UnimplementedChannelServer) DeleteChannelById ¶
func (UnimplementedChannelServer) DeleteChannelById(context.Context, *DeleteChannelByIdRequest) (*DeleteChannelByIdResponse, error)
func (UnimplementedChannelServer) GetBusinessCodeByDomain ¶
func (UnimplementedChannelServer) GetBusinessCodeByDomain(context.Context, *GetBusinessCodeByChannelRequest) (*GetBusinessCodeByChannelResponse, error)
func (UnimplementedChannelServer) GetList ¶
func (UnimplementedChannelServer) GetList(context.Context, *GetChannelListRequest) (*GetChannelListResponse, error)
type UnimplementedSiteServer ¶
type UnimplementedSiteServer struct {
}
UnimplementedSiteServer must be embedded to have forward compatible implementations.
func (UnimplementedSiteServer) AddOrUpdateById ¶
func (UnimplementedSiteServer) AddOrUpdateById(context.Context, *UpdateSiteByIdRequest) (*UpdateSiteByIdResponse, error)
func (UnimplementedSiteServer) DeleteSiteById ¶
func (UnimplementedSiteServer) DeleteSiteById(context.Context, *DeleteSiteByIdRequest) (*DeleteSiteByIdResponse, error)
func (UnimplementedSiteServer) GetList ¶
func (UnimplementedSiteServer) GetList(context.Context, *GetSiteListRequest) (*GetSiteListResponse, error)
type UnsafeAdminServer ¶
type UnsafeAdminServer interface {
// contains filtered or unexported methods
}
UnsafeAdminServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AdminServer will result in compilation errors.
type UnsafeBusinessServer ¶
type UnsafeBusinessServer interface {
// contains filtered or unexported methods
}
UnsafeBusinessServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BusinessServer will result in compilation errors.
type UnsafeChannelServer ¶
type UnsafeChannelServer interface {
// contains filtered or unexported methods
}
UnsafeChannelServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ChannelServer will result in compilation errors.
type UnsafeSiteServer ¶
type UnsafeSiteServer interface {
// contains filtered or unexported methods
}
UnsafeSiteServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SiteServer will result in compilation errors.
type UpdateBusinessByIdRequest ¶
type UpdateBusinessByIdRequest struct {
Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
SettlementName string `protobuf:"bytes,3,opt,name=settlement_name,json=settlementName,proto3" json:"settlement_name,omitempty"`
GoogleCode string `protobuf:"bytes,4,opt,name=google_code,json=googleCode,proto3" json:"google_code,omitempty"`
Status int32 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` // 1启用 2停用
Mark string `protobuf:"bytes,6,opt,name=mark,proto3" json:"mark,omitempty"`
Id int64 `protobuf:"varint,7,opt,name=id,proto3" json:"id,omitempty"`
Password string `protobuf:"bytes,8,opt,name=password,proto3" json:"password,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateBusinessByIdRequest) Descriptor
deprecated
func (*UpdateBusinessByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBusinessByIdRequest.ProtoReflect.Descriptor instead.
func (*UpdateBusinessByIdRequest) GetAccount ¶
func (x *UpdateBusinessByIdRequest) GetAccount() string
func (*UpdateBusinessByIdRequest) GetGoogleCode ¶
func (x *UpdateBusinessByIdRequest) GetGoogleCode() string
func (*UpdateBusinessByIdRequest) GetId ¶
func (x *UpdateBusinessByIdRequest) GetId() int64
func (*UpdateBusinessByIdRequest) GetMark ¶
func (x *UpdateBusinessByIdRequest) GetMark() string
func (*UpdateBusinessByIdRequest) GetName ¶
func (x *UpdateBusinessByIdRequest) GetName() string
func (*UpdateBusinessByIdRequest) GetPassword ¶
func (x *UpdateBusinessByIdRequest) GetPassword() string
func (*UpdateBusinessByIdRequest) GetSettlementName ¶
func (x *UpdateBusinessByIdRequest) GetSettlementName() string
func (*UpdateBusinessByIdRequest) GetStatus ¶
func (x *UpdateBusinessByIdRequest) GetStatus() int32
func (*UpdateBusinessByIdRequest) ProtoMessage ¶
func (*UpdateBusinessByIdRequest) ProtoMessage()
func (*UpdateBusinessByIdRequest) ProtoReflect ¶
func (x *UpdateBusinessByIdRequest) ProtoReflect() protoreflect.Message
func (*UpdateBusinessByIdRequest) Reset ¶
func (x *UpdateBusinessByIdRequest) Reset()
func (*UpdateBusinessByIdRequest) String ¶
func (x *UpdateBusinessByIdRequest) String() string
type UpdateBusinessByIdResponse ¶
type UpdateBusinessByIdResponse struct {
Resp *PlatformCommonResp `protobuf:"bytes,1,opt,name=resp,proto3" json:"resp,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateBusinessByIdResponse) Descriptor
deprecated
func (*UpdateBusinessByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBusinessByIdResponse.ProtoReflect.Descriptor instead.
func (*UpdateBusinessByIdResponse) GetResp ¶
func (x *UpdateBusinessByIdResponse) GetResp() *PlatformCommonResp
func (*UpdateBusinessByIdResponse) ProtoMessage ¶
func (*UpdateBusinessByIdResponse) ProtoMessage()
func (*UpdateBusinessByIdResponse) ProtoReflect ¶
func (x *UpdateBusinessByIdResponse) ProtoReflect() protoreflect.Message
func (*UpdateBusinessByIdResponse) Reset ¶
func (x *UpdateBusinessByIdResponse) Reset()
func (*UpdateBusinessByIdResponse) String ¶
func (x *UpdateBusinessByIdResponse) String() string
type UpdateChannelByIdRequest ¶
type UpdateChannelByIdRequest struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` //渠道名称
Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"` //域名地址
SiteId int64 `protobuf:"varint,4,opt,name=site_id,json=siteId,proto3" json:"site_id,omitempty"` //所属站点
Mark string `protobuf:"bytes,5,opt,name=mark,proto3" json:"mark,omitempty"`
Status int32 `protobuf:"varint,6,opt,name=status,proto3" json:"status,omitempty"` // 1启用 2停用 0全部
// contains filtered or unexported fields
}
func (*UpdateChannelByIdRequest) Descriptor
deprecated
func (*UpdateChannelByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateChannelByIdRequest.ProtoReflect.Descriptor instead.
func (*UpdateChannelByIdRequest) GetDomain ¶
func (x *UpdateChannelByIdRequest) GetDomain() string
func (*UpdateChannelByIdRequest) GetId ¶
func (x *UpdateChannelByIdRequest) GetId() int64
func (*UpdateChannelByIdRequest) GetMark ¶
func (x *UpdateChannelByIdRequest) GetMark() string
func (*UpdateChannelByIdRequest) GetName ¶
func (x *UpdateChannelByIdRequest) GetName() string
func (*UpdateChannelByIdRequest) GetSiteId ¶
func (x *UpdateChannelByIdRequest) GetSiteId() int64
func (*UpdateChannelByIdRequest) GetStatus ¶
func (x *UpdateChannelByIdRequest) GetStatus() int32
func (*UpdateChannelByIdRequest) ProtoMessage ¶
func (*UpdateChannelByIdRequest) ProtoMessage()
func (*UpdateChannelByIdRequest) ProtoReflect ¶
func (x *UpdateChannelByIdRequest) ProtoReflect() protoreflect.Message
func (*UpdateChannelByIdRequest) Reset ¶
func (x *UpdateChannelByIdRequest) Reset()
func (*UpdateChannelByIdRequest) String ¶
func (x *UpdateChannelByIdRequest) String() string
type UpdateChannelByIdResponse ¶
type UpdateChannelByIdResponse struct {
Resp *PlatformCommonResp `protobuf:"bytes,1,opt,name=resp,proto3" json:"resp,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateChannelByIdResponse) Descriptor
deprecated
func (*UpdateChannelByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateChannelByIdResponse.ProtoReflect.Descriptor instead.
func (*UpdateChannelByIdResponse) GetResp ¶
func (x *UpdateChannelByIdResponse) GetResp() *PlatformCommonResp
func (*UpdateChannelByIdResponse) ProtoMessage ¶
func (*UpdateChannelByIdResponse) ProtoMessage()
func (*UpdateChannelByIdResponse) ProtoReflect ¶
func (x *UpdateChannelByIdResponse) ProtoReflect() protoreflect.Message
func (*UpdateChannelByIdResponse) Reset ¶
func (x *UpdateChannelByIdResponse) Reset()
func (*UpdateChannelByIdResponse) String ¶
func (x *UpdateChannelByIdResponse) String() string
type UpdateSiteByIdRequest ¶
type UpdateSiteByIdRequest struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` //站点名称
Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"` //站点域名
BusinessId int64 `protobuf:"varint,4,opt,name=business_id,json=businessId,proto3" json:"business_id,omitempty"` //所属商户Id
Status int64 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` // 1启用 2停用 0全部
// contains filtered or unexported fields
}
func (*UpdateSiteByIdRequest) Descriptor
deprecated
func (*UpdateSiteByIdRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSiteByIdRequest.ProtoReflect.Descriptor instead.
func (*UpdateSiteByIdRequest) GetBusinessId ¶
func (x *UpdateSiteByIdRequest) GetBusinessId() int64
func (*UpdateSiteByIdRequest) GetDomain ¶
func (x *UpdateSiteByIdRequest) GetDomain() string
func (*UpdateSiteByIdRequest) GetId ¶
func (x *UpdateSiteByIdRequest) GetId() int64
func (*UpdateSiteByIdRequest) GetName ¶
func (x *UpdateSiteByIdRequest) GetName() string
func (*UpdateSiteByIdRequest) GetStatus ¶
func (x *UpdateSiteByIdRequest) GetStatus() int64
func (*UpdateSiteByIdRequest) ProtoMessage ¶
func (*UpdateSiteByIdRequest) ProtoMessage()
func (*UpdateSiteByIdRequest) ProtoReflect ¶
func (x *UpdateSiteByIdRequest) ProtoReflect() protoreflect.Message
func (*UpdateSiteByIdRequest) Reset ¶
func (x *UpdateSiteByIdRequest) Reset()
func (*UpdateSiteByIdRequest) String ¶
func (x *UpdateSiteByIdRequest) String() string
type UpdateSiteByIdResponse ¶
type UpdateSiteByIdResponse struct {
Resp *PlatformCommonResp `protobuf:"bytes,1,opt,name=resp,proto3" json:"resp,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateSiteByIdResponse) Descriptor
deprecated
func (*UpdateSiteByIdResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSiteByIdResponse.ProtoReflect.Descriptor instead.
func (*UpdateSiteByIdResponse) GetResp ¶
func (x *UpdateSiteByIdResponse) GetResp() *PlatformCommonResp
func (*UpdateSiteByIdResponse) ProtoMessage ¶
func (*UpdateSiteByIdResponse) ProtoMessage()
func (*UpdateSiteByIdResponse) ProtoReflect ¶
func (x *UpdateSiteByIdResponse) ProtoReflect() protoreflect.Message
func (*UpdateSiteByIdResponse) Reset ¶
func (x *UpdateSiteByIdResponse) Reset()
func (*UpdateSiteByIdResponse) String ¶
func (x *UpdateSiteByIdResponse) String() string