Documentation ¶
Index ¶
- type Dao
- func (dao *Dao) LogPaginate(c context.Context, oid int64, tp int, states []int64, curPage, pageSize int, ...) (logs []*adminlog.AdminLog, replyCount, reportCount, pageCount, total int64, ...)
- func (d *Dao) RecordPaginate(c context.Context, types []int64, mid, stime, etime int64, order, sort string, ...) (records []*model.Record, total int32, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dao ¶
type Dao struct {
// contains filtered or unexported fields
}
Dao search dao.
func (*Dao) LogPaginate ¶
func (dao *Dao) LogPaginate(c context.Context, oid int64, tp int, states []int64, curPage, pageSize int, startTime string, now time.Time) (logs []*adminlog.AdminLog, replyCount, reportCount, pageCount, total int64, err error)
LogPaginate paginating the admin logs for size of 'pageSize', and returning the number of reporting, the number of admin logs delete by administrator
Click to show internal directories.
Click to hide internal directories.