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
b1d77671
Commit
b1d77671
authored
Dec 27, 2023
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除 不使用的代码
parent
52f0cb5d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
34 deletions
+12
-34
YHTabBarViewController.swift
galaxy/galaxy/Classes/Base/C/YHTabBarViewController.swift
+2
-2
YHConfig.swift
galaxy/galaxy/Classes/Tools/Config/YHConfig.swift
+10
-13
YhConstant.swift
galaxy/galaxy/Classes/Tools/Helper/YhConstant.swift
+0
-19
No files found.
galaxy/galaxy/Classes/Base/C/YHTabBarViewController.swift
View file @
b1d77671
...
...
@@ -13,8 +13,8 @@ class YHTabBarViewController: ESTabBarController {
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
self
.
tabBar
.
shadowImage
=
UIImage
()
self
.
tabBar
.
backgroundImage
=
UIImage
()
//
self.tabBar.shadowImage = UIImage()
//
self.tabBar.backgroundImage = UIImage()
// NotificationCenter.default.addObserver(self, selector: #selector(hideTabBar), name: BsConstant.BsNotification.tabBarHideNotification, object: nil)
//
...
...
galaxy/galaxy/Classes/Tools/Config/YHConfig.swift
View file @
b1d77671
...
...
@@ -11,14 +11,11 @@ import UIKit
let
APP_NAME
=
Bundle
.
main
.
infoDictionary
!
[
"CFBundleName"
]
as!
String
func
YHLOG
<
T
>
(
message
:
T
,
file
:
String
=
#file
,
funcName
:
String
=
#function
,
lineName
:
Int
=
#line
){
//这个DEBUG 是一个debug时候的一个flag需要自己去xcode设置项设置。
#if DEBUG
#if DEBUG
let
flieName
=
(
file
as
NSString
)
.
lastPathComponent
print
(
"
\(
APP_NAME
)
/
\(
flieName
)
/
\(
funcName
)
/
\(
lineName
)
:
\(
message
)
"
)
#endif
#endif
}
///屏幕宽度
...
...
galaxy/galaxy/Classes/Tools/Helper/YhConstant.swift
View file @
b1d77671
...
...
@@ -41,29 +41,12 @@ class YhConstant {
static
let
wx_universal_link
=
universal_link
+
"wx-sign-in/"
//#if DEBUG
// // MARK: - 医学中心
// static let medical_center_url = "http://10.168.3.41:10086/h5/#/pages/medicineCenter/index"
//#else
// MARK: - 医学中心
static
let
medical_center_url
=
YHBaseUrlManager
.
shared
.
h5URL
()
+
"landing/index.html#/pages/medicineCenter/index"
//#endif
// MARK: - 助眠专辑详情
//static let music_detail_url = BsBaseUrlManager.shared.h5URL() + "landing/index.html#/subpages/platform/pages/musicdetail/index?immerse=1"
// MARK: - 文章列表
//static let article_list_url = BsBaseUrlManager.shared.h5URL() + "landing/index.html#/subpages/platform/pages/articlelist/index?immerse=1"
// MARK: - 文章详情
static
let
article_detail_url
=
YHBaseUrlManager
.
shared
.
h5URL
()
+
"landing/index.html#/subpages/platform/pages/articledetail/index?immerse=1"
// MARK: - 科普视频列表
//static let video_list_url = BsBaseUrlManager.shared.h5URL() + "landing/index.html#/subpages/platform/pages/videolist/index?immerse=1"
}
...
...
@@ -105,8 +88,6 @@ extension YhConstant {
class
BsNotification
{
public
static
let
didCancelTaskNotification
=
Notification
.
Name
(
rawValue
:
"org.alamofire.notification.name.request.didCancelTask"
)
//用户详细信息更改成功
public
static
let
didUpdateUserDetailInfoSuccessNotifiction
=
Notification
.
Name
(
rawValue
:
"com.usleep.health.updateUserDetailInfo.success"
)
...
...
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