vo

package
v0.0.0-...-ae94dc8 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2019 License: LGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BootstrapTableVO

type BootstrapTableVO struct {
	Total int64       `json:"total"`
	Rows  interface{} `json:"rows"`
}

type UserVO

type UserVO struct {
	Id         int64  `json:"id" form:"id"`
	Username   string `json:"username" form:"username"`
	Enable     int    `json:"enable"`
	Appid      string `json:"appid" form:"appid"`
	Name       string `json:"name" form:"name"`
	Phone      string `json:"phone" form:"phone"`
	Email      string `json:"email" form:"email"`
	Userface   string `json:"userface" form:"userface"`
	CreateTime int64  `json:"create_time" form:"createTime"`
	UpdateTime int64  `json:"update_time" form:"updateTime"`
	Token      string `json:"token"`
}

前端需要的数据结构

func TansformUserVO

func TansformUserVO(token string, user *models.User) (uVO UserVO)

携带token

func TansformUserVOList

func TansformUserVOList(userList ...*models.User) (userVOList []UserVO)

用户列表,不带啊token

Jump to

Keyboard shortcuts

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