api.js 6.3 KB

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