|
@@ -5,19 +5,19 @@ export default defineNuxtPlugin((nuxtApp) => {
|
|
|
//console.log("当前运行的域名:" + currentDomain)
|
|
|
|
|
|
//农民网Pre环境
|
|
|
- // nuxtApp.provide('webUrl', 'https://apipre1.bjzxtw.org.cn')
|
|
|
- // nuxtApp.provide('CwebUrl', currentDomain)
|
|
|
- // nuxtApp.provide('BwebUrl', 'https://adminpre.bjzxtw.org.cn')
|
|
|
- // nuxtApp.provide('LoginWebUrl', 'https://adminpre.bjzxtw.org.cn/adminapi')
|
|
|
- // nuxtApp.provide('userUrl', 'http://localhost:3002')
|
|
|
-
|
|
|
- //农民网正式环境
|
|
|
- nuxtApp.provide('webUrl', 'https://flzxw.bjzxtw.org.cn')
|
|
|
+ nuxtApp.provide('webUrl', 'https://apipre1.bjzxtw.org.cn')
|
|
|
nuxtApp.provide('CwebUrl', currentDomain)
|
|
|
- nuxtApp.provide('BwebUrl', 'https://admin.bjzxtw.org.cn')
|
|
|
- nuxtApp.provide('LoginWebUrl', 'http://admin.bjzxtw.org.cn/adminapi')
|
|
|
+ nuxtApp.provide('BwebUrl', 'https://adminpre.bjzxtw.org.cn')
|
|
|
+ nuxtApp.provide('LoginWebUrl', 'https://adminpre.bjzxtw.org.cn/adminapi')
|
|
|
nuxtApp.provide('userUrl', 'http://localhost:3002')
|
|
|
|
|
|
+ //农民网正式环境
|
|
|
+ // nuxtApp.provide('webUrl', 'https://flzxw.bjzxtw.org.cn')
|
|
|
+ // nuxtApp.provide('CwebUrl', currentDomain)
|
|
|
+ // nuxtApp.provide('BwebUrl', 'https://admin.bjzxtw.org.cn')
|
|
|
+ // nuxtApp.provide('LoginWebUrl', 'http://admin.bjzxtw.org.cn/adminapi')
|
|
|
+ // nuxtApp.provide('userUrl', 'http://localhost:3002')
|
|
|
+
|
|
|
//Dev环境
|
|
|
// nuxtApp.provide('webUrl', 'http://apidev.bjzxtw.org.cn')
|
|
|
// nuxtApp.provide('CwebUrl', 'http://nwdev.bjzxtw.org.cn')
|