getuserinfo

package
v0.0.0-...-ca656e9 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(c *gin.Context)

func NewJsonData

func NewJsonData(user *model.User) data.Data

Types

type User

type User struct {
	Type         modeltype.UserType `json:"type"`
	Name         string             `json:"name"`
	Wechat       string             `json:"wechat"`
	Email        string             `json:"email"`
	Location     string             `json:"location"`
	Avatar       string             `json:"avatar"`
	Phone        string             `json:"phone"`
	TotalPrice   modeltype.Price    `json:"totalprice"`
	TotalBuy     modeltype.Total    `json:"totalbuy"`
	TotalGood    modeltype.Total    `json:"totalgood"`
	TotalJian    modeltype.Total    `json:"totaljian"`
	TotalShouHuo modeltype.Total    `json:"totalshouhuo"`
	TotalPingJia modeltype.Total    `json:"totalpingjia"`
}

func NewData

func NewData(user *model.User) User

Jump to

Keyboard shortcuts

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