request

package
v0.0.0-...-576e411 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2024 License: Apache-2.0 Imports: 0 Imported by: 3

Documentation

Overview

* @Author: Yang * @Date: 2023-04-10 18:22:12 * @Description: 请填写简介

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Empty

type Empty struct{}

type GetAuthorityId

type GetAuthorityId struct {
	AuthorityId uint `json:"authorityId" form:"authorityId"` // 角色ID
}

GetAuthorityId Get role by id structure

type GetById

type GetById struct {
	ID int `json:"id" form:"id"` // 主键ID
}

GetById Find by id structure

func (*GetById) Uint

func (r *GetById) Uint() uint

type IdsReq

type IdsReq struct {
	Ids []int `json:"ids" form:"ids"`
}

type PageInfo

type PageInfo struct {
	Page     int    `json:"page" form:"page"`         // 页码
	PageSize int    `json:"pageSize" form:"pageSize"` // 每页大小
	Keyword  string `json:"keyword" form:"keyword"`   //关键字
}

PageInfo Paging common input parameter structure

type PageInfoByRoleIdAndOrgId

type PageInfoByRoleIdAndOrgId struct {
	Page     int    `json:"page" form:"page"`
	PageSize int    `json:"pageSize" form:"pageSize"`
	RoleId   int    `json:"roleId" form:"roleId"`
	OrgId    int    `json:"orgId" form:"orgId"`
	UserName string `json:"userName" form:"userName"`
	Phone    string `json:"phone" form:"phone"`
}

创建一个接受页码、每页大小、角色id和组织ID的结构

Jump to

Keyboard shortcuts

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