Documentation ¶
Index ¶
- type Commission
- func (c *Commission) AddProject(ctx context.Context, args *staff.ArgsAddProject, reply *staff.ReplyProject) error
- func (c *Commission) AddSales(ctx context.Context, args *staff.ArgsAddSales, reply *staff.ReplySales) error
- func (c *Commission) DeleteProject(ctx context.Context, args *staff.ArgsDelProject, reply *staff.ReplyProject) error
- func (c *Commission) DeleteSales(ctx context.Context, args *staff.ArgsDelSales, reply *staff.ReplySales) error
- func (c *Commission) GetProjectByBusId(ctx context.Context, args *staff.ArgsCommSingle, reply *staff.ReplyCommSingle) error
- func (c *Commission) GetProjectList(ctx context.Context, args *staff.ArgsCommList, reply *staff.ReplyCommList) error
- func (c *Commission) GetSalesByBusId(ctx context.Context, args *staff.ArgsCommSingle, reply *staff.ReplyCommSingle) error
- func (c *Commission) GetSalesList(ctx context.Context, args *staff.ArgsCommList, reply *staff.ReplyCommList) error
- func (c *Commission) Init() *Commission
- func (c *Commission) SetProject(ctx context.Context, args *staff.ArgsSetProject, reply *staff.ReplyProject) error
- func (c *Commission) SetSales(ctx context.Context, args *staff.ArgsSetSales, reply *staff.ReplySales) error
- type ResumeMail
- type Rules
- func (r *Rules) AddConductRules(ctx context.Context, args *staff.ArgsAddConductRules, ...) error
- func (r *Rules) AddConductRulesLog(ctx context.Context, args *staff.ArgsAddConductRulesLog, ...) error
- func (r *Rules) DeleteConductRules(ctx context.Context, args *staff.ArgsDelConductRules, ...) error
- func (r *Rules) GetConductRules(ctx context.Context, args *staff.ArgsGetConductRules, ...) error
- func (r *Rules) GetConductRulesLogDatasForBus(ctx context.Context, args *staff.ArgsGetConductRuleslogData, ...) error
- func (r *Rules) GetConductRulesLogDatasForShop(ctx context.Context, args *staff.ArgsGetConductRuleslogData, ...) error
- func (r *Rules) GetServiceRules(ctx context.Context, args *staff.ArgsGetServiceRules, ...) error
- func (r *Rules) GetServiceRulesLogDatasForBus(ctx context.Context, args *staff.ArgsGetServiceRuleslogData, ...) error
- func (r *Rules) GetServiceRulesLogDatasForShop(ctx context.Context, args *staff.ArgsGetServiceRuleslogData, ...) error
- func (r *Rules) Init() *Rules
- func (r *Rules) ServiceComment(ctx context.Context, args *staff.ArgsServiceComment, ...) error
- func (r *Rules) SetConductRules(ctx context.Context, args *staff.ArgsSetConductRules, ...) error
- func (r *Rules) SetServiceRules(ctx context.Context, args *staff.ArgsSetServiceRules, ...) error
- type Schedule
- func (s *Schedule) AddScheduleSetting(ctx context.Context, args *staff.ArgsAddScheduleSetting, ...) error
- func (s *Schedule) GetScheduleSetting(ctx context.Context, args *staff.ArgsGetScheduleSetting, ...) error
- func (s *Schedule) GetSingleStaffSchedule(ctx context.Context, args *staff.ArgsStaffScheduleInfo, ...) error
- func (s *Schedule) GetSingleStaffScheduleRpc(ctx context.Context, staffId *int, reply *staff.ReplyStaffSchedule) error
- func (s *Schedule) GetStaffSchedule(ctx context.Context, args *staff.ArgsGetStaffSchedule, ...) error
- func (s *Schedule) GetStaffSchedules(ctx context.Context, args *[]int, reply *[]staff.ReplyStaffSchedule) error
- func (s *Schedule) GetStaffTime(ctx context.Context, args *staff.ArgsStaffTime, reply *staff.ReplyStaffTime) error
- func (s *Schedule) Init() *Schedule
- func (s *Schedule) SetScheduleSetting(ctx context.Context, args *staff.ArgsSetScheduleSetting, ...) error
- func (s *Schedule) SetStaffSchedule(ctx context.Context, args *staff.ArgsSetStaffSchedule, ...) error
- type Staff
- func (s *Staff) AddPost(ctx context.Context, args *staff.ArgsAddPost, reply *staff.ReplyPost) error
- func (s *Staff) AddStaff(ctx context.Context, args *staff.ArgsAddStaff, reply *staff.ReplyStaff) error
- func (s *Staff) DeletePost(ctx context.Context, args *staff.ArgsDelPost, reply *staff.ReplyPost) error
- func (s *Staff) DeleteStaff(ctx context.Context, args *staff.ArgsDelStaff, reply *staff.ReplyStaff) error
- func (s *Staff) EditPost(ctx context.Context, args *staff.ArgsEditPost, reply *staff.ReplyPost) error
- func (s *Staff) EditStaff(ctx context.Context, args *staff.ArgsEditStaff, reply *staff.ReplyStaff) error
- func (s *Staff) GetListByStaffIds(ctx context.Context, args *staff.ArgsGetListByStaffIds, ...) error
- func (s *Staff) GetListByStaffIds2(ctx context.Context, staffIds *[]int, reply *[]staff.ReplyGetListByStaffIds2) error
- func (s *Staff) GetPostList(ctx context.Context, args *staff.ArgsGetPostList, reply *[]staff.ReplyInfo) error
- func (s *Staff) GetRankByStaffIds(ctx context.Context, staffIds *[]int, reply *map[string]staff.RankInfo) error
- func (s *Staff) GetStaffAddMinusByBusIdRpc(ctx context.Context, args *staff.ArgsGetStaffAddMinus, ...) error
- func (s *Staff) GetStaffByBusId(ctx context.Context, args *staff.ArgsGetStaffList, reply *staff.ReplyStaffList) error
- func (s *Staff) GetStaffByBusIdNum(ctx context.Context, args *staff.ArgsGetStaffByBusIdNum, ...) error
- func (s *Staff) GetStaffByShopId(ctx context.Context, args *staff.ArgsGetStaffList, reply *staff.ReplyStaffList) error
- func (s *Staff) GetStaffDetail(ctx context.Context, args *staff.ArgsStaffInfo, reply *staff.ReplyStaffInfo) error
- func (s *Staff) GetStaffForShopId(ctx context.Context, args *staff.ArgsStaffList, reply *staff.ReplyStaffList) error
- func (s *Staff) GetStaffInfoByBus(ctx context.Context, args *staff.ArgsStaffInfo, reply *staff.ReplyStaffInfo) error
- func (s *Staff) GetStaffInfoById(ctx context.Context, args *int, reply *staff.ReplyGetStaffInfoById) error
- func (s *Staff) GetStaffInfoByShop(ctx context.Context, args *staff.ArgsStaffInfo, reply *staff.ReplyStaffInfo) error
- func (s *Staff) GetStaffListByShopId(ctx context.Context, args *staff.ArgsGetStaffListByShopId, ...) error
- func (s *Staff) GetStaffNameAndPostByIds(ctx context.Context, args *[]int, reply *[]staff.ReplyStaffNameAndPost) error
- func (s *Staff) GetStaffStatusById(ctx context.Context, args *staff.ArgsGetStaffStatusById, ...) error
- func (s *Staff) Init() *Staff
- func (s *Staff) SetJobTitle(ctx context.Context, args *staff.ArgsSetJobTitle, reply *staff.ReplyPost) error
- type StaffRank
- type StaffRecruit
- func (s *StaffRecruit) AddStaffRecruit(ctx context.Context, args *staff.ArgsAddRecruitInfo, ...) error
- func (s *StaffRecruit) BatchDelStaffRecruit(ctx context.Context, args *staff.ArgsBatchDelStaffRecruit, reply *bool) error
- func (s *StaffRecruit) BatchReleaseStaffRecruit(ctx context.Context, args *staff.ArgsBatchSusReltaffRecruit, reply *bool) error
- func (s *StaffRecruit) BatchSuspendStaffRecruit(ctx context.Context, args *staff.ArgsBatchSusReltaffRecruit, reply *bool) error
- func (s *StaffRecruit) DelStaffRecruit(ctx context.Context, args *staff.ArgsDelStaffRecruit, ...) error
- func (s *StaffRecruit) EditStaffRecruit(ctx context.Context, args *staff.ArgsEditStaffRecruit, ...) error
- func (s *StaffRecruit) GetRecruitPositions(ctx context.Context, args *staff.ArgsEmpty, ...) error
- func (s *StaffRecruit) GetStaffRecruitInfo(ctx context.Context, args *staff.ArgsStaffRecruitInfo, ...) error
- func (s *StaffRecruit) GetStaffRecruitList(ctx context.Context, args *staff.ArgsGetStaffRecruitList, ...) error
- func (s *StaffRecruit) Init() *StaffRecruit
- func (s *StaffRecruit) ReleaseStaffRecruit(ctx context.Context, args *staff.ArgsSuspendReleaseStaffRecruit, ...) error
- func (s *StaffRecruit) SuspendStaffRecruit(ctx context.Context, args *staff.ArgsSuspendReleaseStaffRecruit, ...) error
- type StaffService
- func (s *StaffService) GetServiceByStaffId(ctx context.Context, args *staff.ArgsGetServiceByStaffId, ...) error
- func (s *StaffService) GetStaffByService(ctx context.Context, args *staff.ArgsGetStaffByService, ...) error
- func (s *StaffService) Init() *StaffService
- func (s *StaffService) RelateStaffService(ctx context.Context, args *staff.ArgsRelateStaffService, reply *bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commission ¶
type Commission struct {
client.Baseclient
}
func (*Commission) AddProject ¶
func (c *Commission) AddProject(ctx context.Context, args *staff.ArgsAddProject, reply *staff.ReplyProject) error
新增项目提成
func (*Commission) AddSales ¶
func (c *Commission) AddSales(ctx context.Context, args *staff.ArgsAddSales, reply *staff.ReplySales) error
新增销售提成
func (*Commission) DeleteProject ¶
func (c *Commission) DeleteProject(ctx context.Context, args *staff.ArgsDelProject, reply *staff.ReplyProject) error
删除项目提成
func (*Commission) DeleteSales ¶
func (c *Commission) DeleteSales(ctx context.Context, args *staff.ArgsDelSales, reply *staff.ReplySales) error
删除销售提成
func (*Commission) GetProjectByBusId ¶
func (c *Commission) GetProjectByBusId(ctx context.Context, args *staff.ArgsCommSingle, reply *staff.ReplyCommSingle) error
项目提成-根据岗位ID和项目ID获取对应的提成
func (*Commission) GetProjectList ¶
func (c *Commission) GetProjectList(ctx context.Context, args *staff.ArgsCommList, reply *staff.ReplyCommList) error
获取项目提成列表
func (*Commission) GetSalesByBusId ¶
func (c *Commission) GetSalesByBusId(ctx context.Context, args *staff.ArgsCommSingle, reply *staff.ReplyCommSingle) error
销售提成-根据岗位ID和项目ID获取对应的提成
func (*Commission) GetSalesList ¶
func (c *Commission) GetSalesList(ctx context.Context, args *staff.ArgsCommList, reply *staff.ReplyCommList) error
获取销售提成列表
func (*Commission) SetProject ¶
func (c *Commission) SetProject(ctx context.Context, args *staff.ArgsSetProject, reply *staff.ReplyProject) error
更新项目提成
func (*Commission) SetSales ¶
func (c *Commission) SetSales(ctx context.Context, args *staff.ArgsSetSales, reply *staff.ReplySales) error
更新销售提成
type ResumeMail ¶
type ResumeMail struct {
client.Baseclient
}
func (*ResumeMail) GetResumeMailList ¶
func (r *ResumeMail) GetResumeMailList(ctx context.Context, args *staff.ArgsGetResumeMailList, reply *staff.ReplyGetResumeMailList) (err error)
简历信箱列表
func (*ResumeMail) Init ¶
func (r *ResumeMail) Init() *ResumeMail
func (*ResumeMail) InviteInterview ¶
func (r *ResumeMail) InviteInterview(ctx context.Context, args *staff.ArgsInviteInterview, reply *bool) (err error)
邀约面试入参
type Rules ¶
type Rules struct {
client.Baseclient
}
func (*Rules) AddConductRules ¶
func (r *Rules) AddConductRules(ctx context.Context, args *staff.ArgsAddConductRules, reply *staff.ReplyConductRules) error
添加行为规则
func (*Rules) AddConductRulesLog ¶
func (r *Rules) AddConductRulesLog(ctx context.Context, args *staff.ArgsAddConductRulesLog, reply *staff.ReplyAddConductRulesLog) error
添加行为规则记录
func (*Rules) DeleteConductRules ¶
func (r *Rules) DeleteConductRules(ctx context.Context, args *staff.ArgsDelConductRules, reply *staff.ReplyConductRules) error
func (*Rules) GetConductRules ¶
func (r *Rules) GetConductRules(ctx context.Context, args *staff.ArgsGetConductRules, reply *[]staff.ReplyConductRulesInfo) error
获取行为规则列表
func (*Rules) GetConductRulesLogDatasForBus ¶
func (r *Rules) GetConductRulesLogDatasForBus(ctx context.Context, args *staff.ArgsGetConductRuleslogData, reply *staff.ReplyGetConductRuleslogData) error
获取行为规范记录统计-企业/商户
func (*Rules) GetConductRulesLogDatasForShop ¶
func (r *Rules) GetConductRulesLogDatasForShop(ctx context.Context, args *staff.ArgsGetConductRuleslogData, reply *staff.ReplyGetConductRuleslogData) error
获取行为规范记录统计-分店
func (*Rules) GetServiceRules ¶
func (r *Rules) GetServiceRules(ctx context.Context, args *staff.ArgsGetServiceRules, reply *[]staff.ReplyGetServiceRules) error
获取服务表现规则
func (*Rules) GetServiceRulesLogDatasForBus ¶
func (r *Rules) GetServiceRulesLogDatasForBus(ctx context.Context, args *staff.ArgsGetServiceRuleslogData, reply *staff.ReplyGetServiceRuleslogData) error
获取服务表现规范记录统计-企业/商户
func (*Rules) GetServiceRulesLogDatasForShop ¶
func (r *Rules) GetServiceRulesLogDatasForShop(ctx context.Context, args *staff.ArgsGetServiceRuleslogData, reply *staff.ReplyGetServiceRuleslogData) error
获取服务表现规范记录统计-分店
func (*Rules) ServiceComment ¶
func (r *Rules) ServiceComment(ctx context.Context, args *staff.ArgsServiceComment, reply *staff.ReplyServiceComment) error
执行服务表现统计
func (*Rules) SetConductRules ¶
func (r *Rules) SetConductRules(ctx context.Context, args *staff.ArgsSetConductRules, reply *staff.ReplyConductRules) error
更新行为规则
func (*Rules) SetServiceRules ¶
func (r *Rules) SetServiceRules(ctx context.Context, args *staff.ArgsSetServiceRules, reply *staff.ReplySetServiceRules) error
设置/更新服务表现规范
type Schedule ¶
type Schedule struct {
client.Baseclient
}
func (*Schedule) AddScheduleSetting ¶
func (s *Schedule) AddScheduleSetting(ctx context.Context, args *staff.ArgsAddScheduleSetting, reply *staff.ReplyScheduleSetting) error
新增排班班次-分店
func (*Schedule) GetScheduleSetting ¶
func (s *Schedule) GetScheduleSetting(ctx context.Context, args *staff.ArgsGetScheduleSetting, reply *[]staff.ReplyScheduleSettingInfo) error
获取排班班次-分店
func (*Schedule) GetSingleStaffSchedule ¶
func (s *Schedule) GetSingleStaffSchedule(ctx context.Context, args *staff.ArgsStaffScheduleInfo, reply *staff.ReplyStaffSchedule) error
获取单个员工排班
func (*Schedule) GetSingleStaffScheduleRpc ¶
func (s *Schedule) GetSingleStaffScheduleRpc(ctx context.Context, staffId *int, reply *staff.ReplyStaffSchedule) error
获取单个员工排班-rpc内部
func (*Schedule) GetStaffSchedule ¶
func (s *Schedule) GetStaffSchedule(ctx context.Context, args *staff.ArgsGetStaffSchedule, reply *staff.ReplyGetStaffSchedule) error
获取员工排班列表
func (*Schedule) GetStaffSchedules ¶
func (s *Schedule) GetStaffSchedules(ctx context.Context, args *[]int, reply *[]staff.ReplyStaffSchedule) error
获取多个员工排班-RPC
func (*Schedule) GetStaffTime ¶
func (s *Schedule) GetStaffTime(ctx context.Context, args *staff.ArgsStaffTime, reply *staff.ReplyStaffTime) error
获取多个员工当日上班时间-RPC
func (*Schedule) SetScheduleSetting ¶
func (s *Schedule) SetScheduleSetting(ctx context.Context, args *staff.ArgsSetScheduleSetting, reply *staff.ReplyScheduleSetting) error
更新排班班次-分店
func (*Schedule) SetStaffSchedule ¶
func (s *Schedule) SetStaffSchedule(ctx context.Context, args *staff.ArgsSetStaffSchedule, reply *staff.ReplySetStaffSchedule) error
更新/设置员工排班
type Staff ¶
type Staff struct {
client.Baseclient
}
func (*Staff) AddStaff ¶
func (s *Staff) AddStaff(ctx context.Context, args *staff.ArgsAddStaff, reply *staff.ReplyStaff) error
添加员工
func (*Staff) DeletePost ¶
func (s *Staff) DeletePost(ctx context.Context, args *staff.ArgsDelPost, reply *staff.ReplyPost) error
删除员工岗位
func (*Staff) DeleteStaff ¶
func (s *Staff) DeleteStaff(ctx context.Context, args *staff.ArgsDelStaff, reply *staff.ReplyStaff) error
删除员工
func (*Staff) EditPost ¶
func (s *Staff) EditPost(ctx context.Context, args *staff.ArgsEditPost, reply *staff.ReplyPost) error
修改员工岗位
func (*Staff) EditStaff ¶
func (s *Staff) EditStaff(ctx context.Context, args *staff.ArgsEditStaff, reply *staff.ReplyStaff) error
修改员工
func (*Staff) GetListByStaffIds ¶
func (s *Staff) GetListByStaffIds(ctx context.Context, args *staff.ArgsGetListByStaffIds, reply *[]staff.ReplyGetListByStaffIds) error
获取员工列表-rpc内部调用
func (*Staff) GetListByStaffIds2 ¶
func (s *Staff) GetListByStaffIds2(ctx context.Context, staffIds *[]int, reply *[]staff.ReplyGetListByStaffIds2) error
获取员工列表-rpc内部调用
func (*Staff) GetPostList ¶
func (s *Staff) GetPostList(ctx context.Context, args *staff.ArgsGetPostList, reply *[]staff.ReplyInfo) error
获取职称
func (*Staff) GetRankByStaffIds ¶
func (s *Staff) GetRankByStaffIds(ctx context.Context, staffIds *[]int, reply *map[string]staff.RankInfo) error
批量获取员工评分
func (*Staff) GetStaffAddMinusByBusIdRpc ¶
func (s *Staff) GetStaffAddMinusByBusIdRpc(ctx context.Context, args *staff.ArgsGetStaffAddMinus, reply *staff.ReplyGetStaffAddMinus) error
获取当月员工新增或离职率-rpc
func (*Staff) GetStaffByBusId ¶
func (s *Staff) GetStaffByBusId(ctx context.Context, args *staff.ArgsGetStaffList, reply *staff.ReplyStaffList) error
员工列表-企业/商户
func (*Staff) GetStaffByBusIdNum ¶
func (s *Staff) GetStaffByBusIdNum(ctx context.Context, args *staff.ArgsGetStaffByBusIdNum, reply *staff.ReplyGetStaffByBusIdNum) error
根据busId 获取在在职员工总数量
func (*Staff) GetStaffByShopId ¶
func (s *Staff) GetStaffByShopId(ctx context.Context, args *staff.ArgsGetStaffList, reply *staff.ReplyStaffList) error
员工列表-分店
func (*Staff) GetStaffDetail ¶
func (s *Staff) GetStaffDetail(ctx context.Context, args *staff.ArgsStaffInfo, reply *staff.ReplyStaffInfo) error
员工详情-rpc
func (*Staff) GetStaffForShopId ¶
func (s *Staff) GetStaffForShopId(ctx context.Context, args *staff.ArgsStaffList, reply *staff.ReplyStaffList) error
员工列表-前端
func (*Staff) GetStaffInfoByBus ¶
func (s *Staff) GetStaffInfoByBus(ctx context.Context, args *staff.ArgsStaffInfo, reply *staff.ReplyStaffInfo) error
员工详情-企业/商户
func (*Staff) GetStaffInfoById ¶
func (s *Staff) GetStaffInfoById(ctx context.Context, args *int, reply *staff.ReplyGetStaffInfoById) error
员工详情-无需验证-分店
func (*Staff) GetStaffInfoByShop ¶
func (s *Staff) GetStaffInfoByShop(ctx context.Context, args *staff.ArgsStaffInfo, reply *staff.ReplyStaffInfo) error
员工详情-分店
func (*Staff) GetStaffListByShopId ¶
func (s *Staff) GetStaffListByShopId(ctx context.Context, args *staff.ArgsGetStaffListByShopId, reply *staff.ReplyGetStaffListByShopId) error
员工列表-无需验证-分店
func (*Staff) GetStaffNameAndPostByIds ¶
func (s *Staff) GetStaffNameAndPostByIds(ctx context.Context, args *[]int, reply *[]staff.ReplyStaffNameAndPost) error
根据多个员工id 查询员工名称和对应岗位信息 rpc 调用
func (*Staff) GetStaffStatusById ¶
func (s *Staff) GetStaffStatusById(ctx context.Context, args *staff.ArgsGetStaffStatusById, reply *staff.ReplyGetStaffStatusById) error
根据id获取员工状态(新增,离职,删除)
func (*Staff) SetJobTitle ¶
func (s *Staff) SetJobTitle(ctx context.Context, args *staff.ArgsSetJobTitle, reply *staff.ReplyPost) error
设置员工岗位职称
type StaffRank ¶
type StaffRank struct {
client.Baseclient
}
func (*StaffRank) AddStaffRankRpc ¶
func (s *StaffRank) AddStaffRankRpc(ctx context.Context, args *staff.StaffRankBase, reply *bool) error
增加员工评价统计Rpc
type StaffRecruit ¶
type StaffRecruit struct {
client.Baseclient
}
func (*StaffRecruit) AddStaffRecruit ¶
func (s *StaffRecruit) AddStaffRecruit(ctx context.Context, args *staff.ArgsAddRecruitInfo, reply *staff.ReplyStaffRecruit) error
添加招聘信息
func (*StaffRecruit) BatchDelStaffRecruit ¶
func (s *StaffRecruit) BatchDelStaffRecruit(ctx context.Context, args *staff.ArgsBatchDelStaffRecruit, reply *bool) error
批量删除招聘信息
func (*StaffRecruit) BatchReleaseStaffRecruit ¶
func (s *StaffRecruit) BatchReleaseStaffRecruit(ctx context.Context, args *staff.ArgsBatchSusReltaffRecruit, reply *bool) error
批量发布招聘信息
func (*StaffRecruit) BatchSuspendStaffRecruit ¶
func (s *StaffRecruit) BatchSuspendStaffRecruit(ctx context.Context, args *staff.ArgsBatchSusReltaffRecruit, reply *bool) error
批量暂停招聘信息
func (*StaffRecruit) DelStaffRecruit ¶
func (s *StaffRecruit) DelStaffRecruit(ctx context.Context, args *staff.ArgsDelStaffRecruit, reply *staff.ReplyStaffRecruit) error
删除招聘信息
func (*StaffRecruit) EditStaffRecruit ¶
func (s *StaffRecruit) EditStaffRecruit(ctx context.Context, args *staff.ArgsEditStaffRecruit, reply *staff.ReplyStaffRecruit) error
编辑招聘信息
func (*StaffRecruit) GetRecruitPositions ¶
func (s *StaffRecruit) GetRecruitPositions(ctx context.Context, args *staff.ArgsEmpty, reply *staff.ReplyGetRecruitPositions) error
获取招聘职位
func (*StaffRecruit) GetStaffRecruitInfo ¶
func (s *StaffRecruit) GetStaffRecruitInfo(ctx context.Context, args *staff.ArgsStaffRecruitInfo, reply *staff.ReplyStaffRecruitInfo) error
获得招聘信息详情
func (*StaffRecruit) GetStaffRecruitList ¶
func (s *StaffRecruit) GetStaffRecruitList(ctx context.Context, args *staff.ArgsGetStaffRecruitList, reply *staff.ReplyGetStaffRecruitList) error
获取招聘信息列表
func (*StaffRecruit) Init ¶
func (s *StaffRecruit) Init() *StaffRecruit
func (*StaffRecruit) ReleaseStaffRecruit ¶
func (s *StaffRecruit) ReleaseStaffRecruit(ctx context.Context, args *staff.ArgsSuspendReleaseStaffRecruit, reply *staff.ReplySuspendReleaseStaffRecuit) error
发布招聘信息
func (*StaffRecruit) SuspendStaffRecruit ¶
func (s *StaffRecruit) SuspendStaffRecruit(ctx context.Context, args *staff.ArgsSuspendReleaseStaffRecruit, reply *staff.ReplySuspendReleaseStaffRecuit) error
暂停招聘信息
type StaffService ¶
type StaffService struct {
client.Baseclient
}
func (*StaffService) GetServiceByStaffId ¶
func (s *StaffService) GetServiceByStaffId(ctx context.Context, args *staff.ArgsGetServiceByStaffId, reply *staff.ReplyGetServiceByStaffId) error
员工关联商品服务情况,内部使用
func (*StaffService) GetStaffByService ¶
func (s *StaffService) GetStaffByService(ctx context.Context, args *staff.ArgsGetStaffByService, reply *[]staff.ReplyGetStaffByService) error
根据服务和服务规格获取手艺人
func (*StaffService) RelateStaffService ¶
func (s *StaffService) RelateStaffService(ctx context.Context, args *staff.ArgsRelateStaffService, reply *bool) error
关联员工(手艺人)服务