Documentation ¶
Overview ¶
*
- Copyright 2014 @ z3q.net.
- name :
- author : jarryliu
- date : 2013-12-03 23:20
- description :
- history :
*
- Copyright 2014 @ z3q.net.
- name :
- author : jarryliu
- date : 2013-12-03 23:20
- description :
- history :
*
- Copyright 2014 @ z3q.net.
- name :
- author : jarryliu
- date : 2013-12-03 23:20
- description :
- history :
Index ¶
- type ContentQuery
- type MemberQuery
- func (this *MemberQuery) FilterMemberByUsrOrPhone(partnerId int, key string) []*dto.SimpleMember
- func (this *MemberQuery) GetLatestBalanceInfoByKind(memberId int, kind int) *member.BalanceInfoValue
- func (this *MemberQuery) GetMemberInviRank(partnerId int, allTeam bool, levelComp string, level int, startTime int64, ...) []*dto.RankMember
- func (this *MemberQuery) QueryBalanceLog(memberId, page, size int, where, orderBy string) (num int, rows []map[string]interface{})
- func (this *MemberQuery) QueryPagerOrder(memberId, page, size int, where, orderBy string) (num int, rows []map[string]interface{})
- type PartnerQuery
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentQuery ¶
func NewContentQuery ¶
func NewContentQuery(c db.Connector) *ContentQuery
type MemberQuery ¶
func NewMemberQuery ¶
func NewMemberQuery(c db.Connector) *MemberQuery
func (*MemberQuery) FilterMemberByUsrOrPhone ¶
func (this *MemberQuery) FilterMemberByUsrOrPhone(partnerId int, key string) []*dto.SimpleMember
筛选会员根据用户或者手机
func (*MemberQuery) GetLatestBalanceInfoByKind ¶
func (this *MemberQuery) GetLatestBalanceInfoByKind(memberId int, kind int) *member.BalanceInfoValue
获取最近的余额变动信息
func (*MemberQuery) GetMemberInviRank ¶
func (this *MemberQuery) GetMemberInviRank(partnerId int, allTeam bool, levelComp string, level int, startTime int64, endTime int64, num int) []*dto.RankMember
会员推广排名
func (*MemberQuery) QueryBalanceLog ¶
func (this *MemberQuery) QueryBalanceLog(memberId, page, size int, where, orderBy string) (num int, rows []map[string]interface{})
获取返现记录
func (*MemberQuery) QueryPagerOrder ¶
func (this *MemberQuery) QueryPagerOrder(memberId, page, size int, where, orderBy string) (num int, rows []map[string]interface{})
查询分页订单
type PartnerQuery ¶
func NewPartnerQuery ¶
func NewPartnerQuery(c gof.App) *PartnerQuery
func (*PartnerQuery) QueryPartnerIdByHost ¶
func (this *PartnerQuery) QueryPartnerIdByHost(host string) int
根据主机查询商户编号
Click to show internal directories.
Click to hide internal directories.