Documentation ¶
Index ¶
- type ApiGroup
- type ChatApi
- type CustomerApi
- type FileUploadAndDownloadApi
- func (b *FileUploadAndDownloadApi) BreakpointContinue(c *gin.Context)
- func (b *FileUploadAndDownloadApi) BreakpointContinueFinish(c *gin.Context)
- func (b *FileUploadAndDownloadApi) DeleteFile(c *gin.Context)
- func (b *FileUploadAndDownloadApi) EditFileName(c *gin.Context)
- func (b *FileUploadAndDownloadApi) FindFile(c *gin.Context)
- func (b *FileUploadAndDownloadApi) GetFileList(c *gin.Context)
- func (b *FileUploadAndDownloadApi) RemoveChunk(c *gin.Context)
- func (b *FileUploadAndDownloadApi) UploadFile(c *gin.Context)
- type MarkdownApi
- type RecruitApi
- func (e *RecruitApi) AddRecruitAccount(c *gin.Context)
- func (e *RecruitApi) CreateRecruitPlan(c *gin.Context)
- func (e *RecruitApi) DeleteRecruitAccount(c *gin.Context)
- func (e *RecruitApi) DeleteRecruitPlan(c *gin.Context)
- func (e *RecruitApi) GetBusinessDistrict(c *gin.Context)
- func (e *RecruitApi) GetPlanBaseData(c *gin.Context)
- func (e *RecruitApi) GetRecruitAccountList(c *gin.Context)
- func (e *RecruitApi) GetRecruitPlanList(c *gin.Context)
- func (e *RecruitApi) UpdateRecruitAccount(c *gin.Context)
- func (e *RecruitApi) UpdateRecruitPlan(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiGroup ¶
type ApiGroup struct { CustomerApi FileUploadAndDownloadApi RecruitApi ChatApi MarkdownApi }
type ChatApi ¶
type ChatApi struct{}
type CustomerApi ¶
type CustomerApi struct{}
func (*CustomerApi) CreateExaCustomer ¶
func (e *CustomerApi) CreateExaCustomer(c *gin.Context)
CreateExaCustomer @Tags ExaCustomer @Summary 创建客户 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body example.ExaCustomer true "客户用户名, 客户手机号码" @Success 200 {object} response.Response{msg=string} "创建客户" @Router /customer/customer [post]
func (*CustomerApi) DeleteExaCustomer ¶
func (e *CustomerApi) DeleteExaCustomer(c *gin.Context)
DeleteExaCustomer @Tags ExaCustomer @Summary 删除客户 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body example.ExaCustomer true "客户ID" @Success 200 {object} response.Response{msg=string} "删除客户" @Router /customer/customer [delete]
func (*CustomerApi) GetExaCustomer ¶
func (e *CustomerApi) GetExaCustomer(c *gin.Context)
GetExaCustomer @Tags ExaCustomer @Summary 获取单一客户信息 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query example.ExaCustomer true "客户ID" @Success 200 {object} response.Response{data=exampleRes.ExaCustomerResponse,msg=string} "获取单一客户信息,返回包括客户详情" @Router /customer/customer [get]
func (*CustomerApi) GetExaCustomerList ¶
func (e *CustomerApi) GetExaCustomerList(c *gin.Context)
GetExaCustomerList @Tags ExaCustomer @Summary 分页获取权限客户列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query request.PageInfo true "页码, 每页大小" @Success 200 {object} response.Response{data=response.PageResult,msg=string} "分页获取权限客户列表,返回包括列表,总数,页码,每页数量" @Router /customer/customerList [get]
func (*CustomerApi) UpdateExaCustomer ¶
func (e *CustomerApi) UpdateExaCustomer(c *gin.Context)
UpdateExaCustomer @Tags ExaCustomer @Summary 更新客户信息 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body example.ExaCustomer true "客户ID, 客户信息" @Success 200 {object} response.Response{msg=string} "更新客户信息" @Router /customer/customer [put]
type FileUploadAndDownloadApi ¶
type FileUploadAndDownloadApi struct{}
func (*FileUploadAndDownloadApi) BreakpointContinue ¶
func (b *FileUploadAndDownloadApi) BreakpointContinue(c *gin.Context)
BreakpointContinue @Tags ExaFileUploadAndDownload @Summary 断点续传到服务器 @Security ApiKeyAuth @accept multipart/form-data @Produce application/json @Param file formData file true "an example for breakpoint resume, 断点续传示例" @Success 200 {object} response.Response{msg=string} "断点续传到服务器" @Router /fileUploadAndDownload/breakpointContinue [post]
func (*FileUploadAndDownloadApi) BreakpointContinueFinish ¶
func (b *FileUploadAndDownloadApi) BreakpointContinueFinish(c *gin.Context)
BreakpointContinueFinish @Tags ExaFileUploadAndDownload @Summary 创建文件 @Security ApiKeyAuth @accept multipart/form-data @Produce application/json @Param file formData file true "上传文件完成" @Success 200 {object} response.Response{data=exampleRes.FilePathResponse,msg=string} "创建文件,返回包括文件路径" @Router /fileUploadAndDownload/findFile [post]
func (*FileUploadAndDownloadApi) DeleteFile ¶
func (b *FileUploadAndDownloadApi) DeleteFile(c *gin.Context)
DeleteFile @Tags ExaFileUploadAndDownload @Summary 删除文件 @Security ApiKeyAuth @Produce application/json @Param data body example.ExaFileUploadAndDownload true "传入文件里面id即可" @Success 200 {object} response.Response{msg=string} "删除文件" @Router /fileUploadAndDownload/deleteFile [post]
func (*FileUploadAndDownloadApi) EditFileName ¶
func (b *FileUploadAndDownloadApi) EditFileName(c *gin.Context)
EditFileName 编辑文件名或者备注
func (*FileUploadAndDownloadApi) FindFile ¶
func (b *FileUploadAndDownloadApi) FindFile(c *gin.Context)
FindFile @Tags ExaFileUploadAndDownload @Summary 查找文件 @Security ApiKeyAuth @accept multipart/form-data @Produce application/json @Param file formData file true "Find the file, 查找文件" @Success 200 {object} response.Response{data=exampleRes.FileResponse,msg=string} "查找文件,返回包括文件详情" @Router /fileUploadAndDownload/findFile [post]
func (*FileUploadAndDownloadApi) GetFileList ¶
func (b *FileUploadAndDownloadApi) GetFileList(c *gin.Context)
GetFileList @Tags ExaFileUploadAndDownload @Summary 分页文件列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.PageInfo true "页码, 每页大小" @Success 200 {object} response.Response{data=response.PageResult,msg=string} "分页文件列表,返回包括列表,总数,页码,每页数量" @Router /fileUploadAndDownload/getFileList [post]
func (*FileUploadAndDownloadApi) RemoveChunk ¶
func (b *FileUploadAndDownloadApi) RemoveChunk(c *gin.Context)
RemoveChunk @Tags ExaFileUploadAndDownload @Summary 删除切片 @Security ApiKeyAuth @accept multipart/form-data @Produce application/json @Param file formData file true "删除缓存切片" @Success 200 {object} response.Response{msg=string} "删除切片" @Router /fileUploadAndDownload/removeChunk [post]
func (*FileUploadAndDownloadApi) UploadFile ¶
func (b *FileUploadAndDownloadApi) UploadFile(c *gin.Context)
UploadFile @Tags ExaFileUploadAndDownload @Summary 上传文件示例 @Security ApiKeyAuth @accept multipart/form-data @Produce application/json @Param file formData file true "上传文件示例" @Success 200 {object} response.Response{data=exampleRes.ExaFileResponse,msg=string} "上传文件示例,返回包括文件详情" @Router /fileUploadAndDownload/upload [post]
type MarkdownApi ¶
type MarkdownApi struct{}
func (*MarkdownApi) SaveMarkdown ¶
func (e *MarkdownApi) SaveMarkdown(c *gin.Context)
SaveMarkdown @Tags ExaMarkdown @Summary 保存markdown文件 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body exaRequest.MarkdownResData true "消息" @Success 200 {object} response.Response "保存markdown文件" @Router /markdown/saveMarkdown [post]
type RecruitApi ¶
type RecruitApi struct{}
func (*RecruitApi) AddRecruitAccount ¶
func (e *RecruitApi) AddRecruitAccount(c *gin.Context)
AddRecruitAccount @Tags ExaRecruit @Summary 添加招聘账号 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body example.ExaRecruitAccount true "账号, 密码, 平台, 类型" @Success 200 {object} response.Response{msg=string} "添加招聘账号" @Router /recruit/account [post]
func (*RecruitApi) CreateRecruitPlan ¶
func (e *RecruitApi) CreateRecruitPlan(c *gin.Context)
CreateRecruitPlan @Tags ExaRecruit @Summary 创建招聘计划 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body example.ExaRecruitPlan true "关键字, 城市, 区域, 行业, 是否投递简历, 开始时间, 间隔时间" @Success 200 {object} response.Response{msg=string} "创建招聘计划" @Router /recruit/plan [post]
func (*RecruitApi) DeleteRecruitAccount ¶
func (e *RecruitApi) DeleteRecruitAccount(c *gin.Context)
DeleteRecruitAccount @Tags ExaRecruit @Summary 删除招聘账号 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body example.ExaRecruitAccount true "账号, 密码, 平台, 类型" @Success 200 {object} response.Response{msg=string} "删除招聘账号" @Router /recruit/account [delete]
func (*RecruitApi) DeleteRecruitPlan ¶
func (e *RecruitApi) DeleteRecruitPlan(c *gin.Context)
DeleteRecruitPlan @Tags ExaRecruit @Summary 删除招聘计划 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body example.ExaRecruitPlan true "关键字, 城市, 区域, 行业, 是否投递简历, 开始时间, 间隔时间" @Success 200 {object} response.Response{msg=string} "删除招聘计划" @Router /recruit/plan [delete]
func (*RecruitApi) GetBusinessDistrict ¶
func (e *RecruitApi) GetBusinessDistrict(c *gin.Context)
GetBusinessDistrict @Tags ExaRecruit @Summary 获取基本 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query request.PageInfo true "页码, 每页大小" @Success 200 {object} response.Response{data=response.PageResult,msg=string} "分页获取权限招聘计划列表,返回包括列表,总数" @Router /recruit/businessDistrict [get]
func (*RecruitApi) GetPlanBaseData ¶
func (e *RecruitApi) GetPlanBaseData(c *gin.Context)
GetPlanBaseData @Tags ExaRecruit @Summary 获取基本 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query request.PageInfo true "页码, 每页大小" @Success 200 {object} response.Response{data=response.PageResult,msg=string} "分页获取权限招聘计划列表,返回包括列表,总数" @Router /recruit/recruitPlanList [get]
func (*RecruitApi) GetRecruitAccountList ¶
func (e *RecruitApi) GetRecruitAccountList(c *gin.Context)
GetRecruitAccountList @Tags ExaRecruit @Summary 分页获取权限招聘账号列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query request.PageInfo true "页码, 每页大小" @Success 200 {object} response.Response{data=response.PageResult,msg=string} "分页获取权限招聘账号列表,返回包括列表,总数" @Router /recruit/recruitAccountList [get]
func (*RecruitApi) GetRecruitPlanList ¶
func (e *RecruitApi) GetRecruitPlanList(c *gin.Context)
GetRecruitPlanList @Tags ExaRecruit @Summary 分页获取权限招聘账号列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data query request.PageInfo true "页码, 每页大小" @Success 200 {object} response.Response{data=response.PageResult,msg=string} "分页获取权限招聘计划列表,返回包括列表,总数" @Router /recruit/recruitPlanList [get]
func (*RecruitApi) UpdateRecruitAccount ¶
func (e *RecruitApi) UpdateRecruitAccount(c *gin.Context)
UpdateRecruitAccount @Tags ExaRecruit @Summary 更新招聘账号 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body example.ExaRecruitAccount true "账号, 密码, 平台, 类型" @Success 200 {object} response.Response{msg=string} "更新招聘账号" @Router /recruit/account [put]
func (*RecruitApi) UpdateRecruitPlan ¶
func (e *RecruitApi) UpdateRecruitPlan(c *gin.Context)
UpdateRecruitPlan @Tags ExaRecruit @Summary 更新招聘计划 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body example.ExaRecruitPlan true "关键字, 城市, 区域, 行业, 是否投递简历, 开始时间, 间隔时间" @Success 200 {object} response.Response{msg=string} "更新招聘计划" @Router /recruit/plan [put]