logic

package
v0.0.0-...-8625c6b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

* @Author: lihuan * @Date: 2021-12-22 20:41:17 * @LastEditors: lihuan * @LastEditTime: 2021-12-22 21:26:25 * @Email: 17719495105@163.com

* @Author: lihuan * @Date: 2021-12-18 12:48:16 * @LastEditors: lihuan * @LastEditTime: 2021-12-22 21:32:22 * @Email: 17719495105@163.com

* @Author: lihuan * @Date: 2021-12-21 19:52:35 * @LastEditors: lihuan * @LastEditTime: 2021-12-22 20:06:01 * @Email: 17719495105@163.com

* @Author: lihuan * @Date: 2021-12-20 21:05:42 * @LastEditors: lihuan * @LastEditTime: 2021-12-21 21:22:17 * @Email: 17719495105@163.com

* @Author: lihuan * @Date: 2021-12-22 20:41:17 * @LastEditors: lihuan * @LastEditTime: 2021-12-22 21:25:40 * @Email: 17719495105@163.com

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BannerToBannerListResp

func BannerToBannerListResp(banner *models.Banner) *product.Banner

func ProductToMapListResp

func ProductToMapListResp(res *models.Product) *product.ProductReply

Types

type DeleteProductLogic

type DeleteProductLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeleteProductLogic

func NewDeleteProductLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteProductLogic

func (*DeleteProductLogic) DeleteProduct

删除商品

type GetBannerLogic

type GetBannerLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetBannerLogic

func NewGetBannerLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetBannerLogic

func (*GetBannerLogic) GetBanner

获取轮播图

type GetProductListLogic

type GetProductListLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetProductListLogic

func NewGetProductListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetProductListLogic

func (*GetProductListLogic) GetProductList

获取产品列表

type GetProductLogic

type GetProductLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetProductLogic

func NewGetProductLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetProductLogic

func (*GetProductLogic) GetProduct

获取产品列表

type IncrementProductLogic

type IncrementProductLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewIncrementProductLogic

func NewIncrementProductLogic(ctx context.Context, svcCtx *svc.ServiceContext) *IncrementProductLogic

func (*IncrementProductLogic) IncrementProduct

新增产品

type UpdateProductLogic

type UpdateProductLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewUpdateProductLogic

func NewUpdateProductLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateProductLogic

func (*UpdateProductLogic) UpdateProduct

修改产品

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL