Commit 077afa5b authored by David黄金龙's avatar David黄金龙

Merge branch 'youhua-dev' of http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS into youhua-dev

* 'youhua-dev' of http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS:
  解决崩溃问题

# Conflicts:
#	galaxy/galaxy/AppDelegate.swift
parents 476780ce 3fadb891
......@@ -90,10 +90,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate, WXApiDelegate {
func onResp(_ resp: BaseResp) {
if resp.isKind(of: SendAuthResp.self) {
let res = resp as? SendAuthResp
if res?.state == "wechat_sdk_demo_test" {
if let code = res?.code {
YHShareManager.shared.getWechatAccessToken(code: code)
}
if res?.state == "wechat_sdk_demo_test", let code = res?.code {
YHShareManager.shared.getWechatAccessToken(code: code)
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment