index.js 769 B

123456789101112131415161718192021
  1. const http = uni.$u.http
  2. // post请求,用户绑定门店
  3. export const userBindStore = (params, config = {}) => http.post('/member/wechat/bindStore', params, config)
  4. // get请求 获取门店列表
  5. // export const storeList = (params, config = {}) => http.get('/store/uniapp/store-list', params, config)
  6. // get请求 获取公告列表
  7. export const noticeList = (params, config = {}) => http.get('/system/openapi/notice/list', params, config)
  8. // get请求 获取公告详情
  9. export const getNoticeDetail = (params, config = {}) => http.get('/system/openapi/notice/'+params.data.noticeId, params, config)
  10. // get请求 获取banner图列表
  11. export const getSlideshowList = (params, config = {}) => http.get('/system/openapi/getSlideshowList', params, config)