service

package
v0.0.0-...-35a45e1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2019 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddUser

func AddUser(addUserReq *val.AddUserReq) (err error)

AddUser 新增用户

func GetUser

func GetUser(id int) (getUserResp *val.GetUserResp, err error)

GetUser 查询用户 单个

func GetUsers

func GetUsers(getUsersReq *val.GetUsersReq) (usersResp *[]val.GetUserResp, err error)

GetUsers 查询用户 列表

func GetUsersPage

func GetUsersPage(getUsersWithPageReq *val.GetUsersWithPageReq) (pageModel *pager.PageModel, err error)

GetUsers 查询用户 分页

func RemoveUser

func RemoveUser(id int) (err error)

RemoveUser 删除用户

func UpdateUser

func UpdateUser(updateUserReq *val.UpdateUserReq) (err error)

UpdateUser 修改用户

Types

This section is empty.

Jump to

Keyboard shortcuts

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