Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
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
杨凯
YDL-Component-Medical
Commits
2fc38b8f
Commit
2fc38b8f
authored
Jul 06, 2021
by
YKai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 私聊按钮点击事件统计加入,组件升级
parent
4d65fd48
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
12 deletions
+11
-12
config.gradle
config.gradle
+4
-4
ExpertSearchAdapter.kt
m-consultant/src/main/java/com/yidianling/consultant/adapter/ExpertSearchAdapter.kt
+1
-0
ConsultBIConstants.kt
m-consultant/src/main/java/com/yidianling/consultant/constants/ConsultBIConstants.kt
+2
-1
HomeBIConstants.kt
m-home/src/main/java/com/yidianling/home/constants/HomeBIConstants.kt
+2
-1
HomeConsultItemView.kt
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeConsultItemView.kt
+1
-0
HomeConsultItemView.kt
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeConsultItemView.kt
+1
-6
No files found.
config.gradle
View file @
2fc38b8f
...
...
@@ -6,10 +6,10 @@ ext {
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.49.09"
,
"m-consultant"
:
"0.0.59.8
7
"
,
"m-consultant"
:
"0.0.59.8
8
"
,
"m-fm"
:
"0.0.30.03"
,
"m-user"
:
"0.0.61.37"
,
"m-home"
:
"0.0.22.6
6
"
,
"m-home"
:
"0.0.22.6
7
"
,
"m-im"
:
"0.0.19.29"
,
"m-dynamic"
:
"0.0.7.24"
,
"m-article"
:
"0.0.0.10"
,
...
...
@@ -89,10 +89,10 @@ ext {
//第三步 若干
"m-confide"
:
"0.0.49.09"
,
"m-consultant"
:
"0.0.59.8
7
"
,
"m-consultant"
:
"0.0.59.8
8
"
,
"m-fm"
:
"0.0.30.01"
,
"m-user"
:
"0.0.61.37"
,
"m-home"
:
"0.0.22.6
6
"
,
"m-home"
:
"0.0.22.6
7
"
,
"m-im"
:
"0.0.19.29"
,
"m-dynamic"
:
"0.0.7.24"
,
"m-article"
:
"0.0.0.8"
,
...
...
m-consultant/src/main/java/com/yidianling/consultant/adapter/ExpertSearchAdapter.kt
View file @
2fc38b8f
...
...
@@ -449,6 +449,7 @@ class ExpertSearchAdapter(
if
(!
TextUtils
.
isEmpty
(
doctor
.
uid
))
{
//跳转私聊
ConsultantIn
.
startP2PSession
(
context
as
AppCompatActivity
,
doctor
.
uid
!!
)
ActionCountUtils
.
count
(
ConsultBIConstants
.
UserMainEvent
.
YDL_PRIVATE_CHAT_CLICK
)
}
else
{
ToastHelper
.
show
(
"请联系客服,专家参数错误!"
)
}
...
...
m-consultant/src/main/java/com/yidianling/consultant/constants/ConsultBIConstants.kt
View file @
2fc38b8f
...
...
@@ -54,7 +54,8 @@ class ConsultBIConstants {
private
const
val
YDL_USER_MAIN_PAGE
:
String
=
"ydl_user_main_page|"
//壹点灵用户版首页 partId
const
val
YDL_USER_SEARCH_CLICK
:
String
=
YDL_USER_MAIN_PAGE
+
"ydl_user_search_click"
//搜索栏
const
val
YDL_USER_SEARCH_CLICK
:
String
=
YDL_USER_MAIN_PAGE
+
"ydl_user_search_click"
//搜索栏
const
val
YDL_PRIVATE_CHAT_CLICK
:
String
=
YDL_USER_MAIN_PAGE
+
"private_chat_click"
// 点击私聊按钮
}
}
...
...
m-home/src/main/java/com/yidianling/home/constants/HomeBIConstants.kt
View file @
2fc38b8f
...
...
@@ -35,7 +35,7 @@ class HomeBIConstants {
const
val
YDL_USER_ARTICLE_MORE_CLICK
:
String
=
YDL_USER_MAIN_PAGE
+
"ydl_user_article_more_click"
//文章阅读更多
const
val
YDL_USER_ARTICLE_CLICK
:
String
=
YDL_USER_MAIN_PAGE
+
"ydl_user_article_click"
//文章标题图区域
const
val
YDL_USER_MAIN_PAGE_VISIT
:
String
=
YDL_USER_MAIN_PAGE
+
"ydl_user_main_page_visit "
//首页浏览事件
const
val
YDL_PRIVATE_CHAT_CLICK
:
String
=
YDL_USER_MAIN_PAGE
+
"private_chat_click"
// 首页咨询分类点击私聊按钮
}
}
\ No newline at end of file
m-home/src/xlzx/java/com/yidianling/home/ui/view/HomeConsultItemView.kt
View file @
2fc38b8f
...
...
@@ -122,6 +122,7 @@ class HomeConsultItemView(private var mContext: Context, private var homeEvent:
tv_consult_chat
.
setOnClickListener
{
homeEvent
!!
.
consultChatClick
(
bodyBean
.
uid
.
toString
())
ActionCountUtils
.
count
(
HomeBIConstants
.
YDL_PRIVATE_CHAT_CLICK
)
}
}
}
m-home/src/ydl/java/com/yidianling/home/ui/view/HomeConsultItemView.kt
View file @
2fc38b8f
...
...
@@ -134,18 +134,13 @@ class HomeConsultItemView(private var mContext: Context, private var homeEvent:
*/
private
fun
setConfideButton
(
bodyBean
:
HomeConsultBean
.
ListBean
)
{
tv_consult_chat
.
setOnClickListener
{
// homeEvent!!.consultChatClick(bodyBean.uid.toString())
/*ModularServiceManager.provide(IConsultantService::class.java).jumpConsultAssistant(
mContext as Activity,
11
)*/
ModularServiceManager
.
provide
(
IConsultantService
::
class
.
java
).
dueToTypeJumpAutoOrGuide
(
mContext
as
Activity
,
11
,
bodyBean
.
uid
,
""
)
ActionCountUtils
.
count
(
HomeBIConstants
.
YDL_PRIVATE_CHAT_CLICK
)
}
}
...
...
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