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
cab61452
Commit
cab61452
authored
Dec 24, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 埋点
parent
8f78ed0f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
YHAIServiceListViewController.swift
...I/AI-Dialogue(AI对话)/C/YHAIServiceListViewController.swift
+13
-0
YHHomeHoldViewPageViewController.swift
...Modules/Home(首页)/C/YHHomeHoldViewPageViewController.swift
+3
-0
No files found.
galaxy/galaxy/Classes/Modules/AI/AI-Dialogue(AI对话)/C/YHAIServiceListViewController.swift
View file @
cab61452
...
...
@@ -131,12 +131,18 @@ extension YHAIServiceListViewController: UICollectionViewDelegate, UICollectionV
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
)
}
else
if
model
.
redirectPath
==
YHAIJumpPageType
.
galaxySelect
.
rawValue
{
YHAnalytics
.
track
(
"APP_ChanPinZhenXuan"
)
// 银河甄选
let
vc
=
YHSelectViewController
()
vc
.
hideFlag
=
false
UIViewController
.
current
?
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
}
else
if
model
.
redirectPath
==
YHAIJumpPageType
.
appServiceTab
.
rawValue
{
YHAnalytics
.
track
(
"APP_FuWuJinDu"
)
// 服务页
UIViewController
.
current
?
.
navigationController
?
.
popToRootViewController
(
animated
:
false
)
goTabBarBy
(
tabType
:
.
service
)
...
...
@@ -152,6 +158,13 @@ extension YHAIServiceListViewController: UICollectionViewDelegate, UICollectionV
}
else
{
if
model
.
businessType
==
YHAIRobotType
.
education
.
rawValue
{
YHAnalytics
.
track
(
"APP_JiaoYuBao"
)
}
else
if
model
.
businessType
==
YHAIRobotType
.
sale
.
rawValue
{
YHAnalytics
.
track
(
"APP_GuiHuaShi"
)
}
self
.
manager
.
getSubRobotChatConversationId
(
listItemId
:
"
\(
model
.
id
)
"
)
{
sesseionId
in
let
vc
=
YHAIRobotChatViewController
()
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHHomeHoldViewPageViewController.swift
View file @
cab61452
...
...
@@ -576,6 +576,9 @@ extension YHHomeHoldViewPageViewController : UITabBarControllerDelegate {
}
if
index
==
2
{
// AI港小宝
YHAnalytics
.
track
(
"APP_HomeTab_GangXiaoBao"
)
if
!
YHLoginManager
.
shared
.
isLogin
()
{
YHOneKeyLoginManager
.
shared
.
oneKeyLogin
()
return
false
...
...
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