Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
iOSTeam
/
Majiabao
/
TealiveModule
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ca022a7e
authored
Nov 20, 2024
by
pierce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
审核需要,就算没有安装微信,也需要可以登录
parent
97e6a434
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
Module/GDSocialCenter/GDSocialCenter/SocialPlatCenter/GDSocialPlatCenter.swift
Module/GDSocialCenter/GDSocialCenter/SocialPlatCenter/GDSocialPlatCenter.swift
View file @
ca022a7e
...
@@ -168,11 +168,10 @@ class GDSocialPlatCenter: BaseViewModel {
...
@@ -168,11 +168,10 @@ class GDSocialPlatCenter: BaseViewModel {
switch
model
.
plat
{
switch
model
.
plat
{
case
.
wechat
:
case
.
wechat
:
if
let
wechatOpenUrl
=
URL
(
string
:
"weixin://"
),
UIApplication
.
shared
.
canOpenURL
(
wechatOpenUrl
)
==
true
{
if
let
wechatOpenUrl
=
URL
(
string
:
"weixin://"
),
UIApplication
.
shared
.
canOpenURL
(
wechatOpenUrl
)
==
true
{
GDPlat
.
WeChat
.
login
(
delegate
:
self
,
currentVc
:
vc
)
}
else
{
}
else
{
currentLoginModel
?
.
completionHandler
?(
false
,
"请先安装微信"
,
[:])
FTIndicator
.
dismissProgress
()
currentLoginModel
=
nil
}
}
GDPlat
.
WeChat
.
login
(
delegate
:
self
,
currentVc
:
vc
)
case
.
qq
:
case
.
qq
:
let
success
=
tencentAuth
!.
authorize
(
GDPlat
.
QQ
.
permission
,
localAppId
:
GDSDK
.
gd_QQAppId
)
let
success
=
tencentAuth
!.
authorize
(
GDPlat
.
QQ
.
permission
,
localAppId
:
GDSDK
.
gd_QQAppId
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment