Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
278a815a
Commit
278a815a
authored
Mar 21, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、修改 版本号
2、登录获取验证码添加 3、删除 不使用的代码
parent
f34e62b4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
7 deletions
+13
-7
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+2
-2
YHCodeSueecssViewController.swift
...ses/Modules/Login(登录)/C/YHCodeSueecssViewController.swift
+3
-0
YHPhoneLoginViewController.swift
...sses/Modules/Login(登录)/C/YHPhoneLoginViewController.swift
+6
-3
YHBaseUrlManager.swift
galaxy/galaxy/Classes/Tools/NetWork/YHBaseUrlManager.swift
+2
-2
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
278a815a
...
@@ -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
;
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHCodeSueecssViewController.swift
View file @
278a815a
...
@@ -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
{
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHPhoneLoginViewController.swift
View file @
278a815a
...
@@ -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
}
}
})
})
...
...
galaxy/galaxy/Classes/Tools/NetWork/YHBaseUrlManager.swift
View file @
278a815a
...
@@ -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
...
...
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