sys_api

package
v0.8.17 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 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 `` /* 131-byte string literal not displayed */
}

type CaptchaIndexRes

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

type CreateAliyunSdkConfReq

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

type CreateBaiduSdkConfReq

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

type CreateCtyunSdkConfReq

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

type CreateHuaweiSdkConfReq

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

type CreateIndustryReq added in v0.7.0

type CreateIndustryReq struct {
	g.Meta `path:"/createIndustry" method:"post" summary:"创建行业" tags:"行业类别"`
	sys_model.SysIndustry
}

type CreateInviteReq added in v0.5.7

type CreateInviteReq struct {
	g.Meta `path:"/createInvite" method:"post" summary:"创建邀约信息|信息" tags:"邀约"`
	sys_model.Invite
}

type CreateMenuReq added in v0.4.3

type CreateMenuReq struct {
	g.Meta `path:"/createMenu" method:"post" summary:"创建菜单" tags:"菜单"`
	sys_model.SysMenu
}

type CreateMessageReq added in v0.7.2

type CreateMessageReq struct {
	g.Meta `path:"/createMessage" method:"post" summary:"添加消息|信息" tags:"消息管理"`

	sys_model.SysMessage
}

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 `` /* 183-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     ``     /* 175-byte string literal not displayed */
	Identifier string `json:"identifier" v:"required#标识符参数错误" dc:"业务标识符"`
}

type DeleteBaiduSdkConfReq

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

type DeleteCtyunSdkConfReq

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

type DeleteFrontSettingReq added in v0.8.17

type DeleteFrontSettingReq struct {
	g.Meta `` /* 155-byte string literal not displayed */

	Name string `json:"name" dc:"系统配置的名称"`
}

type DeleteHuaweiSdkConfReq

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

type DeleteIndustryReq added in v0.7.0

type DeleteIndustryReq struct {
	g.Meta `path:"/deleteIndustry" method:"post" summary:"删除行业" tags:"行业类别"`
	Id     int64 `json:"id" v:"required#行业ID校验失败" dc:"行业ID"`
}

type DeleteInviteReq added in v0.5.7

type DeleteInviteReq struct {
	g.Meta `path:"/deleteInvite" method:"post" summary:"删除邀约信息|信息" tags:"邀约"`
	Id     int64 `json:"id" v:"required#邀约ID校验失败" dc:"邀约ID"`
}

type DeleteLicenseReq

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

type DeleteMenuReq added in v0.4.3

type DeleteMenuReq struct {
	g.Meta `path:"/deleteMenu" 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 DeleteSettingReq added in v0.4.2

type DeleteSettingReq struct {
	g.Meta `` /* 144-byte string literal not displayed */

	Name string `json:"name" dc:"系统配置的名称"`
}

type DeleteTencentSdkConfReq

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

type DetectAuthReq added in v0.7.3

type DetectAuthReq struct {
	g.Meta    `path:"/detectAuth" method:"POST" tags:"认证/身份验证" summary:"实名核身鉴权"`
	IdCard    string `json:"idCard" dc:"身份证号码" v:"required#身份证号码不能为空"`
	Name      string `json:"name" dc:"姓名" v:"required#姓名不能为空"`
	ReturnUrl string `json:"returnUrl" dc:"认证结束后重定向的回调链接地址。最长长度1024位。" `
}

type FaceAuthCallbackReq added in v0.7.13

type FaceAuthCallbackReq struct {
	g.Meta       `path:"/startAdvFaceAuth" method:"GET" tags:"认证/人脸核身" summary:"人脸核身回调地址"`
	Code         string `json:"code" dc:"人脸核身结果的返回码,0 表示人脸核身成功,其他错误码表示失败。" `
	OrderNo      string `json:"orderNo" dc:"本次人脸核身上送的订单号。" `
	H5faceId     string `json:"h5faceId" dc:"本次请求返回的唯一标识,此信息为本次人脸核身上传的信息。" `
	NewSignature string `json:"newSignature" dc:"对 URL 参数 App ID、orderNo 和 SIGN ticket、code 的签名。" `
	LiveRate     string `json:"liveRate" 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 ForgotUserNameReq added in v0.5.4

type ForgotUserNameReq struct {
	g.Meta        `path:"/forgotUserName" method:"post" summary:"忘记用户名" tags:"鉴权"`
	Captcha       string `json:"captcha" v:"required#验证吗不能为空" dc:"验证码"`
	MobileOrEmail string `json:"mobileOrEmail" v:"required-with:phone|required-with:email#邮箱或手机号至少写一个" dc:"邮箱或手机号"`
}

type GetAiSummaryReq added in v0.8.9

type GetAiSummaryReq struct {
	g.Meta     `path:"/getSummary" method:"POST" tags:"工具/文字分析" summary:"AI文字分析总结"`
	Text       string `json:"text" dc:"需要分析的内容"`
	Identifier string `` /* 289-byte string literal not displayed */
}

type GetAliyunSdkConfListReq

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

type GetAliyunSdkConfReq

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

type GetAreaListByLevelReq added in v0.7.8

type GetAreaListByLevelReq struct {
	g.Meta `path:"/area/getAreaListByLevel" method:"get" summary:"获取指定级别的地区列表" tags:"工具"`
	Level  int `` /* 163-byte string literal not displayed */
}

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 GetBaiduSdkConfListReq

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

type GetBaiduSdkConfReq

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

type GetCtyunSdkConfListReq

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

type GetCtyunSdkConfReq

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

type GetDetectAuthResultReq added in v0.7.3

type GetDetectAuthResultReq struct {
	g.Meta   `path:"/getDetectAuthResult" method:"POST" tags:"认证/身份验证" summary:"获取实名核身鉴权结果"`
	BizToken string `` /* 138-byte string literal not displayed */

}

type GetFileByIdReq

type GetFileByIdReq struct {
	g.Meta `path:"/getFileById" method:"get" summary:"通过id获取文件" tags:"工具"`
	Id     int64 `json:"id" v:"required#资源ID错误" dc:"文件资源ID"`
}

type GetFileReq added in v0.4.3

type GetFileReq struct {
	g.Meta `path:"/getFile" method:"get" summary:"获取图片" tags:"工具"`
	Sign   string `json:"sign" dc:"签名数据,组成部分:(srcBase64 + srcMd5 + fileId) ==> md5加密"`
	Path   string `json:"path" dc:"文件Src的base64编码后的数据"`
	Id     int64  `json:"id" dc:"文件id"`
	CId    int64  `json:"cid" dc:"缓存id"`

	//  拓展图片处理的参数。。
	StyleStr string `` /* 297-byte string literal not displayed */
}

type GetFrontSettingByNameReq added in v0.8.17

type GetFrontSettingByNameReq struct {
	g.Meta `` /* 141-byte string literal not displayed */

	Name string `json:"name" dc:"系统配置的名称"`

	base_model.SearchParams
}

type GetHuaweiSdkConfListReq

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

type GetHuaweiSdkConfReq

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

type GetIndustryByIdReq added in v0.7.0

type GetIndustryByIdReq struct {
	g.Meta `path:"/getIndustryById" method:"post" summary:"根据行业ID获取行业|信息" tags:"行业类别"`
	Id     int64 `json:"id" v:"required#行业ID校验失败" dc:"行业ID"`
}

type GetIndustryTreeReq added in v0.7.0

type GetIndustryTreeReq struct {
	g.Meta `path:"/getIndustryTree" method:"post" summary:"获取行业树" tags:"行业类别"`
	Id     int64 `json:"id" v:"required#行业ID校验失败" dc:"行业ID"`
}

type GetInviteByIdReq added in v0.5.7

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

type GetLicenseByIdReq

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

type GetMenuByIdReq added in v0.4.3

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

type GetMenuTreeReq added in v0.4.3

type GetMenuTreeReq struct {
	g.Meta `path:"/getMenuTree" method:"post" summary:"获取菜单树" tags:"菜单"`
	Id     int64 `json:"id" v:"required#菜单ID校验失败" dc:"菜单ID"`
}

type GetMessageByIdReq added in v0.7.2

type GetMessageByIdReq struct {
	g.Meta `path:"/getMessageById" method:"post" summary:"根据id查询消息|信息" tags:"消息管理"`
	Id     int64 `json:"id"  v:"required#消息Id不能为空"`
}

type GetNerChEcomReq added in v0.7.3

type GetNerChEcomReq struct {
	g.Meta `path:"/getNerChEcom" method:"POST" tags:"工具/中文分词" summary:"中文分词"`
	Text   string `json:"text" 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 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   int   `json:"type" dc:"权限类型:1Api 2Menu"`
}

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     int64 `json:"id" v:"required#角色ID校验失败" dc:"角色ID"`
}

type GetSettingByNameReq added in v0.4.2

type GetSettingByNameReq struct {
	g.Meta `` /* 130-byte string literal not displayed */

	Name string `json:"name" dc:"系统配置的名称"`

	base_model.SearchParams
}

type GetTencentSdkConfListReq

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

type GetTencentSdkConfReq

type GetTencentSdkConfReq struct {
	g.Meta     ``     /* 181-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"`
	Include []string `json:"include" dc:"需要附加数据的返回值字段集,如果没有填写,默认不附加数据"`
}

type GetUserMessageReq added in v0.7.2

type GetUserMessageReq struct {
	g.Meta `path:"/getUserMessage" method:"post" summary:"查询登陆用户的消息|列表" tags:"消息管理"`

	base_model.SearchParams
}

type GetUserPermissionIdsReq

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

type HasUnReadMessageReq added in v0.7.2

type HasUnReadMessageReq struct {
	g.Meta `path:"/hasUnReadMessage" method:"post" summary:"获取未读消息数量" tags:"消息管理"`
	Type   int `json:"type" dc:"消息类型"`
}

type HuaweiSdkConfRes

type HuaweiSdkConfRes sys_model.HuaweiSdkConf

type IDCardWithOCRRes

type IDCardWithOCRRes sys_model.IDCardWithOCR

type ImportIndustryReq added in v0.7.0

type ImportIndustryReq struct {
	g.Meta `path:"/importIndustry" method:"post" summary:"导入行业" tags:"行业类别"`
	List   []Info `json:"list"`
}

type Info added in v0.7.0

type Info struct {
	BigIndustryInfo struct {
		BigIndustryId   int    `json:"big_industry_id"`
		BigIndustryName string `json:"big_industry_name"`
	} `json:"big_industry_info"`
	IndustryCategoryList []struct {
		IndustryCategoryInfo struct {
			CategoryId            int    `json:"category_id"`
			CategoryName          string `json:"category_name"`
			CategoryDesc          string `json:"category_desc"`
			QualificationsType    int    `json:"qualifications_type"`
			QualificationsOptions int    `json:"qualifications_options"`
			QualificationsGuide   string `json:"qualifications_guide"`
			BigIndustryInfo       struct {
				BigIndustryId   int         `json:"big_industry_id"`
				BigIndustryName interface{} `json:"big_industry_name"`
			} `json:"big_industry_info"`
			SubjectInformationDepend int    `json:"subject_information_depend"`
			QualificationSample      string `json:"qualification_sample"`
		} `json:"industry_category_info"`
		SettlementRuleInfo struct {
			SettlementRuleId          int         `json:"settlement_rule_id"`
			MerchantCategory          int         `json:"merchant_category"`
			MerchantEntityType        int         `json:"merchant_entity_type"`
			SettlementRuleDesc        string      `json:"settlement_rule_desc"`
			CashFlow                  int         `json:"cash_flow"`
			RateTemplateId            interface{} `json:"rate_template_id"`
			RateDesc                  string      `json:"rate_desc"`
			Rate                      int         `json:"rate"`
			BillingCycleDesc          string      `json:"billing_cycle_desc"`
			LimitType                 int         `json:"limit_type"`
			CreditCardRestrictions    int         `json:"credit_card_restrictions"`
			SpecialMerchantType       int         `json:"special_merchant_type"`
			SettlementPackageId       string      `json:"settlement_package_id"`
			IndustryOverview          string      `json:"industry_overview"`
			IndustryCategory          int         `json:"industry_category"`
			RateDecimal               string      `json:"rate_decimal"`
			MerchantSpecialAttributes int         `json:"merchant_special_attributes"`
		} `json:"settlement_rule_info"`
	} `json:"industry_category_list"`
}

type LivenessRecognitionReq added in v0.7.3

type LivenessRecognitionReq struct {
	g.Meta       `path:"/livenessRecognition" method:"POST" tags:"认证/身份验证" summary:"活体人脸核身"`
	IdCard       string `json:"idCard" dc:"身份证号码" v:"required#身份证号码不能为空"`
	Name         string `json:"name" dc:"姓名" v:"required#姓名不能为空"`
	LivenessType string `` /* 194-byte string literal not displayed */
}

type LoginByMailReq added in v0.4.17

type LoginByMailReq struct {
	g.Meta `path:"/loginByMail" method:"post" summary:"邮箱登录" tags:"鉴权"`
	sys_model.LoginByMailInfo
}

type LoginByMobileReq

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

type LoginReq

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

type MyInviteCodeListReq added in v0.5.7

type MyInviteCodeListReq struct {
	g.Meta `path:"/myInviteCodeList" method:"post" summary:"我的邀约码|列表" tags:"邀约"`
}

type MyMenusReq added in v0.4.3

type MyMenusReq struct {
	g.Meta `path:"/getMenus" method:"post" summary:"我的菜单|树" tags:"我的"`
}

type MyPermissionsReq added in v0.4.3

type MyPermissionsReq struct {
	g.Meta `path:"/getPermissions" method:"post" summary:"我的权限|列表" tags:"我的"`
}

type MyPersonLicenseAuditReq added in v0.8.12

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

type MyPersonLicenseReq added in v0.8.8

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

type OrganizationInfoRes

type OrganizationInfoRes sys_model.OrganizationInfo

type OrganizationInfoTreeListRes

type OrganizationInfoTreeListRes []*sys_model.SysOrganizationTree

type OrganizationInfoTreeRes

type OrganizationInfoTreeRes sys_model.SysOrganizationTree

type QueryAuditListReq added in v0.4.3

type QueryAuditListReq struct {
	g.Meta `path:"/queryAuditList" method:"post" summary:"获取审核信息|列表" tags:"审核管理"` // 券 个人资质 主体等业务类型,根据下面过滤字段进行筛选
	base_model.SearchParams
}

type QueryFaceRecordReq added in v0.7.13

type QueryFaceRecordReq struct {
	g.Meta  `path:"/queryFaceRecord" method:"POST" tags:"认证/人脸核身" summary:"人脸核身结果查询"`
	OrderNo string `json:"orderNo" dc:"订单号" v:"required#人脸核身订单号不能为空"`
}

type QueryFrontSettingListReq added in v0.8.17

type QueryFrontSettingListReq struct {
	g.Meta `` /* 147-byte string literal not displayed */
	base_model.SearchParams
}

type QueryInviteListReq added in v0.5.7

type QueryInviteListReq struct {
	g.Meta `path:"/queryInviteList" method:"post" summary:"查询邀约|列表" tags:"邀约"`
	base_model.SearchParams
}

type QueryLicenseListReq

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

type QueryMessageReq added in v0.7.2

type QueryMessageReq struct {
	g.Meta `path:"/queryMessage" 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 QuerySettingListReq added in v0.4.2

type QuerySettingListReq struct {
	g.Meta `` /* 136-byte string literal not displayed */
	base_model.SearchParams
}

type QueryUserListReq

type QueryUserListReq struct {
	g.Meta `path:"/queryUserList" method:"post" summary:"获取用户|列表" tags:"用户"`
	base_model.SearchParams
	Include []string `json:"include" dc:"需要附加数据的返回值字段集,如果没有填写,默认不附加数据"`
}

type RefreshJwtTokenReq added in v0.7.17

type RefreshJwtTokenReq struct {
	g.Meta `path:"/refreshJwtToken" method:"post" summary:"刷新用户jwtToken" tags:"鉴权"`
}

type RegisterByMobileOrMailReq added in v0.4.17

type RegisterByMobileOrMailReq struct {
	g.Meta `path:"/registerByMobileOrMail" method:"post" summary:"根据手机号或邮箱注册" tags:"鉴权"`
	sys_model.SysUserRegisterByMobileOrMail
}

type RegisterReq

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

type ReleaseMessageReq added in v0.7.2

type ReleaseMessageReq struct {
	g.Meta `path:"/releaseMessage" method:"post" summary:"发送消息" tags:"消息管理"`
}

type RemoveRoleMemberReq

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

type ResetPasswordReq

type ResetPasswordReq struct {
	g.Meta          `path:"/resetPassword" method:"post" summary:"重置密码" tags:"鉴权"`
	Password        string `json:"password" v:"required#请输入密码" dc:"登录密码" v:"min-length:6#密码最短为6位"`
	ConfirmPassword string `` /* 166-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:"登录密码" v:"min-length:6#密码最短为6位"`
	ConfirmPassword string `` /* 166-byte string literal not displayed */
	Id              int64  `json:"id" v:"required#用户ID校验失败" dc:"用户ID"`
}

type RoleInfoRes

type RoleInfoRes sys_model.RoleInfo

type SaveFrontSettingReq added in v0.8.17

type SaveFrontSettingReq struct {
	g.Meta `` /* 169-byte string literal not displayed */

	sys_model.SysFrontSettings
}

type SaveSettingReq added in v0.5.14

type SaveSettingReq struct {
	g.Meta `path:"/saveSetting" method:"POST" tags:"系统配置" summary:"保存配置|信息" dc:"保存系统配置"`

	sys_model.SysSettings
}

type SendCaptchaByMailReq added in v0.4.17

type SendCaptchaByMailReq struct {
	g.Meta `path:"/sendCaptchaByMail" method:"post" summary:"发送邮箱验证码" tags:"验证码"`
	//CaptchaType int    `json:"captchaType" v:"required|in:1,2,4,8,16#验证码类型错误|参路校验失败" dc:"验证码类型:1注册,2登录,4找回用户名/修改用户名,8找回密码/重置密码,16设置手机号码"`
	CaptchaType int `` /* 222-byte string literal not displayed */

	Mail string `json:"mail" v:"required|email#邮箱不能为空|邮箱格式错误" dc:"邮箱"`
}

type SendCaptchaBySmsReq

type SendCaptchaBySmsReq struct {
	g.Meta `path:"/sendCaptchaBySms" method:"post" summary:"发送短信验证码" tags:"验证码"`
	//CaptchaType int    `json:"captchaType" v:"required|in:1,2,4,8,16#验证码类型错误|参路校验失败" dc:"验证码类型:1注册,2登录,4找回用户名/修改用户名,8找回密码/重置密码,16设置手机号码"`
	CaptchaType int `` /* 222-byte string literal not displayed */

	Mobile string `json:"mobile" v:"required|phone#手机号码不能为空|手机号码格式错误" dc:"手机号"`
}

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 SetUserMailReq added in v0.5.2

type SetUserMailReq struct {
	g.Meta   ``     /* 127-byte string literal not displayed */
	OldMail  string `json:"oldMail" v:"email#邮箱账号格式错误" dc:"原邮箱,首次设置原邮箱地址可为空"`
	NewMail  string `json:"newMail" v:"required|email#请输入新邮箱账号|邮箱账号格式错误" dc:"新邮箱"`
	Captcha  string `json:"captcha" v:"required#请输入邮箱验证码"`
	Password string `json:"password" v:"required#请输入账号密码" dc:"登录密码" v:"min-length:6#密码最短为6位"`
}

type SetUserMobileReq

type SetUserMobileReq struct {
	g.Meta   ``     /* 135-byte string literal not displayed */
	Mobile   string `json:"mobile" v:"required|phone#请输入手机号|手机号错误" dc:"手机号"`
	Captcha  string `json:"captcha" v:"required#请输入手机验证码"`
	Password string `json:"password" v:"required#请输入账号密码" dc:"登录密码" v:"min-length:6#密码最短为6位"`
}

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 StartAdvFaceAuthReq added in v0.7.13

type StartAdvFaceAuthReq struct {
	g.Meta      `path:"/faceAuth" method:"POST" tags:"认证/人脸核身" summary:"启动H5人脸核身"`
	IdCard      string `json:"idCard" dc:"身份证号码" v:"required#身份证号码不能为空"`
	Name        string `json:"name" dc:"姓名" v:"required#姓名不能为空"`
	CallbackUrl string `json:"callbackUrl" dc:"认证结束后重定向的回调链接地址。最长长度1024位。" `
}

type TencentSdkConfRes

type TencentSdkConfRes sys_model.TencentSdkConf

type UpdateAliyunSdkConfReq

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

type UpdateBaiduSdkConfReq

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

type UpdateCtyunSdkConfReq

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

type UpdateHuaweiSdkConfReq

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

type UpdateIndustryReq added in v0.7.0

type UpdateIndustryReq struct {
	g.Meta `path:"/updateIndustry" method:"post" summary:"更新行业" tags:"行业类别"`
	sys_model.UpdateSysIndustry
}

type UpdateLicenseReq

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

type UpdateMenuReq added in v0.4.3

type UpdateMenuReq struct {
	g.Meta `path:"/updateMenu" method:"post" summary:"更新菜单" tags:"菜单"`
	sys_model.UpdateSysMenu
}

type UpdateMessageReq added in v0.7.2

type UpdateMessageReq struct {
	g.Meta `path:"/updateMessage" method:"post" summary:"编辑消息|信息" tags:"消息管理"`
	Id     int64 `json:"id"  v:"required#消息Id不能为空"`

	sys_model.UpdateSysMessage
}

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.UpdateSysPermission
}

type UpdateRoleInfoReq

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

type UpdateTencentSdkConfReq

type UpdateTencentSdkConfReq struct {
	g.Meta `` /* 184-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 UploadPictureReq added in v0.6.25

type UploadPictureReq struct {
	g.Meta `path:"/uploadPicture" method:"post" summary:"上传图片并审核" tags:"工具"`
	sys_model.PictureWithOCRInput
}

type UploadPictureRes added in v0.6.25

type UploadPictureRes sys_model.PictureWithOCR

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