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
2e3a5138
Commit
2e3a5138
authored
Jul 31, 2024
by
DavidHuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加 获取规则方法
parent
f9b07a3c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
+13
-5
AppDelegate.swift
galaxy/galaxy/AppDelegate.swift
+3
-5
YHHomeHoldViewPageViewController.swift
...Modules/Home(首页)/C/YHHomeHoldViewPageViewController.swift
+10
-0
No files found.
galaxy/galaxy/AppDelegate.swift
View file @
2e3a5138
...
@@ -22,6 +22,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate, WXApiDelegate {
...
@@ -22,6 +22,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate, WXApiDelegate {
Thread
.
sleep
(
forTimeInterval
:
0.5
)
// 应产品同学Nick要求 启动页时间展示长点
Thread
.
sleep
(
forTimeInterval
:
0.5
)
// 应产品同学Nick要求 启动页时间展示长点
//灰度规则配置
YHUatHelper
.
shared
.
loadUatData
()
setupAudionConfig
()
setupAudionConfig
()
//初始化 神策sdk
//初始化 神策sdk
...
@@ -58,11 +61,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate, WXApiDelegate {
...
@@ -58,11 +61,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate, WXApiDelegate {
YHOSSManager
.
share
.
getOSSID
()
YHOSSManager
.
share
.
getOSSID
()
//TODO: - for test hjl
YHUatHelper
.
shared
.
loadUatData
()
//1.设置主窗口
//1.设置主窗口
setupRootVC
()
setupRootVC
()
return
true
return
true
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHHomeHoldViewPageViewController.swift
View file @
2e3a5138
...
@@ -82,6 +82,8 @@ class YHHomeHoldViewPageViewController: YHBaseViewController {
...
@@ -82,6 +82,8 @@ class YHHomeHoldViewPageViewController: YHBaseViewController {
needReloadDataFlag
=
false
needReloadDataFlag
=
false
homePageVC
.
requestOrder
()
homePageVC
.
requestOrder
()
}
}
getUatRules
()
}
}
override
func
viewWillDisappear
(
_
animated
:
Bool
)
{
override
func
viewWillDisappear
(
_
animated
:
Bool
)
{
...
@@ -122,6 +124,14 @@ class YHHomeHoldViewPageViewController: YHBaseViewController {
...
@@ -122,6 +124,14 @@ class YHHomeHoldViewPageViewController: YHBaseViewController {
//MARK: - 内部函数
//MARK: - 内部函数
extension
YHHomeHoldViewPageViewController
{
extension
YHHomeHoldViewPageViewController
{
func
getUatRules
()
{
DispatchQueue
.
global
()
.
async
{
//灰度规则配置
YHUatHelper
.
shared
.
loadUatData
()
}
}
@objc
func
clickMsgitem
()
{
@objc
func
clickMsgitem
()
{
needReloadDataFlag
=
true
needReloadDataFlag
=
true
}
}
...
...
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