diff --git a/.env.production b/.env.production index 8194275..0c8deaf 100644 --- a/.env.production +++ b/.env.production @@ -3,3 +3,4 @@ NODE_ENV='production' VUE_APP_ENV = 'production' VUE_APP_BASE_URL = '/' outputDir = 'epmet-wx-pa' +PUBLIC_PATH = 'epmet-wx-pa' \ No newline at end of file diff --git a/.env.staging b/.env.staging index f1611e4..51d9ef8 100644 --- a/.env.staging +++ b/.env.staging @@ -2,5 +2,5 @@ NODE_ENV='staging' # must start with VUE_APP_ VUE_APP_ENV = 'staging' VUE_APP_BASE_URL = '/' -outputDir = 'dist' -outputDir = 'epmet-work-wx-dev-staging' +outputDir = 'epmet-wx-pa-staging' +PUBLIC_PATH = '' diff --git a/src/api/message.js b/src/api/message.js new file mode 100644 index 0000000..48c4395 --- /dev/null +++ b/src/api/message.js @@ -0,0 +1,11 @@ +// axios +import request from '@/utils/request' + +//扫描二维码获取房屋信息 +export function querystaffmessage(data) { + return request({ + url: `/message/usermessage/staff/querystaffmessage`, + method: 'POST', + data + }) + } diff --git a/src/config/env.staging.js b/src/config/env.staging.js index 40b5545..c14f304 100644 --- a/src/config/env.staging.js +++ b/src/config/env.staging.js @@ -6,7 +6,7 @@ module.exports = { technicalSupport: '', copyright: 'Copyright @ 2023 版权所有', baseUrl: 'https://epmet-preview.elinkservice.cn', // 项目地址 - baseApi: 'https://epmet-preview.elinkservice.cn/api', + baseApi: 'https://epmet-preview.elinkservice.cn/testapi', wxId: 'wx1078fa1e99424de9', secret: 'ebecf6b88ab455f1cdf4a5b6357407b8', mapKey: '5D6BZ-KHLW4-JUXU5-XIM47-5Q2DJ-IPBBT' diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 63b740d..5ca9db5 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -27,8 +27,7 @@
- - +
05-06 更多 @@ -138,6 +137,8 @@