api.js 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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_new", // 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. /** +++++++++++++++++++++++++++ pt ++++++++++++++++++++++++++++++++++++++ */
  35. groupList: "/f/api/groupPosition/totalGroup", //get 岗位拼团:拼团岗位详情页面获取正在进行的所有拼团列表
  36. groupDetail: "/f/api/groupPosition/groupDetail", //get 岗位拼团:拼团岗位详情
  37. saveAgent: "/f/api/agent/saveAgent", //保存经纪人
  38. myFavoriteList: "/f/api/favoritePosition/myFavorite",
  39. myInterViewList:"/f/api/interView/myInterView",
  40. myInterViewDetail: "/f/api/interView/interViewDetail",
  41. /** +++++++++++++++++++++++++++ 废弃接口 ++++++++++++++++++++++++++++++++++++++ */
  42. // userLogin: '/wxAppletsLogin/wxVoteLogin', // post ,根据微信CODE获取微信用户信息
  43. // userLogin: '/f/api/wxAppletsLogin/decodeUserInfo',
  44. // saveUserInfo: "/frontIndex/wxInfo", // post 用户微信信息存入
  45. // imgUpOne: "/wxAppletsLogin/imgUpOne",//post 上传图片.
  46. // decodeUserInfo: "/wxAppletsLogin/decodeUserInfo",//get 解密数据:小程序解密用户敏感数据
  47. // comApply: "/wxAppletsLogin/comApply",//微信手机号获取解密后绑定
  48. /** +++++++++++++++++++++++++++ frontIndex ++++++++++++++++++++++++++++++++++++++ */
  49. // banner: "/frontIndex/banner",// get 首页轮播图列表获取
  50. // position: "/frontIndex/position",//get 首页岗位列表分页获取
  51. // positionDetail: "/frontIndex/positionDetail",//get 岗位:招聘岗位详情页
  52. // group: "/frontIndex/group", //get 岗位拼团详情
  53. searchHistory: "/frontIndex/searchHistory", //get 岗位搜索记录查询
  54. // groupList: "/frontIndex/groupList", //get 岗位拼团:拼团岗位详情页面获取正在进行的拼团列表
  55. eduList: "/frontIndex/eduList", //get 获取教育水平选项
  56. salaryList: "/frontIndex/salaryList", //get 获取薪资水平选项
  57. // phoneCode : "/frontIndex/phoneSms",// 薪资查询:发送手机验证码
  58. // payrollId: "/frontIndex/payrollId",// 薪资查询:根据手机号码,短信验证码获取身份信息
  59. // payroll: "/frontIndex/payroll", // 薪资查询:根据手机号码,短信验证码获取身份信息
  60. phoneBound: "/frontIndex/phone", // 手机号:用户手机号码绑定、更换
  61. shareBound: "/frontIndex/share", // 推荐有奖好友参加页面手机号填写接口
  62. wxPhoneBound: "/frontIndex/wxPhoneBound", //微信手机号获取解密后绑定
  63. /** +++++++++++++++++++++++++++ frontUser ++++++++++++++++++++++++++++++++++++++ */
  64. // positionList: "/frontUser/positionList",//post 我的岗位申请列表,
  65. // positionApply: "/frontUser/positionApply",//post 岗位申请:用户申请职位或者发起拼团
  66. // groupApply: "/frontUser/groupApply",//post岗位申请:用户申请参与职位拼团
  67. // centerInfo: "/frontUser/centerInfo",//get 我的页面进入后获取个人信息
  68. // approve: "/frontUser/approve",//post 用户认证信息提交,图片先上传获取连接
  69. // resume: "/frontUser/resume",//get 用户简历:用户简历详情信息
  70. // resumeBase: "/frontUser/resumeBase",//post 用户简历基本信息添加、修改:第一次创建简历、简历基本信息编辑,hpUserResumeId存在编辑、否新增
  71. // resumeIntent: "/frontUser/resumeIntent",//post 用户简历:用户求职意向编辑、新增
  72. // resumeExp: "/frontUser/resumeExp",//post 用户简历:用户工作经验编辑、新增
  73. resumeEdu: "/frontUser/resumeEdu", //post 用户简历:用户教育背景编辑、新增
  74. shareQrCodeA: "/frontUser/shareQrCodeA", //post 二维码生成接口B
  75. shareQrCodeB: "/frontUser/shareQrCodeB", //post 二维码生成接口B
  76. shareQrCodeC: "/frontUser/shareQrCodeC", //post 二维码生成接口c
  77. addrdecode: "/wxAppletsLogin/addrEncode", //post 地址编码:城市、详细地址查询经纬度值
  78. }
  79. module.exports = {
  80. url
  81. }