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
d2cefc7d
Commit
d2cefc7d
authored
Jul 04, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 环境变量
parent
912024d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
Applegate(JPush).swift
galaxy/galaxy/Applegate(JPush).swift
+0
-1
YHBaseUrlManager.swift
galaxy/galaxy/Classes/Tools/NetWork/YHBaseUrlManager.swift
+7
-7
No files found.
galaxy/galaxy/Applegate(JPush).swift
View file @
d2cefc7d
...
...
@@ -60,7 +60,6 @@ extension AppDelegate: JPUSHRegisterDelegate {
YHHUD
.
flash
(
message
:
error
.
localizedDescription
)
#elseif TESTENV
YHHUD
.
flash
(
message
:
error
.
localizedDescription
)
#elseif UATENV
#else
#endif
...
...
galaxy/galaxy/Classes/Tools/NetWork/YHBaseUrlManager.swift
View file @
d2cefc7d
...
...
@@ -12,22 +12,22 @@ class YHBaseUrlManager {
static
let
shared
=
YHBaseUrlManager
()
//测试环境
static
let
baseUrlTest
:
String
=
"https://test-app-go-api.galaxy-immi.com"
//APP 使用域名
static
let
baseUrl
For
Test
:
String
=
"https://test-app-go-api.galaxy-immi.com"
//APP 使用域名
//正式环境
static
let
baseUrlRelease
:
String
=
"https://app-go-api.galaxy-immi.com"
static
let
baseUrl
For
Release
:
String
=
"https://app-go-api.galaxy-immi.com"
// UAT灰度环境
static
let
baseU
atUrlTes
t
:
String
=
"https://uat-go-api.galaxy-immi.com"
static
let
baseU
rlForUa
t
:
String
=
"https://uat-go-api.galaxy-immi.com"
func
curURL
()
->
String
{
#if DEBUG
return
YHBaseUrlManager
.
baseUrlTest
+
"/"
return
YHBaseUrlManager
.
baseUrl
For
Test
+
"/"
#elseif TESTENV
return
YHBaseUrlManager
.
baseUrlTest
+
"/"
return
YHBaseUrlManager
.
baseUrl
For
Test
+
"/"
#elseif UATENV
return
YHBaseUrlManager
.
baseU
atUrlTes
t
+
"/"
return
YHBaseUrlManager
.
baseU
rlForUa
t
+
"/"
#else
return
YHBaseUrlManager
.
baseUrlRelease
+
"/"
return
YHBaseUrlManager
.
baseUrl
For
Release
+
"/"
#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