Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HomeBrandAddLogic ¶
HomeBrandAddLogic 首页品牌信息
Author: LiuFeiHua Date: 2024/5/13 15:53
func NewHomeBrandAddLogic ¶
func NewHomeBrandAddLogic(ctx context.Context, svcCtx *svc.ServiceContext) HomeBrandAddLogic
func (*HomeBrandAddLogic) HomeBrandAdd ¶
func (l *HomeBrandAddLogic) HomeBrandAdd(req types.AddHomeBrandReq) (*types.AddHomeBrandResp, error)
HomeBrandAdd 添加首页品牌信息 1.根据brandIds查询品牌信息(pms-rpc) 2.添加首页品牌记录(sms-rpc) 3.修改品牌的推荐状态为推荐(pms-rpc)
type HomeBrandDeleteLogic ¶
HomeBrandDeleteLogic 首页品牌信息
Author: LiuFeiHua Date: 2024/5/13 15:53
func NewHomeBrandDeleteLogic ¶
func NewHomeBrandDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) HomeBrandDeleteLogic
func (*HomeBrandDeleteLogic) HomeBrandDelete ¶
func (l *HomeBrandDeleteLogic) HomeBrandDelete(req types.DeleteHomeBrandReq) (*types.DeleteHomeBrandResp, error)
HomeBrandDelete 删除首页品牌信息 1.删除sms_home_brand的记录(sms-rpc) 2.修改pms_brand记录的状态为不推荐(pms-rpc)
type HomeBrandListLogic ¶
HomeBrandListLogic 首页品牌信息
Author: LiuFeiHua Date: 2024/5/13 15:53
func NewHomeBrandListLogic ¶
func NewHomeBrandListLogic(ctx context.Context, svcCtx *svc.ServiceContext) HomeBrandListLogic
func (*HomeBrandListLogic) HomeBrandList ¶
func (l *HomeBrandListLogic) HomeBrandList(req types.ListHomeBrandReq) (*types.ListHomeBrandResp, error)
HomeBrandList 查询首页品牌信息
type UpdateHomeBrandSortLogic ¶ added in v0.0.2
UpdateHomeBrandSortLogic 首页品牌信息
Author: LiuFeiHua Date: 2024/5/13 15:53
func NewUpdateHomeBrandSortLogic ¶ added in v0.0.2
func NewUpdateHomeBrandSortLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateHomeBrandSortLogic
func (*UpdateHomeBrandSortLogic) UpdateHomeBrandSort ¶ added in v0.0.2
func (l *UpdateHomeBrandSortLogic) UpdateHomeBrandSort(req *types.UpdateHomeBrandSortReq) (resp *types.UpdateHomeBrandSortResp, err error)
UpdateHomeBrandSort 修改推荐品牌排序
type UpdateHomeBrandStatusLogic ¶ added in v0.0.2
UpdateHomeBrandStatusLogic 首页品牌信息
Author: LiuFeiHua Date: 2024/5/13 15:54
func NewUpdateHomeBrandStatusLogic ¶ added in v0.0.2
func NewUpdateHomeBrandStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateHomeBrandStatusLogic
func (*UpdateHomeBrandStatusLogic) UpdateHomeBrandStatus ¶ added in v0.0.2
func (l *UpdateHomeBrandStatusLogic) UpdateHomeBrandStatus(req *types.UpdateHomeBrandStatusReq) (resp *types.UpdateHomeBrandStatusResp, err error)
UpdateHomeBrandStatus 批量修改推荐品牌状态 1.修改sms_home_bran的记录推荐状态(sms-rpc) 2.修改cms_brand记录的推荐状态(cms-rpc)