Documentation
¶
Overview ¶
Copyright 2019-2020 Axetroy. All rights reserved. Apache License 2.0.
Copyright 2019-2020 Axetroy. All rights reserved. Apache License 2.0.
Copyright 2019-2020 Axetroy. All rights reserved. Apache License 2.0.
Copyright 2019-2020 Axetroy. All rights reserved. Apache License 2.0.
Copyright 2019-2020 Axetroy. All rights reserved. Apache License 2.0.
Index ¶
- func GetProfile(c *controller.Context) (res schema.Response)
- func LoginWithUsername(c *controller.Context) (res schema.Response)
- func SearchUser(c *controller.Context) (res schema.Response)
- func SignUpWithUsername(c *controller.Context) (res schema.Response)
- func UpdatePassword(c *controller.Context) (res schema.Response)
- func UpdateProfile(c *controller.Context) (res schema.Response)
- type SearchUserParams
- type SignInParams
- type SignUpWithUsernameParams
- type UpdatePasswordParams
- type UpdateProfileParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProfile ¶
func GetProfile(c *controller.Context) (res schema.Response)
func LoginWithUsername ¶
func LoginWithUsername(c *controller.Context) (res schema.Response)
func SearchUser ¶
func SearchUser(c *controller.Context) (res schema.Response)
func SignUpWithUsername ¶
func SignUpWithUsername(c *controller.Context) (res schema.Response)
func UpdatePassword ¶
func UpdatePassword(c *controller.Context) (res schema.Response)
func UpdateProfile ¶
func UpdateProfile(c *controller.Context) (res schema.Response)
Types ¶
type SearchUserParams ¶
type SearchUserParams struct {
Account string `json:"account" form:"account" valid:"required~请输入搜索字段"` // 按用户名来搜索
}
type SignInParams ¶
type UpdatePasswordParams ¶
Click to show internal directories.
Click to hide internal directories.