app.js 253 B

1234567891011121314151617181920
  1. import http from './interface'
  2. /**
  3. * 检查是否有新版本
  4. * {version:1}
  5. */
  6. export const upgrade = (data) => {
  7. return http.request({
  8. url: '/home/v1/app/upgrade',
  9. method:'GET',
  10. data,
  11. })
  12. }
  13. export default {
  14. upgrade,
  15. }