home

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {

	// Content 首页内容信息展示
	// @Tags HomeController
	// @Router /home/content [get]
	Content(*gin.Context)

	// RecommendProductList 分页获取推荐商品
	// @Tags HomeController
	// @Router /home/recommendProductList [get]
	RecommendProductList(*gin.Context)

	// GetProductCateList 获取首页商品分类
	// @Tags HomeController
	// @Router /home/productCateList/{parentId} [get]
	GetProductCateList(*gin.Context)

	// GetSubjectList 根据分类获取专题
	// @Tags HomeController
	// @Router /home/subjectList [get]
	GetSubjectList(*gin.Context)

	// HotProductList 分页获取人气推荐商品
	// @Tags HomeController
	// @Router /home/hotProductList [get]
	HotProductList(*gin.Context)

	// NewProductList 分页获取新品推荐商品
	// @Tags HomeController
	// @Router /home/newProductList [get]
	NewProductList(*gin.Context)
	// contains filtered or unexported methods
}

func New

func New() Handler

Jump to

Keyboard shortcuts

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