sys_api

package
v0.3.14 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 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 AuditListRes

type AuditListRes sys_model.AuditListRes

type AuditRes

type AuditRes sys_model.Audit

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 DeleteLicenseReq

type DeleteLicenseReq struct {
	g.Meta `path:"/deleteLicense" method:"post" summary:"设置主体神审核编号" tags:"主体资质"`
	Id     int64 `json:"id" v:"required#主体ID校验失败" dc:"ID"`
}

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 GetAuditByIdReq

type GetAuditByIdReq struct {
	g.Meta `path:"/getAuditById" method:"post" summary:"根据资质ID获取资质审核|信息" tags:"审核管理"`
	Id     int64 `json:"id" dc:"资质审核ID"`
}

type GetAuditListReq

type GetAuditListReq struct {
	g.Meta `path:"/getAuditList" method:"post" summary:"获取审核信息|列表" tags:"审核管理"`
	base_model.Pagination
	State    int `json:"state" v:"in:-1,0,1#状态参数错误" dc:"过滤审核状态支持:-1不通过,0待审核,1通过" default:"0"`
	Category int `` /* 194-byte string literal not displayed */
}

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:"get" summary:"通过id获取文件" tags:"工具"`
	Id     int64 `json:"id" v:"required#资源ID错误" dc:"文件资源ID"`
}

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 GetLicenseByIdReq

type GetLicenseByIdReq struct {
	g.Meta `path:"/getLicenseById" method:"post" summary:"根据ID获取主体|信息" tags:"主体资质"`
	Id     int64 `json:"id" v:"required#主体ID校验失败" dc:"ID"`
}

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 GetPermissionByIdentifierReq

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

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 GetRoleByUserIdListReq

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

type GetRoleMemberIdsReq

type GetRoleMemberIdsReq struct {
	g.Meta `path:"/getRoleMemberIdsList" method:"post" summary:"获取角色成员Ids|列表" tags:"角色"`
	RoleId int64 `json:"roleId" v:"required#角色ID校验失败" dc:"角色ID"`
}

type GetRoleMemberReq

type GetRoleMemberReq struct {
	g.Meta `path:"/getRoleMemberList" method:"post" summary:"获取角色成员|列表" tags:"角色"`
	RoleId int64 `json:"roleId" v:"required#角色ID校验失败" dc:"角色ID"`
}

type GetRolePermissionsIdsReq

type GetRolePermissionsIdsReq struct {
	g.Meta `path:"/getRolePermissionIds" method:"post" summary:"获取角色权限Ids" tags:"角色"`
	Id     string `json:"id" 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 GetUserDetailReq

type GetUserDetailReq struct {
	g.Meta `path:"/getUserDetail" method:"post" summary:"查看详情" dc:"含完整手机号的详情" tags:"用户"`
	Id     int64 `json:"id" v:"required#用户ID校验失败" dc:"用户ID"`
}

type GetUserPermissionIdsReq

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

type HuaweiSdkConfRes

type HuaweiSdkConfRes sys_model.HuaweiSdkConf

type IDCardWithOCRRes

type IDCardWithOCRRes sys_model.IDCardWithOCR

type LicenseListRes

type LicenseListRes sys_model.LicenseListRes

type LicenseRes

type LicenseRes sys_model.LicenseRes

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_model.OrganizationInfo

type OrganizationInfoTreeListRes

type OrganizationInfoTreeListRes []*sys_model.SysOrganizationTree

type OrganizationInfoTreeRes

type OrganizationInfoTreeRes sys_model.SysOrganizationTree

type QueryLicenseListReq

type QueryLicenseListReq struct {
	g.Meta `path:"/queryLicenseList" method:"post" summary:"查询主体认证|列表" tags:"主体资质"`
	base_model.SearchParams
}

type QueryOrganizationListReq

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

type QueryPermissionListReq

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

type QueryRoleListReq

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

type QueryUserListReq

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

type RegisterReq

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

type RemoveRoleMemberReq

type RemoveRoleMemberReq struct {
	g.Meta `path:"/removeRoleMember" 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:"/resetUserPassword" method:"post" summary:"重置用户密码" tags:"用户"`
	Password        string `json:"password" v:"required#请输入密码" dc:"登录密码"`
	ConfirmPassword string `` /* 129-byte string literal not displayed */
	Id              int64  `json:"id" v:"required#用户ID校验失败" dc:"用户ID"`
}

type RoleInfoRes

type RoleInfoRes sys_model.RoleInfo

type SendCaptchaBySmsReq

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

type SetAuditApproveReq

type SetAuditApproveReq struct {
	g.Meta `path:"/setAuditApprove" method:"post" summary:"审批通过" tags:"审核管理"`
	Id     int64 `json:"id" v:"required|min:1#ID参数错误|ID必须大于0" dc:"审核ID"`
}

type SetAuditRejectReq

type SetAuditRejectReq struct {
	g.Meta `path:"/setAuditReject" method:"post" summary:"审批不通过" tags:"审核管理"`
	Id     int64  `json:"id" v:"required|min:1#ID参数错误|ID必须大于0" dc:"审核ID"`
	Reply  string `json:"reply" v:"required#请输入不通过原因" dc:"不通过原因"`
}

type SetLicenseStateReq

type SetLicenseStateReq struct {
	g.Meta `path:"/setLicenseState" method:"post" summary:"设置主体信息状态" tags:"主体资质"`
	Id     int64 `json:"id" v:"required#主体ID校验失败" dc:"ID"`
	State  int   `json:"state" v:"required#伙伴主体状态校验失败" dc:"状态:-1冻结、0未认证、1正常"`
}

type SetRoleMemberReq

type SetRoleMemberReq struct {
	g.Meta  `path:"/setRoleMember" method:"post" summary:"设置角色成员" tags:"角色"`
	RoleId  int64   `json:"roleId" v:"required#角色ID校验失败" dc:"角色ID"`
	UserIds []int64 `json:"userIds" v:"required#用户ID校验失败" dc:"用户IDS"`
}

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 SetUserMobileReq

type SetUserMobileReq struct {
	g.Meta   `path:"/setUserMobile" method:"post" summary:"修改用户手机号" tags:"我的"`
	Mobile   int64  `json:"mobile" v:"required|phone#请数据手机号|手机号错误" dc:"手机号"`
	Captcha  string `json:"captcha" v:"required#请输入手机验证码"`
	Password string `json:"password" v:"required#请输入账号密码" dc:"登录密码"`
}

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 SetUserRolesReq

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

type SetUserStateReq

type SetUserStateReq struct {
	g.Meta `path:"/setUserState" method:"post" summary:"设置用户状态" tags:"用户"`
	Id     int64 `json:"id" v:"required#用户ID校验失败" dc:"用户ID"`
	State  int   `json:"state" v:"required|in:-3,-2,-1,0,1#请选择状态|状态设置错误"`
}

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 UpdateLicenseReq

type UpdateLicenseReq struct {
	g.Meta `path:"/updateLicense" method:"post" summary:"更新主体认证|信息" tags:"主体资质"`
	sys_model.License
	Id int64 `json:"id" v:"required#主体ID校验失败" dc:"ID"`
}

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 UploadFileInfoRes

type UploadFileInfoRes sys_model.FileInfo

type UploadFileRes

type UploadFileRes sys_model.UploadFile

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 UserInfoListRes

type UserInfoListRes sys_model.UserInfoList

type UserInfoRes

type UserInfoRes sys_model.UserInfo

Jump to

Keyboard shortcuts

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