Your Name hace 4 años
padre
commit
345500a2d9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/services/apis.js

+ 1
- 1
src/services/apis.js Ver fichero

@@ -1,4 +1,4 @@
1
-const prefix = '/api/center'
1
+const prefix = process.env.NODE_ENV === 'production' ? 'https://channel.fangdeal.cn/api/center' : '/api/center'
2 2
 
3 3
 const apis = {
4 4
   user: {