Commit 911c1992 authored by David黄金龙's avatar David黄金龙

添加 测试账号的 校验 15818743775

parent 2aa9b8e1
...@@ -98,6 +98,12 @@ class YHCodeSueecssViewController: YHBaseViewController { ...@@ -98,6 +98,12 @@ class YHCodeSueecssViewController: YHBaseViewController {
if let phone = self.phoneNumber { if let phone = self.phoneNumber {
// 登录接口需要加一个deviceToken参数 // 登录接口需要加一个deviceToken参数
YHHUD.show(.progress(message: "登录中...")) YHHUD.show(.progress(message: "登录中..."))
if phone.contains("15818743775") {
YHHUD.hide()
self.requestLogin(phone: phone, code: code)
return
}
if YHLoginManager.shared.deviceTokenModel.registerId.isEmpty { if YHLoginManager.shared.deviceTokenModel.registerId.isEmpty {
JPUSHService.registrationIDCompletionHandler { JPUSHService.registrationIDCompletionHandler {
resCode, registrationID in resCode, registrationID in
......
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