liukangdong
2025-03-12 908ce43ff21c2068ef5148b0a417423c8ed9eae5
screen/src/utils/request.js
@@ -2,7 +2,7 @@
const instance = axios.create({
  baseURL: '/gateway_interface',
  timeout: 10000,
  timeout: 30000,
  withCredentials: true,
  headers: {
    shopId: 1
@@ -18,6 +18,14 @@
export default instance
export const request = (url, data, method = 'GET') => {
  return instance({
    url: url,
    method: method || 'GET',
    params: method == 'GET' ? { ...data } : null,
    data: method == 'POST' ? { ...data } : null
  })
}
export const getLargeScreenData = (data) => {
  return instance({