Sfoglia il codice sorgente

更新默认文件

evoxwht 2 anni fa
parent
commit
831d4df3d8
2 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 1 1
      template/admin/src/setting.js
  2. 2 2
      template/uni-app/config/app.js

+ 1 - 1
template/admin/src/setting.js

@@ -1,5 +1,5 @@
 // 请求接口地址 如果没有配置自动获取当前网址路径
-const VUE_APP_API_URL = 'https://bz.wuht.net/adminapi' || process.env.VUE_APP_API_URL || `${location.origin}/adminapi`;
+const VUE_APP_API_URL = process.env.VUE_APP_API_URL || `${location.origin}/adminapi`;
 
 const Setting = {
   // 路由前缀

+ 2 - 2
template/uni-app/config/app.js

@@ -2,13 +2,13 @@ module.exports = {
 	// 小程序配置
 	// #ifdef MP || APP-PLUS
 	// 请求域名 格式: https://您的域名
-	HTTP_REQUEST_URL: `https://v4.crmeb.net`,
+	HTTP_REQUEST_URL: `https://demo.crmeb.com`,
 	// #endif
 
 	// H5配置
 	// #ifdef H5
 	//H5接口是浏览器地址,非单独部署不用修改
-	HTTP_REQUEST_URL: `https://bz.wuht.net` || window.location.protocol + "//" + window.location.host,
+	HTTP_REQUEST_URL: window.location.protocol + "//" + window.location.host,
 	// #endif