diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index 3a56e8a..3e70991 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -4,7 +4,7 @@ { "customPlaygroundType" : "local", "packageName" : "com.trustbridge.mm", - "playground" : "standard", + "playground" : "custom", "type" : "uni-app:app-android" }, { diff --git a/manifest.json b/manifest.json index 0aa087c..617b46f 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "appid" : "__UNI__4910728", "description" : "信任桥优品是一款集线上商城、线下联盟商家的DAO聚合商城;通过“有趣”“有利”“有希望”的卖货玩法,吸引消费者、推广者、商家、投资人参与生态,共同打造共创共享的全球产业生态。", "versionName" : "1.0.1", - "versionCode" : 145, + "versionCode" : 147, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/pages/home/home.vue b/pages/home/home.vue index fb7f7c1..d7120e5 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -314,10 +314,8 @@ export default { content:'当前APP想要粘贴商品详情,是否继续?', success:(res1=>{ if(res1.confirm){ - let arr = res.data.split('?id='); - console.log('arr',arr, Number(arr[1])) - const id = arr[1].split(' '); - _this.curId = Number(id[0]); + let id = res.data.match(/=(.*?)\s/); + _this.curId = Number(id[1]); _this.getShop(); uni.setClipboardData({ data: '', diff --git a/utils/config.js b/utils/config.js index d20d84b..b72c9dd 100644 --- a/utils/config.js +++ b/utils/config.js @@ -2,11 +2,11 @@ // export const BASE_URL="http://cl55un59859.vicp.fun:24346"; // 测试环境 -// export const BASE_URL = "https://api.tbmall.xin"; //生产 -// export const MILD_BASE_URL = "https://agent.tbmall.xin/"; //中台生产 +export const BASE_URL = "https://api.tbmall.xin"; //生产 +export const MILD_BASE_URL = "https://agent.tbmall.xin/"; //中台生产 -export const BASE_URL ='https://api.o.tbmall.xin'; // 本地测试 -export const MILD_BASE_URL = "https://agent.o.tbmall.xin/"; //中台测试 +// export const BASE_URL ='https://api.o.tbmall.xin'; // 本地测试 +// export const MILD_BASE_URL = "https://agent.o.tbmall.xin/"; //中台测试 export const SHARE_URL = 'https://h.tbmall.xin';