Documentation ¶
Overview ¶
*
- @Author: Gosin
- @Date: 2020/4/7 18:24
Index ¶
- type Bus
- type Member
- func (m *Member) AddMember(ctx context.Context, memberId *int, reply *bool) error
- func (m *Member) EditMember(ctx context.Context, memberBase *bus2.ArgsMemberBase, reply *bool) error
- func (m *Member) GetUserInfoByPhoneMatch(ctx context.Context, args *bus2.ArgsGetUserInfoByPhoneMatch, ...) error
- func (m *Member) Init() *Member
- func (m *Member) SearchMember(ctx context.Context, args *bus2.ArgsMemberParam, reply *bus2.MemberList) error
- func (m *Member) SetMemberConsumeCount(ctx context.Context, memberId *int, reply *bool) error
- type Shop
- func (s *Shop) GetShopInfo(ctx context.Context, shopId int, reply *news.ShopInfo) error
- func (s *Shop) Init() *Shop
- func (s *Shop) SetShop(ctx context.Context, shopId *int, reply *bool) error
- func (s *Shop) SetShopProperty(ctx context.Context, shopId *int, reply *bool) error
- func (s *Shop) SetShopSafeCode(ctx context.Context, busId *int, reply *bool) error
- func (s *Shop) SetShopStatus(ctx context.Context, shopId *int, reply *bool) error
- func (s *Shop) SetShopsActivity(ctx context.Context, args *cards.ArgsSetShopsActivity, reply *bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bus ¶
type Bus struct {
client.Baseclient
}
func (*Bus) SearchAdminBus ¶
func (bus *Bus) SearchAdminBus(ctx context.Context, args *bus.ArgsAdminBusAuditPage, reply *bus.ReplyAdminBusAuditPage) error
SearchAdminBus ES商户后台搜索
type Member ¶
type Member struct {
client.Baseclient
}
func (*Member) EditMember ¶
func (*Member) GetUserInfoByPhoneMatch ¶
func (m *Member) GetUserInfoByPhoneMatch(ctx context.Context, args *bus2.ArgsGetUserInfoByPhoneMatch, reply *bus2.ReplyGetUserInfoByPhoneMatch) error
根据手机号模糊匹配门店会员
func (*Member) SearchMember ¶
func (m *Member) SearchMember(ctx context.Context, args *bus2.ArgsMemberParam, reply *bus2.MemberList) error
店铺会员检索
type Shop ¶
type Shop struct {
client.Baseclient
}
func (*Shop) GetShopInfo ¶
根据门店id查询es 门店信息
func (*Shop) SetShopProperty ¶
设置门店的销量、平均分、平均消费价格
func (*Shop) SetShopSafeCode ¶
更新门店安全码颜色
func (*Shop) SetShopStatus ¶
更新门店status
func (*Shop) SetShopsActivity ¶
func (s *Shop) SetShopsActivity(ctx context.Context, args *cards.ArgsSetShopsActivity, reply *bool) error
更新门店的活动
Click to show internal directories.
Click to hide internal directories.