Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { /** * 添加首页推荐 */ Create(ctx context.Context, param []dto.SmsHomeRecommendProduct) (int64, error) /** * 修改推荐排序 */ UpdateSort(ctx context.Context, id int64, sort int32) (int64, error) /** * 批量删除推荐 */ Delete(ctx context.Context, ids []int64) (int64, error) /** * 批量更新推荐状态 */ UpdateRecommendStatus(ctx context.Context, ids []int64, recommendStatus int32) (int64, error) /** * 分页查询推荐 */ List(ctx context.Context, productName string, recommendStatus int32, pageSize, pageNum int) ( []dto.SmsHomeRecommendProduct, int64, error) // contains filtered or unexported methods }
首页人气推荐管理Service
Click to show internal directories.
Click to hide internal directories.