|
@@ -226,6 +226,11 @@ extension MVLoginController: TYAttributedLabelDelegate {
|
|
|
|
|
|
extension MVLoginController: ASAuthorizationControllerDelegate, ASAuthorizationControllerPresentationContextProviding {
|
|
|
@objc func wechatLoginAction() {
|
|
|
+
|
|
|
+ if !PQSingletoWXApiUtil.shared.isInstallWX() {
|
|
|
+ cShowHUB(superView: nil, msg: "您还未安装微信客户端!")
|
|
|
+ return
|
|
|
+ }
|
|
|
PQSingletoWXApiUtil.shared.authorize().wxApiUtilHander = { [weak self] userData, errorMsg in
|
|
|
if userData == nil {
|
|
|
// cShowHUB(superView:nil, msg: errorMsg)
|