service

package
v0.0.0-...-b0f014a Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2022 License: MIT Imports: 10 Imported by: 0

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

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

func (*UserService) GetSms

func (u *UserService) GetSms(ctx *gin.Context)

获取短信验证码

func (*UserService) GetUserInfo

func (u *UserService) GetUserInfo(ctx *gin.Context)

获取用户信息

func (*UserService) Login

func (u *UserService) Login(ctx *gin.Context)

登陆

func (*UserService) Register

func (u *UserService) Register(ctx *gin.Context)

注册

func (*UserService) UpdateUserInfo

func (u *UserService) UpdateUserInfo(ctx *gin.Context)

更新用户信息

Jump to

Keyboard shortcuts

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