14 lines
316 B
Go
14 lines
316 B
Go
package repo
|
|
|
|
import (
|
|
"context"
|
|
"voucher/internal/biz/bo"
|
|
)
|
|
|
|
type OrderWechatRepo interface {
|
|
// Create 创建 OrderWechat
|
|
Create(ctx context.Context, req *bo.OrderWechatBo) (*bo.OrderWechatBo, error)
|
|
// GetByID 根据 ID 获取 OrderWechat
|
|
GetByID(ctx context.Context, id int32) (*bo.OrderWechatBo, error)
|
|
}
|