Documentation ¶
Index ¶
- func CreateUserCredentials(c *gin.Context)
- func DeleteUserCredentials(c *gin.Context)
- func GetUserAccount(c *gin.Context)
- func GetUserCredentials(c *gin.Context)
- func GetUserList(c *gin.Context)
- func GetUserMember(c *gin.Context)
- func Load(r *gin.RouterGroup)
- func PostUserAccount(c *gin.Context)
- func PutUserClient(c *gin.Context)
- func PutUserPhone(c *gin.Context)
- func SetUserBaseInfo(c *gin.Context)
- type Account
- type CreateUserCredentialsReq
- type DeleteUserCredentialsReq
- type GetUsersReq
- type Pagination
- type PhoneChangeReq
- type SetUserBaseInfoReq
- type VerifyUserReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUserCredentials ¶
CreateUserCredentials @Tags open-apis/core @summary 新增用户证件(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body CreateUserCredentialsReq true "请求参数体" @Router /open-apis/core/user/credentials [post]
func DeleteUserCredentials ¶
DeleteUserCredentials @Tags open-apis/core @summary 删除用户证件(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body DeleteUserCredentialsReq true "请求参数体" @Router /open-apis/core/user/credentials [delete]
func GetUserAccount ¶
GetUserAccount @Tags open-apis/core @summary 账号列表(UserAccessToken) @Accept json @Produce json @Security bearer @Param page query int true "页码" @Param size query int true "页数" @Param name query string false "姓名" @Param phone query string false "手机" @Router /open-apis/core/user/account [get]
func GetUserCredentials ¶
GetUserCredentials @Tags open-apis/core @summary 获取用户证件信息(UserAccessToken) @Accept json @Produce json @Security bearer @Router /open-apis/core/user/credentials [get]
func GetUserList ¶
GetUserList @Tags open-apis/core @summary 用户列表(UserAccessToken) @Accept json @Produce json @Security bearer @Param page query int true "页码" @Param size query int true "页数" @Param name query string false "姓名" @Param phone query string false "手机" @Router /open-apis/core/user/list [get]
func GetUserMember ¶
GetUserMember @Tags open-apis/core @summary 租户的账号列表(TenantAccessToken) @Accept json @Produce json @Security bearer @Param page query int true "页码" @Param size query int true "页数" @Param name query string false "姓名" @Param phone query string false "手机" @Router /open-apis/core/user/member [get]
func Load ¶
func Load(r *gin.RouterGroup)
func PostUserAccount ¶
PostUserAccount @Tags open-apis/core @summary 新增账号(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body Account true "请求参数体" @Router /open-apis/core/user/account [post]
func PutUserClient ¶
PutUserClient @Tags open-apis/core @summary 解绑用户小程序(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body _UserPk true "请求参数体" @Router /open-apis/core/user/client [put]
func PutUserPhone ¶
PutUserPhone @Tags open-apis/core @summary 更换用户手机号(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body PhoneChangeReq true "请求参数体" @Router /open-apis/core/user/phone [put]
func SetUserBaseInfo ¶
SetUserBaseInfo @Tags open-apis/core @summary 修改用户基础信息(UserAccessToken) @Accept json @Produce json @Security bearer @Param params body SetUserBaseInfoReq true "请求参数体" @Router /open-apis/core/user/base_info [put]
Types ¶
type CreateUserCredentialsReq ¶
type CreateUserCredentialsReq struct { Name string `json:"name" form:"name" query:"name"` Serial string `json:"serial" form:"serial" query:"serial"` Type int32 `json:"type" form:"type" query:"type"` FrontFileName string `json:"front_file_name" form:"front_file_name" query:"front_file_name"` BackFileName string `json:"back_file_name" form:"back_file_name" query:"back_file_name"` }
type DeleteUserCredentialsReq ¶
type DeleteUserCredentialsReq struct {
Pk string `json:"pk" form:"pk" query:"pk"`
}
type GetUsersReq ¶
type GetUsersReq struct { Pagination Account }
type Pagination ¶
type PhoneChangeReq ¶
type SetUserBaseInfoReq ¶
type SetUserBaseInfoReq struct { Pk string `json:"pk" form:"pk" query:"pk"` Name string `json:"name" form:"name" query:"name"` IdCard string `json:"id_card" form:"id_card" query:"id_card"` Birthday string `json:"birthday" form:"birthday" query:"birthday"` Gender int32 `json:"gender" form:"gender" query:"gender"` Height string `json:"height" form:"height" query:"height"` Weight string `json:"weight" form:"weight" query:"weight"` }