feat: 小程序统一走 Go 后台,咨询与登录切到 /api/v1

去掉协会 WebView 和魔方账密页,微信登录与咨询接口共用同一 token 和拦截器。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jackyu66git
2026-09-15 00:26:28 +08:00
co-authored by Cursor
parent 6e97f01378
commit b09d82df8d
40 changed files with 3852 additions and 285 deletions
-13
View File
@@ -495,7 +495,6 @@
</text>
</view>
</view>
<web-view v-if="showWebView" :src="externalUrl"></web-view>
</view>
</template>
@@ -511,8 +510,6 @@
const consultList = ref([])
const newHealingList = ref([])
const newActivityList = ref([])
const showWebView = ref(false)
const externalUrl = ref()
const dotsStyles = ref({
backgroundColor: 'rgba(96, 98, 113, 1)',
border: '1px rgba(96, 98, 113, 1) solid',
@@ -596,16 +593,6 @@
})
}
const toTuTest=()=>{
const externalUrl = 'https://cps.jsbr.org.cn/login.html';
uni.navigateTo({
url: `/pages/webview-page/webview-page?url=${encodeURIComponent(externalUrl)}`
});
}
const toHealingDetail=(item)=>{
dohttp.navigateTo("/pages/healing-detail/healing-detail?id=" + item.id)
}