controller

package
v0.0.0-...-00b26e8 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2019 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBanners

func GetBanners(c *gin.Context)

@Summary 获取Banners

func GetBrandList

func GetBrandList(c *gin.Context)

@Summary 获取品牌库信息 @Produce json @Success 200 {string} json "{"time": 1561513181, "code": 200, "msg": "成功", "data" : {}}" @Failure 400 {string} json "{"time": 1561513181, "code": 400, "msg": "msg"}" @Router /api/tb-service/get-brand-list" [get]

func GetCreditHistoriesByUserId

func GetCreditHistoriesByUserId(c *gin.Context)

func GetDtkSearchGoods

func GetDtkSearchGoods(c *gin.Context)

func GetNineOpGoodsList

func GetNineOpGoodsList(c *gin.Context)

func GetRankingList

func GetRankingList(c *gin.Context)

func GetTop100

func GetTop100(c *gin.Context)

@Summary 获取热门搜索关键词 @Produce json @Success 200 {string} json "{"time": 1561513181, "code": 200, "msg": "成功", "data" : {}}" @Failure 400 {string} json "{"time": 1561513181, "code": 400, "msg": "msg"}" @Router /v1/category/get-top100" [get]

func GetUserById

func GetUserById(c *gin.Context)

@Summary 获取用户

func ListSimilerGoodsByOpen

func ListSimilerGoodsByOpen(c *gin.Context)

func ListSuperGoods

func ListSuperGoods(c *gin.Context)

func RegisterOrLogin

func RegisterOrLogin(c *gin.Context)

@Summary 用户注册 用户登录(密码) 用户登录(短信验证码) @Description register or login user by mobile,password,smsCode @Accept json @Produce json @Param mobile query string true "Mobile" @Param password query string false "Password" @Param smsCode query string false "SmsCode" @Param inviteCode query string false "InviteCode" @Success 200 {string} json "{"time": 1561513181, "code": 200, "msg": "成功", "data" : {}}" @Failure 400 {string} json "{"time": 1561513181, "code": 400, "msg": "msg"}" @Router /v1/registerOrLogin/ [post]

func Shake

func Shake(c *gin.Context)

func SignIn

func SignIn(c *gin.Context)

Types

type Dataoke

type Dataoke struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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