types

package
v0.1.0-beta Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: GPL-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Code generated by goctl. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangePasswordReq

type ChangePasswordReq struct {
	Username    string `json:"username"`    // 用户名
	Password    string `json:"password"`    // 密码
	NewPassword string `json:"newPassword"` // 新密码
}

type GetByIdReq

type GetByIdReq struct {
	ID float64 `json:"id" form:"id"` // 主键ID
}

type PageReq

type PageReq struct {
	Page     int `json:"page"`     // 页码
	PageSize int `json:"pageSize"` // 每页大小
}

type RegisterReq

type RegisterReq struct {
	Username     string   `json:"userName"`
	Password     string   `json:"passWord"`
	NickName     string   `json:"nickName"`
	HeaderImg    string   `json:"headerImg"`
	AuthorityId  string   `json:"authorityId"`
	AuthorityIds []string `json:"authorityIds"`
}

type Response

type Response struct {
	Code int         `json:"code"`
	Msg  string      `json:"msg"`
	Data interface{} `json:"data"`
}

type SetUserAuthReq

type SetUserAuthReq struct {
	AuthorityId string `json:"authorityId"` // 角色ID
}

type SetUserAuthoritiesReq

type SetUserAuthoritiesReq struct {
	ID           uint     `json:"id"`
	AuthorityIds []string `json:"authorityIds"` // 角色ID
}

type SysUserReq

type SysUserReq struct {
	UUID      string `json:"uuid"`      // 用户UUID
	Username  string `json:"userName"`  // 用户登录名
	NickName  string `json:"nickName"`  // 用户昵称
	HeaderImg string `json:"headerImg"` // 用户头像
}

Jump to

Keyboard shortcuts

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