Documentation ¶
Index ¶
- type Service
- func (s *Service) AppDailyBill(c context.Context, mid int64, pn, ps int, ip string) (cb *model.ChargeBill, err error)
- func (s *Service) ArcUpdate(c context.Context, mid, aid int64, st int8, ip string) (err error)
- func (s *Service) ArchiveState(c context.Context, aid, mid int64, ip string) (data *elecMdl.ArcState, err error)
- func (s *Service) Balance(c context.Context, mid int64, ip string) (data *model.Balance, err error)
- func (s *Service) CheckIsFriend(c context.Context, data []*elecMdl.Rank, mid int64, ip string) (res []*elecMdl.Rank, err error)
- func (s *Service) CurrentRank(c context.Context, mid int64, ip string) (data []*model.Rank, err error)
- func (s *Service) DailyBill(c context.Context, mid int64, pn, ps int, bg, end, ip string) (data *model.BillList, err error)
- func (s *Service) Notify(c context.Context, ip string) (data *model.Notify, err error)
- func (s *Service) RecentElec(c context.Context, mid int64, pn, ps int, ip string) (l *model.RecentElecList, err error)
- func (s *Service) RecentRank(c context.Context, mid, size int64, ip string) (data []*model.Rank, err error)
- func (s *Service) Remark(c context.Context, mid, id int64, msg, ak, ck, ip string) (status int, err error)
- func (s *Service) RemarkDetail(c context.Context, mid, id int64, ip string) (rm *model.Remark, err error)
- func (s *Service) RemarkList(c context.Context, mid int64, pn, ps int, bg, end, ip string) (rms *model.RemarkList, err error)
- func (s *Service) Status(c context.Context, mid int64, ip string) (data *model.Status, err error)
- func (s *Service) TotalRank(c context.Context, mid int64, ip string) (data []*model.Rank, err error)
- func (s *Service) UpStatus(c context.Context, mid int64, spday int, ip string) (err error)
- func (s *Service) UserInfo(c context.Context, mid int64, ip string) (data *model.UserInfo, err error)
- func (s *Service) UserState(c context.Context, mid int64, ip, ak, ck string) (data *elecMdl.UserState, err error)
- func (s *Service) UserUpdate(c context.Context, mid int64, st int8, ip string) (data *model.UserInfo, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service struct.
func (*Service) AppDailyBill ¶
func (s *Service) AppDailyBill(c context.Context, mid int64, pn, ps int, ip string) (cb *model.ChargeBill, err error)
AppDailyBill daily settlement.
func (*Service) ArchiveState ¶
func (s *Service) ArchiveState(c context.Context, aid, mid int64, ip string) (data *elecMdl.ArcState, err error)
ArchiveState get arc elec state.
func (*Service) CheckIsFriend ¶
func (s *Service) CheckIsFriend(c context.Context, data []*elecMdl.Rank, mid int64, ip string) (res []*elecMdl.Rank, err error)
CheckIsFriend check paymid state.
func (*Service) CurrentRank ¶
func (s *Service) CurrentRank(c context.Context, mid int64, ip string) (data []*model.Rank, err error)
CurrentRank current rank.
func (*Service) DailyBill ¶
func (s *Service) DailyBill(c context.Context, mid int64, pn, ps int, bg, end, ip string) (data *model.BillList, err error)
DailyBill daily settlement.
func (*Service) RecentElec ¶
func (s *Service) RecentElec(c context.Context, mid int64, pn, ps int, ip string) (l *model.RecentElecList, err error)
RecentElec get recent charge info.
func (*Service) RecentRank ¶
func (s *Service) RecentRank(c context.Context, mid, size int64, ip string) (data []*model.Rank, err error)
RecentRank recent rank.
func (*Service) Remark ¶
func (s *Service) Remark(c context.Context, mid, id int64, msg, ak, ck, ip string) (status int, err error)
Remark reply a msg.
func (*Service) RemarkDetail ¶
func (s *Service) RemarkDetail(c context.Context, mid, id int64, ip string) (rm *model.Remark, err error)
RemarkDetail get remark detail.
func (*Service) RemarkList ¶
func (s *Service) RemarkList(c context.Context, mid int64, pn, ps int, bg, end, ip string) (rms *model.RemarkList, err error)
RemarkList get remark list.
func (*Service) TotalRank ¶
func (s *Service) TotalRank(c context.Context, mid int64, ip string) (data []*model.Rank, err error)
TotalRank total rank.
func (*Service) UserInfo ¶
func (s *Service) UserInfo(c context.Context, mid int64, ip string) (data *model.UserInfo, err error)
UserInfo get user elec info.
Click to show internal directories.
Click to hide internal directories.