调整 添加贸易条款
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user