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
2a2db3b7
Commit
2a2db3b7
authored
Mar 21, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加编译
parent
3756aba5
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
27 deletions
+33
-27
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+20
-20
YHLoginViewModel.swift
...alaxy/Classes/Modules/Login(登录)/VM/YHLoginViewModel.swift
+4
-1
YHAllApiName.swift
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
+7
-2
YHBaseUrlManager.swift
galaxy/galaxy/Classes/Tools/NetWork/YHBaseUrlManager.swift
+2
-4
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
2a2db3b7
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Classes/Modules/Login(登录)/VM/YHLoginViewModel.swift
View file @
2a2db3b7
...
...
@@ -25,7 +25,10 @@ extension YHLoginViewModel {
"extend"
:
"register"
]
// let strUrl = "http://test-cuser.galaxy-immi.com/" + YHAllApiName.User.verifyCode
let
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
User
.
verifyCode
let
strUrl
=
"http://test-cuser.galaxy-immi.com/"
+
YHAllApiName
.
User
.
verifyCode
// let strUrl = YHBaseUrlManager.shared.curURL() + YHAllApiName.User.verifyCode
let
_
=
YHNetRequest
.
postRequest
(
url
:
strUrl
,
params
:
params
)
{[
weak
self
]
json
,
code
in
guard
let
self
=
self
else
{
return
}
...
...
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
View file @
2a2db3b7
...
...
@@ -67,7 +67,7 @@ class YHAllApiName {
static
let
saveAllEduAndQuaInfoApi
=
"infoflow/submitEducert"
// 搜索大学名称
static
let
searchCollegeNameApi
=
"infoflow/getSchools"
}
struct
Qualification
{
...
...
@@ -77,7 +77,7 @@ class YHAllApiName {
static
let
deleteQualificationInfoApi
=
"infoflow/delQualification"
// 保存专业详情
static
let
saveQualificationInfoApi
=
"infoflow/saveQualification"
}
//Users
...
...
@@ -144,7 +144,12 @@ class YHAllApiName {
//获取验证
struct
User
{
#if DEBUG
static
let
verifyCode
=
"user/verify-code"
#else
static
let
verifyCode
=
"cuser/user/verify-code"
#endif
}
//预览相关接口
...
...
galaxy/galaxy/Classes/Tools/NetWork/YHBaseUrlManager.swift
View file @
2a2db3b7
...
...
@@ -31,8 +31,7 @@ class YHBaseUrlManager {
// MARK: - 当前使用的url
func
curURL
()
->
String
{
#if DEBUG
// return YHBaseUrlManager.baseUrlTest
return
YHBaseUrlManager
.
baseUrlRelease
return
YHBaseUrlManager
.
baseUrlTest
#else
return
YHBaseUrlManager
.
baseUrlRelease
#endif
...
...
@@ -40,8 +39,7 @@ class YHBaseUrlManager {
func
curOssURL
()
->
String
{
#if DEBUG
// return YHBaseUrlManager.baseOSSUrlTest
return
YHBaseUrlManager
.
baseOSSUrlRelease
return
YHBaseUrlManager
.
baseOSSUrlTest
#else
return
YHBaseUrlManager
.
baseOSSUrlRelease
#endif
...
...
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