Documentation ¶
Overview ¶
* @Author: lihuan * @Date: 2021-12-13 20:17:50 * @LastEditors: lihuan * @LastEditTime: 2021-12-23 21:57:11 * @Email: 17719495105@163.com
Index ¶
- type ProductService
- func (p *ProductService) DeleteProduct(ctx *gin.Context)
- func (p *ProductService) GetBanner(ctx *gin.Context)
- func (p *ProductService) GetProduct(ctx *gin.Context)
- func (p *ProductService) GetProductList(ctx *gin.Context)
- func (p *ProductService) InrementProduct(ctx *gin.Context)
- func (p *ProductService) UpdateProduct(ctx *gin.Context)
- type UserService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProductService ¶
type ProductService struct{}
func NewProductService ¶
func NewProductService() *ProductService
func (*ProductService) DeleteProduct ¶
func (p *ProductService) DeleteProduct(ctx *gin.Context)
func (*ProductService) GetBanner ¶
func (p *ProductService) GetBanner(ctx *gin.Context)
func (*ProductService) GetProduct ¶
func (p *ProductService) GetProduct(ctx *gin.Context)
func (*ProductService) GetProductList ¶
func (p *ProductService) GetProductList(ctx *gin.Context)
func (*ProductService) InrementProduct ¶
func (p *ProductService) InrementProduct(ctx *gin.Context)
func (*ProductService) UpdateProduct ¶
func (p *ProductService) UpdateProduct(ctx *gin.Context)
type UserService ¶
type UserService struct{}
func NewUserService ¶
func NewUserService() *UserService
Click to show internal directories.
Click to hide internal directories.