调整 添加贸易条款

This commit is contained in:
浅念
2026-01-16 09:54:29 +08:00
parent 56f09c263f
commit 7b516404ce
11 changed files with 2316 additions and 807 deletions
+7 -7
View File
@@ -72,12 +72,12 @@
async silentAuth() {
try {
// 1) 如果本地已有 token,直接进首页(丝滑)
const token = uni.getStorageSync('token')
if (token) {
this.title = '已登录'
this.desc = '正在进入页面'
return this.goRedirectSmooth()
}
// const token = uni.getStorageSync('token')
// if (token) {
// this.title = '已登录'
// this.desc = '正在进入页面'
// return this.goRedirectSmooth()
// }
// 2) 获取飞书授权跳转地址(静默授权/免登)
this.title = '正在跳转飞书授权'
@@ -85,7 +85,7 @@
const res = await request({
url: 'common/auth/feishu/scope',
method: 'get',
data:{app_id:this.fsappid}
data:{app_id:this.fsappid,is_pc:0}
})
const auth_url = res?.data?.data?.auth_url
if (!auth_url) {