index.js 491 B

12345678910
  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)