system.js 485 B

12345678910111213141516171819202122232425
  1. import request from "@/utils/request"
  2. // 版本信息(服务器时间戳)
  3. export const getVersion = () => {
  4. return request({
  5. url: '/app-api/menduner/system/get/version',
  6. method: 'GET',
  7. custom: {
  8. showLoading: false,
  9. auth: false
  10. }
  11. })
  12. }
  13. export const sendError = (data) => {
  14. return request({
  15. url: '/app-api/menduner/system/error-record/create',
  16. method: 'POST',
  17. data,
  18. custom: {
  19. showLoading: false,
  20. auth: false
  21. }
  22. })
  23. }