1234567891011121314151617 |
- package server
- import (
- "xiaoniaokuaiyan.com/xiaoniao/cerror"
- "xiaoniaokuaiyan.com/xiaoniao/entity"
- )
- type CouponService interface {
- AddCoupon(*entity.DiscountTicket) (interface{}, error)
- ListCoupon(mobile string, status, pageIndex, pageSize int) (interface{}, error)
- Exchange(codeStr string, coustomId int, mobile string) (interface{}, cerror.CError)
- GetCoupon(id int) (interface{}, error)
- QueryFcode(string) (interface{}, error)
- GetCouponByOrderId(orderId string) (interface{}, error)
- CouponActList(mobile string, pid int) (interface{}, error)
- CouponReceive(id int, mobile string) (interface{}, error)
- }
|