sys_api

package
v0.2.48 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliyunSdkConfRes

type AliyunSdkConfRes sys_model.AliyunSdkConf

type BaiduSdkConfRes

type BaiduSdkConfRes sys_model.BaiduSdkConf

type BankCardWithOCRRes

type BankCardWithOCRRes sys_model.BankCardWithOCR

type CaptchaIndexReq

type CaptchaIndexReq struct {
	g.Meta `` /* 128-byte string literal not displayed */
}

type CaptchaIndexRes

type CaptchaIndexRes struct {
	g.Meta `mime:"png" dc:"验证码二进制内容" `
}

type CreateAliyunSdkConfReq

type CreateAliyunSdkConfReq struct {
	g.Meta `` /* 179-byte string literal not displayed */
	sys_model.AliyunSdkConf
}

type CreateBaiduSdkConfReq

type CreateBaiduSdkConfReq struct {
	g.Meta `` /* 174-byte string literal not displayed */
	sys_model.BaiduSdkConf
}

type CreateCtyunSdkConfReq

type CreateCtyunSdkConfReq struct {
	g.Meta `` /* 176-byte string literal not displayed */
	sys_model.CtyunSdkConf
}

type CreateHuaweiSdkConfReq

type CreateHuaweiSdkConfReq struct {
	g.Meta `` /* 179-byte string literal not displayed */
	sys_model.HuaweiSdkConf
}

type CreateOrganizationInfoReq

type CreateOrganizationInfoReq struct {
	g.Meta `path:"/createOrganization" method:"post" summary:"创建组织架构|信息" tags:"组织架构"`
	sys_model.SysOrganizationInfo
}

type CreatePermissionReq

type CreatePermissionReq struct {
	g.Meta `path:"/createPermission" method:"post" summary:"新增权限|信息" tags:"权限"`
	sys_model.SysPermission
}

type CreateRoleInfoReq

type CreateRoleInfoReq struct {
	g.Meta `path:"/createRole" method:"post" summary:"新增角色|信息" tags:"角色"`
	sys_model.SysRole
}

type CreateTencentSdkConfReq

type CreateTencentSdkConfReq struct {
	g.Meta `` /* 180-byte string literal not displayed */
	sys_model.TencentSdkConf
}

type CreateUserReq

type CreateUserReq struct {
	g.Meta `path:"/createUser" method:"post" summary:"新增用户|信息" tags:"用户"`
	sys_model.UserInnerRegister
}

type CtyunSdkConfRes

type CtyunSdkConfRes sys_model.CtyunSdkConf

type DeleteAliyunSdkConfReq

type DeleteAliyunSdkConfReq struct {
	g.Meta     ``     /* 172-byte string literal not displayed */
	Identifier string `json:"identifier" v:"required#标识符参数错误" dc:"业务标识符"`
}

type DeleteBaiduSdkConfReq

type DeleteBaiduSdkConfReq struct {
	g.Meta     ``     /* 167-byte string literal not displayed */
	Identifier string `json:"identifier" v:"required#标识符参数错误" dc:"业务标识符"`
}

type DeleteCtyunSdkConfReq

type DeleteCtyunSdkConfReq struct {
	g.Meta     ``     /* 170-byte string literal not displayed */
	Identifier string `json:"identifier" v:"required#标识符参数错误" dc:"业务标识符"`
}

type DeleteHuaweiSdkConfReq

type DeleteHuaweiSdkConfReq struct {
	g.Meta     ``     /* 172-byte string literal not displayed */
	Identifier string `json:"identifier" v:"required#标识符参数错误" dc:"业务标识符"`
}

type DeleteOrganizationInfoReq

type DeleteOrganizationInfoReq struct {
	g.Meta `path:"/deleteOrganizationInfo" method:"post" summary:"根据ID删除组织架构|信息" tags:"组织架构"`
	Id     int64 `json:"id" v:"required#缺少ID参数" dc:"组织架构ID"`
}

type DeletePermissionReq

type DeletePermissionReq struct {
	g.Meta `path:"/deletePermission" method:"post" summary:"删除权限" tags:"权限"`
	Id     int64 `json:"id" v:"required#权限ID校验失败" dc:"权限ID"`
}

type DeleteRoleInfoReq

type DeleteRoleInfoReq struct {
	g.Meta `path:"/deleteRole" method:"post" summary:"删除角色" tags:"角色"`
	Id     int64 `json:"id" v:"required#角色ID校验失败" dc:"角色ID"`
}

type DeleteTencentSdkConfReq

type DeleteTencentSdkConfReq struct {
	g.Meta     ``     /* 174-byte string literal not displayed */
	Identifier string `json:"identifier" v:"required#标识符参数错误" dc:"业务标识符"`
}

type ForgotPasswordReq

type ForgotPasswordReq struct {
	g.Meta `path:"/forgotPassword" method:"post" summary:"忘记密码" tags:"鉴权"`
	sys_model.ForgotPassword
}

type ForgotPasswordRes

type ForgotPasswordRes struct {
	IdKey int64 `json:"id" dc:"ResetPassword 接口需要的key"`
}

type GetAliyunSdkConfListReq

type GetAliyunSdkConfListReq struct {
	g.Meta `` /* 180-byte string literal not displayed */
}

type GetAliyunSdkConfReq

type GetAliyunSdkConfReq struct {
	g.Meta     ``     /* 176-byte string literal not displayed */
	Identifier string `json:"identifier" v:"required#标识符参数错误" dc:"业务标识符"`
}

type GetAreaListByParentIdReq

type GetAreaListByParentIdReq struct {
	g.Meta   `path:"/area/getAreaListByParentId" method:"get" summary:"获取属于父级ID的地区列表" tags:"工具"`
	ParentId int64 `json:"parentId"    description:"父级ID" v:"min:-1" default:"-1"`
}

type GetBaiduSdkConfListReq

type GetBaiduSdkConfListReq struct {
	g.Meta `` /* 175-byte string literal not displayed */
}

type GetBaiduSdkConfReq

type GetBaiduSdkConfReq struct {
	g.Meta     ``     /* 171-byte string literal not displayed */
	Identifier string `json:"identifier" v:"required#标识符参数错误" dc:"业务标识符"`
}

type GetCtyunSdkConfListReq

type GetCtyunSdkConfListReq struct {
	g.Meta `` /* 178-byte string literal not displayed */
}

type GetCtyunSdkConfReq

type GetCtyunSdkConfReq struct {
	g.Meta     ``     /* 174-byte string literal not displayed */
	Identifier string `json:"identifier" v:"required#标识符参数错误" dc:"业务标识符"`
}

type GetFileByIdReq

type GetFileByIdReq struct {
	g.Meta `path:"/getFileById" method:"post" summary:"通过id获取文件" tags:"工具"`
}

type GetFileRes added in v0.2.24

type GetFileRes sys_entity.SysFile

type GetHuaweiSdkConfListReq

type GetHuaweiSdkConfListReq struct {
	g.Meta `` /* 180-byte string literal not displayed */
}

type GetHuaweiSdkConfReq

type GetHuaweiSdkConfReq struct {
	g.Meta     ``     /* 176-byte string literal not displayed */
	Identifier string `json:"identifier" v:"required#标识符参数错误" dc:"业务标识符"`
}

type GetOrganizationInfoReq

type GetOrganizationInfoReq struct {
	g.Meta `path:"/getOrganizationInfo" method:"post" summary:"获取组织架构|信息" tags:"组织架构"`
	Id     int64 `json:"id" v:"required#缺少ID参数" dc:"组织架构ID"`
}

type GetOrganizationListReq

type GetOrganizationListReq struct {
	g.Meta      `path:"/getOrganizationList" method:"post" summary:"根据ID获取下级组织架构|列表" tags:"组织架构"`
	Id          int64 `json:"id" v:"required#缺少ID参数" dc:"组织架构ID"`
	IsRecursive bool  `json:"isRecursive" dc:"是否递归"`
}

type GetOrganizationTreeReq

type GetOrganizationTreeReq struct {
	g.Meta `path:"/getOrganizationTree" method:"post" summary:"根据ID获取下级组织架构|树" tags:"组织架构"`
	Id     int64 `json:"id" v:"required#缺少ID参数" dc:"组织架构ID"`
}

type GetPermissionByIdReq

type GetPermissionByIdReq struct {
	g.Meta `path:"/getPermissionById" method:"post" summary:"根据权限ID获取权限|信息" tags:"权限"`
	Id     int64 `json:"id" v:"required#权限ID校验失败" dc:"权限ID"`
}

type GetPermissionByNameReq added in v0.2.2

type GetPermissionByNameReq struct {
	g.Meta `path:"/getPermissionByName" method:"post" summary:"根据权限Name获取权限|信息" tags:"权限"`
	Name   string `json:"name" v:"required|max-length:64#权限Name校验失败|仅支持最大字符长度64" dc:"权限Name"`
}

type GetPermissionListReq

type GetPermissionListReq struct {
	g.Meta      `path:"/getPermissionList" method:"post" summary:"根据ID获取下级权限|列表,返回列表" tags:"权限"`
	Id          int64 `json:"id" v:"min:0#权限ID校验失败" dc:"权限ID" default:"0"`
	IsRecursive bool  `json:"isRecursive" dc:"是否递归,true则显示所有子级"`
}

type GetPermissionTreeReq

type GetPermissionTreeReq struct {
	g.Meta `path:"/getPermissionTree" method:"post" summary:"根据ID获取下级权限|树" tags:"权限"`
	Id     int64 `json:"id" v:"required#权限ID校验失败" dc:"权限ID"`
}

type GetRolePermissionsReq added in v0.2.2

type GetRolePermissionsReq struct {
	g.Meta `path:"/getRolePermissionIds" method:"post" summary:"获取角色权限Ids" tags:"角色"`
	Id     int64 `json:"id" v:"required#角色ID校验失败" dc:"角色ID"`
}

type GetRoleUsersReq added in v0.2.2

type GetRoleUsersReq struct {
	g.Meta `path:"/getRoleUserList" method:"post" summary:"获取角色下的所有用户|列表" tags:"角色"`
	RoleId int64 `json:"roleId" v:"required#角色ID校验失败" dc:"角色ID"`
}

type GetTencentSdkConfListReq

type GetTencentSdkConfListReq struct {
	g.Meta `` /* 182-byte string literal not displayed */
}

type GetTencentSdkConfReq

type GetTencentSdkConfReq struct {
	g.Meta     ``     /* 178-byte string literal not displayed */
	Identifier string `json:"identifier" v:"required#标识符参数错误" dc:"业务标识符"`
}

type GetUserPermissionIdsReq

type GetUserPermissionIdsReq struct {
	g.Meta `path:"/getUserPermissionIds" method:"post" summary:"获取用户权限|ID数组" tags:"用户"`
	Id     int64 `json:"id" v:"required#用户ID校验失败" dc:"用户ID"`
}

type GetUserRolesReq added in v0.2.2

type GetUserRolesReq struct {
	g.Meta `path:"/getUserRoleList" method:"post" summary:"获取用户拥有的所有角色|列表" tags:"角色"`
	UserId int64 `json:"userId" v:"required#用户ID校验失败" dc:"用户ID"`
}

type HuaweiSdkConfRes

type HuaweiSdkConfRes sys_model.HuaweiSdkConf

type IDCardWithOCRRes

type IDCardWithOCRRes sys_model.IDCardWithOCR

type LoginByMobileReq

type LoginByMobileReq struct {
	g.Meta `path:"/loginByMobile" method:"post" summary:"手机号登录" tags:"鉴权"`
	sys_model.LoginByMobileInfo
}

type LoginByMobileRes

type LoginByMobileRes sys_model.TokenInfo

type LoginReq

type LoginReq struct {
	g.Meta `path:"/login" method:"post" summary:"登录" tags:"鉴权"`
	sys_model.LoginInfo
}

type LoginRes

type LoginRes sys_model.TokenInfo

type OrganizationInfoRes

type OrganizationInfoRes sys_entity.SysOrganization

type OrganizationInfoTreeListRes

type OrganizationInfoTreeListRes []sys_model.SysOrganizationTree

type OrganizationInfoTreeRes

type OrganizationInfoTreeRes sys_model.SysOrganizationTree

type QueryOrganizationListReq

type QueryOrganizationListReq struct {
	g.Meta `path:"/queryOrganizationList" method:"post" summary:"获取组织架构|列表" tags:"组织架构"`
	sys_model.SearchParams
}

type QueryPermissionListReq

type QueryPermissionListReq struct {
	g.Meta `path:"/queryPermissionList" method:"post" summary:"根据ID获取下级权限|列表,返回列表" tags:"权限"`
	sys_model.SearchParams
}

type QueryRoleListReq

type QueryRoleListReq struct {
	g.Meta `path:"/queryRoleList" method:"post" summary:"获取所有角色|列表" tags:"角色"`
	sys_model.SearchParams
}

type QueryUserListReq

type QueryUserListReq struct {
	g.Meta `path:"/queryUserList" method:"post" summary:"获取用户|列表" tags:"用户"`
	sys_model.SearchParams
}

type RegisterReq

type RegisterReq struct {
	g.Meta `path:"/register" method:"post" summary:"注册" tags:"鉴权"`
	sys_model.SysUserRegister
}

type RemoveRoleForUserReq added in v0.2.2

type RemoveRoleForUserReq struct {
	g.Meta `path:"/removeRoleForUser" method:"post" summary:"移除用户所拥有的角色" tags:"角色"`
	RoleId int64 `json:"roleId" v:"required#角色ID校验失败" dc:"角色ID"`
	UserId int64 `json:"userId" v:"required#用户ID校验失败" dc:"用户ID"`
}

type ResetPasswordReq

type ResetPasswordReq struct {
	g.Meta          `path:"/resetPassword" method:"post" summary:"重置密码" tags:"鉴权"`
	Password        string `json:"password" v:"required#请输入密码" dc:"登录密码"`
	ConfirmPassword string `` /* 129-byte string literal not displayed */
	IdKey           string `json:"idKey" v:"required#请输入KEY" dc:"KEY,通过ForgotPassword结构获取"`
}

type ResetUserPasswordReq

type ResetUserPasswordReq struct {
	g.Meta          `path:"/resetUserPasswordReq" method:"post" summary:"重置用户密码" tags:"用户"`
	Password        string `json:"password" v:"required#请输入密码" dc:"登录密码"`
	ConfirmPassword string `` /* 129-byte string literal not displayed */
	UserId          int64  `json:"userId" v:"required#请输入用户id" dc:"用户ID"`
}

type RoleInfoRes

type RoleInfoRes sys_entity.SysRole

type SendCaptchaBySmsReq

type SendCaptchaBySmsReq struct {
	g.Meta      `path:"/sendCaptchaBySms" method:"post" summary:"发送短信验证码" tags:"短信"`
	CaptchaType int `` /* 188-byte string literal not displayed */
}

type SetRoleForUserReq added in v0.2.2

type SetRoleForUserReq struct {
	g.Meta `path:"/setRoleForUser" method:"post" summary:"设置角色用户" tags:"角色"`
	RoleId int64 `json:"roleId" v:"required#角色ID校验失败" dc:"角色ID"`
	UserId int64 `json:"userId" v:"required#用户ID校验失败" dc:"用户ID"`
}

type SetRolePermissionsReq

type SetRolePermissionsReq struct {
	g.Meta        `path:"/setRolePermissions" method:"post" summary:"设置角色权限" tags:"角色"`
	Id            int64   `json:"id" v:"required#角色ID校验失败" dc:"角色ID"`
	PermissionIds []int64 `json:"permissionIds" v:"array#权限ID集合参数无效" dc:"权限ID集合"`
}

type SetUserPermissionIdsReq

type SetUserPermissionIdsReq struct {
	g.Meta        `path:"/setUserPermissionIds" method:"post" summary:"设置用户权限" tags:"用户"`
	Id            int64   `json:"id" v:"required#用户ID校验失败" dc:"用户ID"`
	PermissionIds []int64 `json:"permissionIds" v:"array#权限ID集合参数无效" dc:"权限ID集合"`
}

type SetUserRoleIdsReq added in v0.2.2

type SetUserRoleIdsReq struct {
	g.Meta  `path:"/setUserRoleIds" method:"post" summary:"设置用户角色" tags:"用户"`
	RoleIds []int64 `json:"roleIds" v:"required#角色ID校验失败" dc:"角色ID数组"`
	UserId  int64   `json:"userId" v:"required#用户ID校验失败" dc:"用户ID"`
}

type SetUsernameByIdReq

type SetUsernameByIdReq struct {
	g.Meta      `path:"/setUsername" method:"post" summary:"设置用户登陆名称" tags:"我的"`
	NewUsername string `json:"newUsername" v:"required#新用户名称" dc:"新的用户名称"`
}

type TencentSdkConfRes

type TencentSdkConfRes sys_model.TencentSdkConf

type UpdateAliyunSdkConfReq

type UpdateAliyunSdkConfReq struct {
	g.Meta `` /* 179-byte string literal not displayed */
	sys_model.AliyunSdkConf
}

type UpdateBaiduSdkConfReq

type UpdateBaiduSdkConfReq struct {
	g.Meta `` /* 174-byte string literal not displayed */
	sys_model.BaiduSdkConf
}

type UpdateCtyunSdkConfReq

type UpdateCtyunSdkConfReq struct {
	g.Meta `` /* 177-byte string literal not displayed */
	sys_model.CtyunSdkConf
}

type UpdateHuaweiSdkConfReq

type UpdateHuaweiSdkConfReq struct {
	g.Meta `` /* 179-byte string literal not displayed */
	sys_model.HuaweiSdkConf
}

type UpdateOrganizationInfoReq

type UpdateOrganizationInfoReq struct {
	g.Meta `path:"/updateOrganization" method:"post" summary:"更新组织架构|信息" tags:"组织架构"`
	sys_model.SysOrganizationInfo
}

type UpdatePermissionReq

type UpdatePermissionReq struct {
	g.Meta `path:"/updatePermission" method:"post" summary:"保存权限|信息" tags:"权限"`
	sys_model.SysPermission
}

type UpdateRoleInfoReq

type UpdateRoleInfoReq struct {
	g.Meta `path:"/updateRole" method:"post" summary:"更新角色|信息" tags:"角色"`
	sys_model.SysRole
}

type UpdateTencentSdkConfReq

type UpdateTencentSdkConfReq struct {
	g.Meta `` /* 181-byte string literal not displayed */
	sys_model.TencentSdkConf
}

type UpdateUserPasswordReq

type UpdateUserPasswordReq struct {
	g.Meta `path:"/updateUserPassword" method:"post" summary:"修改用户密码" tags:"我的"`
	sys_model.UpdateUserPassword
}

type UploadBankCardWithOCRReq

type UploadBankCardWithOCRReq struct {
	g.Meta `path:"/uploadBankCardWithOCR" method:"post" summary:"上传银行卡" tags:"工具"`
	sys_model.BankCardWithOCRInput
}

type UploadBusinessLicenseWithOCRReq

type UploadBusinessLicenseWithOCRReq struct {
	g.Meta `path:"/uploadBusinessLicenseWithOCR" method:"post" summary:"上传营业执照" tags:"工具"`
	sys_model.OCRBusinessLicense
}

type UploadBusinessLicenseWithOCRRes

type UploadBusinessLicenseWithOCRRes sys_model.BusinessLicenseWithOCR

type UploadIDCardWithOCRReq

type UploadIDCardWithOCRReq struct {
	g.Meta `path:"/uploadIDCardWithOCR" method:"post" summary:"上传身份证" tags:"工具"`
	sys_model.OCRIDCardFileUploadInput
}

type UploadReq

type UploadReq struct {
	g.Meta `path:"/upload" method:"post" summary:"文件上传" tags:"工具"`
	sys_model.FileUploadInput
}

type UploadRes added in v0.2.2

type UploadRes sys_model.FileUploadOutput

type UserInfoRes

type UserInfoRes sys_entity.SysUser

Jump to

Keyboard shortcuts

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