activity_service.go 498 B

123456789101112131415
  1. package server
  2. import (
  3. "xiaoniaokuaiyan.com/xiaoniao/entity"
  4. )
  5. type ActivityService interface {
  6. AddReporter(params *entity.ActReporter) (interface{}, error)
  7. AddActInfo(item *entity.ActInfo) (interface{}, error)
  8. GetActInfo(mobile, source string) (interface{}, error)
  9. UpdateActInfo(item *entity.ActInfo) (interface{}, error)
  10. WithdrawActInfo(item *entity.ActInfo) (interface{}, error)
  11. AddInvoice(item *entity.ActInfo) (interface{}, error)
  12. GetInvoice(oid string) ([]entity.ActInfo, error)
  13. }