Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateRequest ¶
type UpdateRequest ¶
type UserController ¶
type UserController struct {
Service services.UserService
}
func (*UserController) DeleteBy ¶
func (instance *UserController) DeleteBy(id string) mvc.Response
删除用户
func (*UserController) Get ¶
func (instance *UserController) Get(ctx iris.Context) mvc.Response
获取用户列表
func (*UserController) Post ¶
func (instance *UserController) Post(ctx iris.Context) mvc.Response
创建用户
Click to show internal directories.
Click to hide internal directories.