voucher/internal/biz/repo/order_wechat.go

13 lines
301 B
Go

package repo
import (
"context"
"voucher/internal/biz/bo"
)
type OrderWechatRepo interface {
Create(ctx context.Context, req *bo.OrderWechatBo) (*bo.OrderWechatBo, error)
Success(ctx context.Context, id uint64, couponId string) error
Fail(ctx context.Context, id uint64, remark string) error
}