123456789101112 |
- package dal
- import (
- "xiaoniaokuaiyan.com/xiaoniao/entity"
- )
- type ICart interface {
- Get(customId int) ([]entity.ProductDB, error)
- Update(customId int, productId, quantity int, isAdd bool) (bool, error)
- Clear(customId int) (bool, error)
- Del(customId int, productIds []int) (bool, error)
- }
|