api.js 5.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. const url = {
  2. /** +++++++++++++++++++++++++++ 微信小程序接口 ++++++++++++++++++++++++++++++++++++++ */
  3. /**新版接口 */
  4. /** +++++++++++++++++++++++++++ frontIndex ++++++++++++++++++++++++++++++++++++++ */
  5. userLogin: '/f/api/wxAppletsLogin/decodeUserInfo', // post ,根据微信CODE获取微信用户信息
  6. saveUserInfo: "/f/api/wxAppletsLogin/saveUserInfo", // post, 用户微信信息存入
  7. saveMinaPhone: "/f/api/wxAppletsLogin/saveMinaPhone", //post,微信手机号获取解密后绑定
  8. imgUp: "/f/api/wxAppletsLogin/imgUp", //post 上传图片.
  9. banner: "/f/api/slide/banner", // get 首页轮播图列表获取
  10. checkPhone:"/f/api/wxAppletsLogin/checkPhone",//get,检查用户手机号
  11. hotPosition: "/f/api/hpposition/hotPosition", //get,热门岗位列表
  12. fullPosition: "/f/api/hpposition/fullPosition", //get,全职岗位列表
  13. parttimePosition: "/f/api/hpposition/parttimePosition", //get,兼职岗位列表
  14. rewardPosition: "/f/api/hpposition/rewardPosition", //get,入职奖励岗位列表
  15. goodMoneyPosition: "/f/api/hpposition/goodMoneyPosition", //get,高薪急聘岗位列表
  16. welfarePosition: "/f/api/hpposition/welfarePosition", //get,福利岗位列表
  17. groupPosition: "/f/api/hpposition/groupPosition", //get,拼团岗位列表
  18. positionDetail: "/f/api/hpposition/positionDetail", //get 岗位:招聘岗位详情页
  19. positionApply: "/f/api/applyPosition/saveApply", //post 岗位申请:用户申请职位
  20. groupApply: "/f/api/groupPosition/applyGroup", //post 岗位申请:用户发起拼团
  21. searchPosition: "/f/api/search/searchPosition", //get,搜索岗位列表
  22. /** +++++++++++++++++++++++++++ frontUser ++++++++++++++++++++++++++++++++++++++ */
  23. centerInfo: "/f/api/user/approveStatus", //get 我的页面进入后获取个人信息(认证状态)
  24. resumeBase: "/f/api/user/baseData", //post 用户简历基本信息
  25. resume: "/f/api/user/userResume", //get 用户简历:用户简历详情信息
  26. resumeIntent: "/f/api/user/expectationData", //post 用户简历:用户求职意向编辑、新增
  27. resumeExp: "/f/api/user/workExperience", //post 用户简历:用户工作经验编辑、新增
  28. approve: "/f/api/user/realApprove", //post 用户认证信息提交,图片先上传获取连接
  29. positionList: "/f/api/applyPosition/myApply", //get 我的岗位申请列表,
  30. /** +++++++++++++++++++++++++++ frontPayRoll ++++++++++++++++++++++++++++++++++++++ */
  31. phoneCode: "/f/api/login/getAuthCode", // 薪资查询:发送手机验证码
  32. payrollId: "/f/api/payroll/phoneValidate", // 薪资查询:根据手机号码,短信验证码获取身份信息
  33. payroll: "/f/api/payroll/myPayRoll", // 薪资查询:根据手机号码,短信验证码获取身份信息
  34. /** +++++++++++++++++++++++++++ 废弃接口 ++++++++++++++++++++++++++++++++++++++ */
  35. // userLogin: '/wxAppletsLogin/wxVoteLogin', // post ,根据微信CODE获取微信用户信息
  36. // userLogin: '/f/api/wxAppletsLogin/decodeUserInfo',
  37. // saveUserInfo: "/frontIndex/wxInfo", // post 用户微信信息存入
  38. // imgUpOne: "/wxAppletsLogin/imgUpOne",//post 上传图片.
  39. // decodeUserInfo: "/wxAppletsLogin/decodeUserInfo",//get 解密数据:小程序解密用户敏感数据
  40. // comApply: "/wxAppletsLogin/comApply",//微信手机号获取解密后绑定
  41. /** +++++++++++++++++++++++++++ frontIndex ++++++++++++++++++++++++++++++++++++++ */
  42. // banner: "/frontIndex/banner",// get 首页轮播图列表获取
  43. // position: "/frontIndex/position",//get 首页岗位列表分页获取
  44. // positionDetail: "/frontIndex/positionDetail",//get 岗位:招聘岗位详情页
  45. group: "/frontIndex/group", //get 岗位拼团详情
  46. searchHistory: "/frontIndex/searchHistory", //get 岗位搜索记录查询
  47. groupList: "/frontIndex/groupList", //get 岗位拼团:拼团岗位详情页面获取正在进行的拼团列表
  48. eduList: "/frontIndex/eduList", //get 获取教育水平选项
  49. salaryList: "/frontIndex/salaryList", //get 获取薪资水平选项
  50. // phoneCode : "/frontIndex/phoneSms",// 薪资查询:发送手机验证码
  51. // payrollId: "/frontIndex/payrollId",// 薪资查询:根据手机号码,短信验证码获取身份信息
  52. // payroll: "/frontIndex/payroll", // 薪资查询:根据手机号码,短信验证码获取身份信息
  53. phoneBound: "/frontIndex/phone", // 手机号:用户手机号码绑定、更换
  54. shareBound: "/frontIndex/share", // 推荐有奖好友参加页面手机号填写接口
  55. wxPhoneBound: "/frontIndex/wxPhoneBound", //微信手机号获取解密后绑定
  56. /** +++++++++++++++++++++++++++ frontUser ++++++++++++++++++++++++++++++++++++++ */
  57. // positionList: "/frontUser/positionList",//post 我的岗位申请列表,
  58. // positionApply: "/frontUser/positionApply",//post 岗位申请:用户申请职位或者发起拼团
  59. // groupApply: "/frontUser/groupApply",//post岗位申请:用户申请参与职位拼团
  60. // centerInfo: "/frontUser/centerInfo",//get 我的页面进入后获取个人信息
  61. // approve: "/frontUser/approve",//post 用户认证信息提交,图片先上传获取连接
  62. // resume: "/frontUser/resume",//get 用户简历:用户简历详情信息
  63. // resumeBase: "/frontUser/resumeBase",//post 用户简历基本信息添加、修改:第一次创建简历、简历基本信息编辑,hpUserResumeId存在编辑、否新增
  64. // resumeIntent: "/frontUser/resumeIntent",//post 用户简历:用户求职意向编辑、新增
  65. // resumeExp: "/frontUser/resumeExp",//post 用户简历:用户工作经验编辑、新增
  66. resumeEdu: "/frontUser/resumeEdu", //post 用户简历:用户教育背景编辑、新增
  67. shareQrCodeA: "/frontUser/shareQrCodeA", //post 二维码生成接口B
  68. shareQrCodeB: "/frontUser/shareQrCodeB", //post 二维码生成接口B
  69. shareQrCodeC: "/frontUser/shareQrCodeC", //post 二维码生成接口c
  70. addrdecode: "/wxAppletsLogin/addrEncode", //post 地址编码:城市、详细地址查询经纬度值
  71. }
  72. module.exports = {
  73. url
  74. }