Commit 278a815a authored by David黄金龙's avatar David黄金龙

1、修改 版本号

2、登录获取验证码添加
3、删除 不使用的代码
parent f34e62b4
...@@ -2711,7 +2711,7 @@ ...@@ -2711,7 +2711,7 @@
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual; CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 2; CURRENT_PROJECT_VERSION = 3;
DEVELOPMENT_TEAM = ""; DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = RXHYW88XR7; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = RXHYW88XR7;
ENABLE_USER_SCRIPT_SANDBOXING = NO; ENABLE_USER_SCRIPT_SANDBOXING = NO;
...@@ -2753,7 +2753,7 @@ ...@@ -2753,7 +2753,7 @@
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual; CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 2; CURRENT_PROJECT_VERSION = 3;
DEVELOPMENT_TEAM = ""; DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = RXHYW88XR7; "DEVELOPMENT_TEAM[sdk=iphoneos*]" = RXHYW88XR7;
ENABLE_USER_SCRIPT_SANDBOXING = NO; ENABLE_USER_SCRIPT_SANDBOXING = NO;
......
...@@ -190,7 +190,10 @@ class YHCodeSueecssViewController: YHBaseViewController { ...@@ -190,7 +190,10 @@ class YHCodeSueecssViewController: YHBaseViewController {
@objc func startClicked() { @objc func startClicked() {
YHHUD.show(.progress(message: ""))
viewModel?.getLoginCode(phoneNumber ?? "", callBackBlock: {[weak self] success,error in viewModel?.getLoginCode(phoneNumber ?? "", callBackBlock: {[weak self] success,error in
YHHUD.hide()
guard let self = self else { return } guard let self = self else { return }
if success == true { if success == true {
......
...@@ -181,7 +181,10 @@ class YHPhoneLoginViewController: YHBaseViewController { ...@@ -181,7 +181,10 @@ class YHPhoneLoginViewController: YHBaseViewController {
return return
} }
if privacyView.isAgree { if privacyView.isAgree {
YHHUD.show(.progress(message: ""))
viewModel?.getLoginCode(phoneNumer, callBackBlock: {[weak self] success,error in viewModel?.getLoginCode(phoneNumer, callBackBlock: {[weak self] success,error in
YHHUD.hide()
guard let self = self else { return } guard let self = self else { return }
if success == true { if success == true {
...@@ -195,9 +198,9 @@ class YHPhoneLoginViewController: YHBaseViewController { ...@@ -195,9 +198,9 @@ class YHPhoneLoginViewController: YHBaseViewController {
} }
YHHUD.flash(message: msg) YHHUD.flash(message: msg)
#if DEBUG #if DEBUG
let vc = YHCodeSueecssViewController() // let vc = YHCodeSueecssViewController()
vc.phoneNumber = self.phoneMessageView.phoneTextField.text // vc.phoneNumber = self.phoneMessageView.phoneTextField.text
self.navigationController?.pushViewController(vc) // self.navigationController?.pushViewController(vc)
#endif #endif
} }
}) })
......
...@@ -28,7 +28,7 @@ class YHBaseUrlManager { ...@@ -28,7 +28,7 @@ class YHBaseUrlManager {
// MARK: - 当前使用的url // MARK: - 当前使用的url
func curURL() -> String { func curURL() -> String {
// return YHBaseUrlManager.baseUrlRelease //for test hjl return YHBaseUrlManager.baseUrlRelease //for test hjl
#if DEBUG #if DEBUG
return YHBaseUrlManager.baseUrlTest return YHBaseUrlManager.baseUrlTest
#else #else
...@@ -37,7 +37,7 @@ class YHBaseUrlManager { ...@@ -37,7 +37,7 @@ class YHBaseUrlManager {
} }
func curOssURL() -> String { func curOssURL() -> String {
// return YHBaseUrlManager.baseOSSUrlRelease //for test hjl return YHBaseUrlManager.baseOSSUrlRelease //for test hjl
#if DEBUG #if DEBUG
return YHBaseUrlManager.baseOSSUrlTest return YHBaseUrlManager.baseOSSUrlTest
#else #else
......
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