Initial commit

This commit is contained in:
Donny
2019-04-22 20:46:32 +08:00
commit 49ab8aadd1
25441 changed files with 4055000 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
package web
import (
"context"
"go-common/library/log"
)
// PgcFull pgc full .
func (s *Service) PgcFull(ctx context.Context, tp int, pn, ps int64, source string) (res interface{}, err error) {
if res, err = s.dao.PgcFull(ctx, tp, pn, ps, source); err != nil {
log.Error("s.dao.PgcFull error(%v)", err)
}
return
}
// PgcIncre pgc incre .
func (s *Service) PgcIncre(ctx context.Context, tp int, pn, ps, start, end int64, source string) (res interface{}, err error) {
if res, err = s.dao.PgcIncre(ctx, tp, pn, ps, start, end, source); err != nil {
log.Error("s.dao.PgcIncre error(%s)", err)
}
return
}