diff --git a/main.js b/main.js index 7bc0864..b078a9f 100644 --- a/main.js +++ b/main.js @@ -5,9 +5,10 @@ import common from './utils/common.js' // const baseURL = 'http://localhost:7010' // const baseURL = 'http://81.69.47.31:7010' -// const baseURL = 'https://service.bnyer.cn' -//const baseURL = 'http://vaqc3e.natappfree.cc' -const baseURL = 'http://47.108.66.163:7010' +// const baseURL = 'https://service.bnyer.cn' //正式 +//const baseURL = 'http://47.108.66.163:7010' //测试 +const baseURL = 'http://jbsu95.natappfree.cc' //本地 + Vue.prototype.baseURL = baseURL; Vue.prototype.$noMultipleClicks = common.noMultipleClicks; diff --git a/pages/userInfo/userInfo.vue b/pages/userInfo/userInfo.vue index 50a23bc..0289280 100644 --- a/pages/userInfo/userInfo.vue +++ b/pages/userInfo/userInfo.vue @@ -225,14 +225,13 @@ import UniIcons from "../../uni_modules/uni-icons/components/uni-icons/uni-icons }, //打开抖音关注页 - linkToUs(){ - uni.showToast({ - title: '关注次元意境抖音官方账号即可', - icon: 'none' - }) - //tt.openAwemeUserProfile(options); - //console.log('options',options) - }, + linkToUs(){ + tt.openAwemeUserProfile({ + success: (res) => { + console.log(res); + } + }); + }, //兑换绘画次数 useCdk(){