api.js 6.6 KB

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