From cb725570c9dde0bc86aebe0fe92b4dcb3fb65872 Mon Sep 17 00:00:00 2001 From: bruce <1272542526@qq.com> Date: Sun, 4 Feb 2024 12:54:00 +0800 Subject: [PATCH] update --- config/app.js | 1 + pages/user/index.vue | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config/app.js b/config/app.js index 437f178..3b43586 100644 --- a/config/app.js +++ b/config/app.js @@ -8,6 +8,7 @@ let openPlantGrass = '-openPlantGrass-' // let httpApi = 'http://192.168.31.110:8324' //测试 // let httpApi = 'https://mer.crmeb.net' //生产 // let httpApi = 'https://b2b2c.njrenzhou.cn' //生产 +// let httpApi = 'http://139.9.197.139' //生产 let httpApi = 'https://shop.freelycar.cn' //生产 // 聊天接口修改此字符 小程序聊天要求wss 例如:wss://mer.crmeb.net diff --git a/pages/user/index.vue b/pages/user/index.vue index 97e7a1c6..4e63f0c 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -252,6 +252,7 @@ // +---------------------------------------------------------------------- let sysHeight = uni.getSystemInfoSync().statusBarHeight + 'px'; import { getMenuList, getUserInfo, setVisit, getBrandList, getCheck } from '@/api/user.js'; + // import { HTTP_REQUEST_URL } from '@/config/app'; import { getVersion } from "@/api/public"; import { orderData } from '@/api/order.js' import { mapGetters } from "vuex"; @@ -369,6 +370,7 @@ } }, onLoad() { + console.log(HTTP_REQUEST_URL) this.getBrandList(); this.getCheck(); }, @@ -669,7 +671,7 @@ let configAppMessage = { desc: "快来加入我的分享链接吧~", title: "快来加入我的分享链接吧~", - link: "https://shop.freelycar.cn"+"?spid="+uid, + link: HTTP_REQUEST_URL+"?spid="+uid, success: function() { },