index.js 651 B

123456789101112
  1. //
  2. export const bannerList = (params, config = {}) => uni.$u.http.get(`/1`, {params, config, custom: { auth: false }})
  3. //
  4. export const Openid = (params, config = {custom: { auth: true }}) => uni.$u.http.post(`/2`, params, config)
  5. // 监测更新
  6. export const selectVersion = (params, config) => uni.$u.http.get(`/pda/selectVersion`, params, )
  7. // 下载apk包
  8. export const downloadApk = (params, config = {custom: { auth: false }}) => uni.$u.http.post(`/pda/downloadApk`, params, config)
  9. // 获取用户消息列表
  10. export const getMsgList = (params, config = { custom: { auth: true } }) =>
  11. uni.$u.http.get(`/pda/getMsgList`, { params, config });