index.js 845 B

12345678910111213141516171819202122232425
  1. import request from "./request.js"
  2. // 获取列表
  3. export const TravelImageList = data => request.get('/SzyImageH5/TravelImageList', data)
  4. // 获取封面
  5. export const GetFolder = data => request.get('/SzyImageH5/get_folder', data)
  6. // 内容
  7. export const GetImgDetail = data => request.get('/SzyImageH5/get_img_detail', data)
  8. // 微信授权登录
  9. export const wx_Login = data => request.get('/SzyImageH5/wx_Login', data)
  10. // 首页列表
  11. export const GetTravelList = data => request.get('/SzyImageH5/GetTravelList', data)
  12. // 上传照片
  13. export const UploadImg = data => request.post('/SzyImageH5/UploadImg', data)
  14. // 获取与自己相关的照片
  15. export const GetUserImage = data => request.post('/SzyImageH5/GetUserImage', data)
  16. // 获取上传头像后的信息
  17. export const GetImg = data => request.post('/SzyImageH5/GetImg', data)