let admin : string = '/admin';
let common : string = '/common';
// 角色
export const url : urlType.url = {
	userLogin: admin + '/user/login',
	UserMenulist: admin + '/user/menulist',

	SmsSend: common + '/sms/send',	// 短信验证码
	Captcha: common + '/captcha',	// 获取验证码
	// 角色
	RoleAdd: admin + '/role/add',
	RoleList: admin + '/role/list',
	RoleDel: admin + '/role/del',
	RoleEdit: admin + '/role/update',
	RoleAddpermission: admin + '/role/addpermission',
	RoleGetpermissions: admin + '/role/getpermissions',
	RoleDelpermission: admin + '/role/delpermission',
	RoleSavepermissions: admin + '/role/savepermissions',
	permissionAdd: admin + '/permission/add',
	permissionList: admin + '/permission/list',
	permissionUpdate: admin + '/permission/update',
	permissionListWithchilds: admin + '/permission/listwithchilds',
	accountAdd: admin + '/user/add',
	accountList: admin + '/user/list',
	accountUpdate: admin + '/user/update',
	companyAdd: admin + '/company/add',
	companyList: admin + '/company/list',
	companyInfo: admin + '/company/info',
	companyVipInfo: admin + '/company/vipinfo',
	companyMultiClose: admin + '/company/multiclose',
	companyMultiOpen: admin + '/company/multiopen',

	companyEdit: admin + '/company/edit',
	companyVipmanage: admin + '/company/vipmanage',
	companyViplist: admin + '/company/viplist',

	companyJobAdd: admin + '/company/job_add',
	companyJobEdit: admin + '/company/job_edit',
	companyJobList: admin + '/company/job_list',
	companyJobInfo: admin + '/company/job_info',

	companyDepartmentAdd: admin + '/company/department_add',
	companyDepartmentEdit: admin + '/company/department_edit',
	CompanyDepartmentList: admin + '/company/department_list',
	companyDepartmentInfo: admin + '/company/department_info',

	// 家政
	// 类型
	HousekeepingtypeAdd: admin + '/housekeepingtype/add',
	HousekeepingtypeDel: admin + '/housekeepingtype/del',
	HousekeepingtypeUpdate: admin + '/housekeepingtype/update',
	HousekeepingtypeList: admin + '/housekeepingtype/list',
	HousekeepingtypeDetail: admin + '/housekeepingtype/detail',
	// 职位
	HousekeepingapplyAdd: admin + '/housekeepingapply/add',
	HousekeepingapplyDel: admin + '/housekeepingapply/del',
	HousekeepingapplyUpdate: admin + '/housekeepingapply/update',
	HousekeepingapplyList: admin + '/housekeepingapply/list',
	HousekeepingapplyDetail: admin + '/housekeepingapply/detail',
	// 需求
	HousekeepingAdd: admin + '/housekeeping/add',
	HousekeepingDel: admin + '/housekeeping/del',
	HousekeepingUpdate: admin + '/housekeeping/update',
	HousekeepingList: admin + '/housekeeping/list',
	HousekeepingDetail: admin + '/housekeeping/detail',
	// 预定
	HousekeepingappointmentAdd: admin + '/housekeepingappointment/add',
	HousekeepingappointmentDel: admin + '/housekeepingappointment/del',
	HousekeepingappointmentUpdate: admin + '/housekeepingappointment/update',
	HousekeepingappointmentList: admin + '/housekeepingappointment/list',
	HousekeepingappointmentDetail: admin + '/housekeepingappointment/detail',

	// 招聘会
	RecruitmentAdd: admin + '/recruitment/add',
	RecruitmentDel: admin + '/recruitment/del',
	RecruitmentUpdate: admin + '/recruitment/update',
	recruitmentList: admin + '/recruitment/list',
	RecruitmentDetail: admin + '/recruitment/detail',

	// 招聘参与企业
	RecruitmentBookAdd: admin + '/recruitmentbook/add',
	RecruitmentBookDel: admin + '/recruitmentbook/del',
	RecruitmentBookUpdate: admin + '/recruitmentbook/update',
	RecruitmentBookList: admin + '/recruitmentbook/list',

	// 文章栏目
	sectionAdd: admin + '/section/add',
	sectionDel: admin + '/section/del',
	sectionUpdate: admin + '/section/update',
	sectionList: admin + '/section/list',

	// 文章
	articleAdd: admin + '/article/add',
	articleDel: admin + '/article/del',
	articleUpdate: admin + '/article/update',
	articleList: admin + '/article/list',
	// 字典
	dictTree: common + '/dict/tree',
	ImageUpload: common + '/image/upload?imgtype=1',
	DocUpload: common + '/doc/upload?doctype=1',
	EsJobseeker: common + '/es/jobseeker',
	TokenizerModify: admin + '/tokenizer/modify',
	TokenizerGet: admin + '/tokenizer/get',

	// 广告
	// 广告列表
	advertareaAdd: admin + '/advertarea/add',
	advertareaDel: admin + '/advertarea/del',
	advertareaUpdate: admin + '/advertarea/update',
	advertareaList: admin + '/advertarea/list',
	advertareaDetail: admin + '/advertarea/detail',
	// 投放
	advertscheduleAdd: admin + '/advertschedule/add',
	advertscheduleDel: admin + '/advertschedule/del',
	advertscheduleUpdate: admin + '/advertschedule/update',
	advertscheduleList: admin + '/advertschedule/list',
	advertscheduleDetail: admin + '/advertarea/detail',

	// 活动管理
	activityExportUsers: admin + '/activity/export_users', // 导出参加活动用户
	// 活动地址
	activityaddressAdd: admin + '/activityaddress/add',
	activityaddressDel: admin + '/activityaddress/del',
	activityaddressUpdate: admin + '/activityaddress/update',
	activityaddressList: admin + '/activityaddress/list',
	activityaddressDetail: admin + '/activityaddress/detail',
	activityaddressCate: admin + '/activityaddress/cate', // 地址分类

	// 简历
	// 列表
	'JobseekerList': admin + '/jobseeker/list', // 查看
	'JobseekerDetail': admin + '/jobseeker/detail', // 详情
	// 基本资料
	'JobapplicantAdd': admin + '/jobapplicant/add', // 添加
	'JobapplicantDel': admin + '/jobapplicant/del', // 删除
	'JobapplicantUpdate': admin + '/jobapplicant/update', // 修改
	'JobapplicantList': admin + '/jobapplicant/list', // 查看
	'JobapplicantDetail': admin + '/jobapplicant/detail', // 详情
	// 个人介绍
	'JobapplicantAddintroduction': '/admin/jobapplicant/addintroduction',
	'JobapplicantDelintroduction': admin + '/jobapplicant/delintroduction', // 删除
	'JobapplicantUpdateintroduction': admin + '/jobapplicant/updateintroduction', // 修改
	'JobapplicantListintroduction': '/admin/jobapplicant/listintroduction',
	'JobapplicantIntroductiondetail': '/admin/jobapplicant/introductiondetail',
	// 联系信息
	'JobapplicantAddcontact': admin + '/jobapplicant/addcontact', // 添加
	'JobapplicantDelcontact': admin + '/jobapplicant/delcontact', // 删除
	'JobapplicantUpdatecontact': admin + '/jobapplicant/updatecontact', // 修改
	'JobapplicantListcontact': admin + '/jobapplicant/listcontact', // 查看
	'JobapplicantContactdetail': admin + '/jobapplicant/contactdetail', // 详情
	// 专业技能
	'JobapplicantAddskill': admin + '/jobapplicant/addskill', // 添加
	'JobapplicantDelskill': admin + '/jobapplicant/delskill', // 删除
	'JobapplicantUpdateskill': admin + '/jobapplicant/updateskill', // 修改
	'JobapplicantListskill': admin + '/jobapplicant/listskill', // 查看
	'JobapplicantSkilldetail': admin + '/jobapplicant/skilldetail', // 详情
	// 培训经历
	'JobapplicantAddtraining': admin + '/jobapplicant/addtraining', // 添加
	'JobapplicantDeltraining': admin + '/jobapplicant/deltraining', // 删除
	'JobapplicantUpdatetraining': admin + '/jobapplicant/updatetraining', // 修改
	'JobapplicantListtraining': admin + '/jobapplicant/listtraining', // 查看
	'JobapplicantTrainingdetail': admin + '/jobapplicant/trainingdetail', // 详情
	// 求职意向-基本
	'JobapplicantAdddesirebase': '/admin/jobapplicant/adddesirebase', // 添加
	'JobapplicantDeldesirebase': '/admin/jobapplicant/deldesirebase', // 删除
	'JobapplicantUpdatedesirebase': '/admin/jobapplicant/updatedesirebase', // 修改
	'JobapplicantDesirebasedetail': '/admin/jobapplicant/desirebasedetail', // 详情
	// 求职意向-地区
	'JobapplicantAdddesirearea': admin + '/jobapplicant/adddesirearea', // 添加
	'JobapplicantDeldesirearea': admin + '/jobapplicant/deldesirearea', // 删除
	'JobapplicantUpdatedesirearea': admin + '/jobapplicant/updatedesirearea', // 修改
	'JobapplicantListdesirearea': admin + '/jobapplicant/listdesirearea', // 查看
	'JobapplicantDesireareadetail': admin + '/jobapplicant/desireareadetail', // 详情
	// 求职意向-职位
	'JobapplicantAdddesireindustry': admin + '/jobapplicant/adddesireindustry', // 添加
	'JobapplicantDeldesireindustry': admin + '/jobapplicant/deldesireindustry', // 删除
	'JobapplicantUpdatedesireindustry': admin + '/jobapplicant/updatedesireindustry', // 修改
	'JobapplicantListdesireindustry': admin + '/jobapplicant/listdesireindustry', // 查看
	'JobapplicantDesireindustrydetail': admin + '/jobapplicant/desireindustrydetail', // 详情
	// 证书
	'JobapplicantAddcertificate': admin + '/jobapplicant/addcertificate', // 添加
	'JobapplicantDelcertificate': admin + '/jobapplicant/delcertificate', // 删除
	'JobapplicantUpdatecertificate': admin + '/jobapplicant/updatecertificate', // 修改
	'JobapplicantListcertificate': admin + '/jobapplicant/listcertificate', // 查看
	'JobapplicantCertificatedetail': admin + '/jobapplicant/certificatedetail', // 详情
	// 工作经历
	'JobapplicantAddexperience': admin + '/jobapplicant/addexperience', // 添加
	'JobapplicantDelexperience': admin + '/jobapplicant/delexperience', // 删除
	'JobapplicantUpdateexperience': admin + '/jobapplicant/updateexperience', // 修改
	'JobapplicantListexperience': admin + '/jobapplicant/listexperience', // 查看
	'JobapplicantExperiencedetail': admin + '/jobapplicant/experiencedetail', // 详情

	// 统计
	StatsMajor: admin + '/stats/major', // 求职者专业统计
	StatsCertificate: admin + '/stats/certificate', // 求职者技能证书统计
	StatsWorkExperience: admin + '/stats/work_experience', // 求职者工作经验统计
	StatsHa: admin + '/stats/ha', // 求职者节假日与食宿统计
	StatsAgeandgender: admin + '/stats/ageandgender', // 求职者年龄与性别统计
	StatsEducation: admin + '/stats/education', // 求职者学历统计
	StatsPosition: admin + '/stats/position', // 求职者求职意向统计
	StatsTitleAndSkill: admin + '/stats/titleandskill', // 求职者职称与技能统计
	
	StatsJobMajor: admin + '/stats/job_major', // 企业职位统计
	
	// 系统设置
	'SysconfigAdd': common + '/sysconfig/add', // 添加
	'SysconfigDel': common + '/sysconfig/del', // 删除
	'SysconfigUpdate': common + '/sysconfig/update', // 修改
	'SysconfigList': common + '/sysconfig/list', // 查看
	'SysconfigDetail': common + '/sysconfig/detail', // 详情
	
	// 用户反馈
	// 反馈
	FeedbackAdd: common + '/feedback/add',	// 添加
	FeedbackDel: common + '/feedback/del',	// 删除
	FeedbackUpdate: common + '/feedback/update',	// 编辑
	FeedbackList: common + '/feedback/list',	// 列表
	FeedbackDetail: common + '/feedback/detail',	// 详情
	
	// 用户反馈
	// 反馈
	CustomerAdd: common + '/customer/add',	// 添加
	CustomerDel: common + '/customer/del',	// 删除
	CustomerUpdate: common + '/customer/update',	// 编辑
	CustomerList: common + '/customer/list',	// 列表
	CustomerDetail: common + '/customer/detail',	// 详情
}