index.js 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. import https from '@/plugins/luch-request_0.0.7/request'
  2. export const getOptions = param => https.get('/apihkds/api/option/getOptions', param)
  3. // 图片上传
  4. export const uploadPic = data => https.post('/upload/save-img', data)
  5. // M 端商家信息
  6. export const getMerchantInfo = param => https.get('/merchant/get-info', param)
  7. // M 端用户信息
  8. export const getCustomApi = param => https.get('/custom/init-custom', param)
  9. // 商户信息
  10. export const getUserApi = param => https.get('/merchant/detail', param)
  11. // 员工信息
  12. export const getStaffApi = param => https.get('/admin/login-detail', param)
  13. // 常用链接 b
  14. export const commonUrl = param => https.get('/merchant/common-url', param)
  15. // 常用链接 b
  16. export const getFestList = param => https.get('/fest/list', param)
  17. // 商家的门店 m
  18. export const getShop = param => https.get('/shop/detail', param)
  19. // 获取验证码 m
  20. export const sendSms = param => https.get('/inform-user/send-sms', param)
  21. // 地图查询 m b s w
  22. export const suggestion = param => https.get('/map/suggestion', param)
  23. // 微信分享 m b
  24. export const wxShare = data => https.post('/wx-share/get-params', data)