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
993be4fd
Commit
993be4fd
authored
Apr 07, 2024
by
David黄金龙
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、删除 不使用的代码
2、处理一处 bug
parent
0af29081
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
36 deletions
+10
-36
YHSchemeTableViewCell.swift
...ice(服务中心)/MyScheme(我的方案)/View/YHSchemeTableViewCell.swift
+8
-1
YhConstant.swift
galaxy/galaxy/Classes/Tools/Helper/YhConstant.swift
+0
-18
YHBaseUrlManager.swift
galaxy/galaxy/Classes/Tools/NetWork/YHBaseUrlManager.swift
+2
-17
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyScheme(我的方案)/View/YHSchemeTableViewCell.swift
View file @
993be4fd
...
...
@@ -190,7 +190,14 @@ class YHSchemeTableViewCell: UITableViewCell {
}
}
else
if
title
.
contains
(
"文书写作"
)
{
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
YHMyDocumentsListViewController
())
if
let
orderID
=
UserDefaults
.
standard
.
value
(
forKey
:
"orderIdForPreview"
)
{
let
vc
=
YHMyDocumentsListViewController
()
vc
.
orderId
=
orderID
as?
Int
??
0
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
{
YHHUD
.
flash
(
message
:
"订单号为空"
)
}
}
}
}
...
...
galaxy/galaxy/Classes/Tools/Helper/YhConstant.swift
View file @
993be4fd
...
...
@@ -133,26 +133,8 @@ func isIphoneX() -> Bool {
}
class
YhConstant
{
// MARK: - URL 相关
struct
URL
{
// MARK: - 帮助与反馈
static
let
userQAUrl
=
YHBaseUrlManager
.
shared
.
h5URL
()
+
"landing/index.html#/pages/my/index"
// MARK: - 优眠用户注销条款
static
let
userUnregisterURL
=
"https://www.baidu.com"
// MARK: - 隐私政策
static
let
privacyURL
=
YHBaseUrlManager
.
shared
.
h5URL
()
+
"landing/index.html#/subpages/personal/pages/protocol/index?classify=privacy"
// MARK: - 用户协议
static
let
userProtocalURL
=
YHBaseUrlManager
.
shared
.
h5URL
()
+
"landing/index.html#/subpages/personal/pages/protocol/index?classify=agreement"
}
// MARK: - 登录信息
static
let
KLoginedInfoKey
=
"KLoginedInfoKey"
}
extension
YhConstant
{
...
...
galaxy/galaxy/Classes/Tools/NetWork/YHBaseUrlManager.swift
View file @
993be4fd
...
...
@@ -8,10 +8,11 @@
// MARK: - 管理项目开发中需要使用到的域名地址
class
YHBaseUrlManager
{
//单例
static
let
shared
=
YHBaseUrlManager
()
//测试环境
static
let
baseUrlTest
:
String
=
"https://test-app-go-api.galaxy-immi.com/"
//APP 使用域名
//正式环境
static
let
baseUrlRelease
:
String
=
"https://app-go-api.galaxy-immi.com/"
...
...
@@ -21,12 +22,7 @@ class YHBaseUrlManager {
//正式环境-OSS
static
let
baseOSSUrlRelease
:
String
=
"http://comserver.galaxy-immi.com/"
//h5开发环境-H5
static
let
h5UrlDev
:
String
=
""
//h5正式环境-H5
static
let
h5UrlRelease
:
String
=
""
// MARK: - 当前使用的url
func
curURL
()
->
String
{
#if DEBUG
return
YHBaseUrlManager
.
baseUrlTest
...
...
@@ -44,17 +40,6 @@ class YHBaseUrlManager {
return
YHBaseUrlManager
.
baseOSSUrlTest
#else
return
YHBaseUrlManager
.
baseOSSUrlRelease
#endif
}
// MARK: - 当前使用的url
func
h5URL
()
->
String
{
#if DEBUG
return
YHBaseUrlManager
.
h5UrlDev
#elseif TESTENV
return
YHBaseUrlManager
.
h5UrlDev
#else
return
YHBaseUrlManager
.
h5UrlRelease
#endif
}
}
pete谢兆麟
@pete
mentioned in commit
a1fc35d6
·
Apr 07, 2024
mentioned in commit
a1fc35d6
mentioned in commit a1fc35d674783994b77fb590b2bfe5182c755394
Toggle commit list
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