diff --git a/config/app.js b/config/app.js index dfef6ad2..752d35e4 100644 --- a/config/app.js +++ b/config/app.js @@ -1,12 +1,12 @@ -let domain = 'https://xxx.xxx' +let domain = 'xxx.xxx' module.exports = { // 请求域名 格式: https://您的域名 // #ifdef MP HTTP_REQUEST_URL: domain, // #endif - HTTP_ADMIN_URL:'https://xxx.xxx.xxx', //PC后台的API请求地址,上传图片用 + HTTP_ADMIN_URL:'xxx.xxx.xxx', //PC后台的API请求地址,上传图片用 // #ifdef H5 //H5接口是浏览器地址 // HTTP_REQUEST_URL: window.location.protocol+"//"+window.location.host, diff --git a/pages/user/index.vue b/pages/user/index.vue index 8628b73c..59793d2e 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -125,22 +125,12 @@