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
3d7b3ccd
Commit
3d7b3ccd
authored
Nov 12, 2019
by
严久程
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
埋点数据
parent
6d598a88
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
54 additions
and
38 deletions
+54
-38
build.gradle
app/build.gradle
+1
-0
CourseBIConstants.kt
m-course/src/main/java/com/yidianling/course/constants/CourseBIConstants.kt
+51
-0
ActionCountUtils.kt
ydl-platform/src/main/java/com/ydl/ydlcommon/utils/actionutil/ActionCountUtils.kt
+2
-2
BIConstants.kt
ydl-platform/src/main/java/com/ydl/ydlcommon/utils/actionutil/BIConstants.kt
+0
-36
No files found.
app/build.gradle
View file @
3d7b3ccd
...
...
@@ -180,6 +180,7 @@ dependencies {
// api rootProject.ext.dependencies["ydl-m-fm-module-ydl"]
// api rootProject.ext.dependencies["ydl-m-fm-api"]
api
project
(
':m-fm'
)
api
project
(
':m-course'
)
implementation
modularPublication
(
'com.ydl:m-fm-api'
)
}
else
{
//发布模式
...
...
m-course/src/main/java/com/yidianling/course/constants/CourseBIConstants.kt
0 → 100644
View file @
3d7b3ccd
package
com.yidianling.course.constants
/**
* Created by xj on 2019/7/1.
*/
class
CourseBIConstants
{
companion
object
{
//消息端来源
const
val
APP_ID
=
"ydl-app-android-user"
//这是用户端主包的
const
val
OS
=
"Android"
//android系统
}
//====================课程列表页(course_list_page)====================
class
CourseListEvent
{
companion
object
{
private
const
val
COURSE_LIST_PAGE
:
String
=
"course_list_page|"
//课程列表页 partId
const
val
POSITION_COURSE_LIST_RETURN_CLICK
=
COURSE_LIST_PAGE
+
"course_list_return_click"
//返回点击
const
val
POSITION_COURSE_LIST_SORT_CLICK
=
COURSE_LIST_PAGE
+
"course_list_sort_click"
//综合排序点击
const
val
POSITION_COURSE_LIST_FILTER_CLICK
=
COURSE_LIST_PAGE
+
"course_list_filter_click"
//筛选点击
const
val
POSITION_COURSE_LIST_CLASSIFICATION_CLICK
=
COURSE_LIST_PAGE
+
"course_list_classification_click"
//分类点击
const
val
POSITION_COURSE_LIST_AUDITION_CLICK
=
COURSE_LIST_PAGE
+
"course_list_audition_click"
//试听点击
const
val
POSITION_COURSE_LIST_PAGE_VISIT
=
COURSE_LIST_PAGE
+
"course_list_page_visit"
//课程列表页浏览点击
const
val
POSITION_COURSE_LIST_XXX_CLICK
=
COURSE_LIST_PAGE
+
"course_list_"
//课程点击
}
}
//====================课程频道页(course_home_page)====================
class
CourseHomeEvent
{
companion
object
{
private
const
val
COURSE_HOME_PAGE
:
String
=
"course_home_page|"
//课程频道页 partId
const
val
POSITION_COURSE_HOME_PAGE_VISIT
=
COURSE_HOME_PAGE
+
"course_home_page_visit"
//列表页浏览点击
const
val
POSITION_COURSE_HOME_MY_COUSE_CLICK
=
COURSE_HOME_PAGE
+
"course_home_my_couse_click"
//我的课程
const
val
POSITION_COURSE_HOME_SEACH_CLICK
=
COURSE_HOME_PAGE
+
"course_home_seach_click"
//搜索
const
val
POSITION_COURSE_HOME_BANNER_CLICK
=
COURSE_HOME_PAGE
+
"course_home_banner_click"
//banner-各位置
const
val
POSITION_COURSE_HOME_CLASSIFICATION_CLICK
=
COURSE_HOME_PAGE
+
"course_home_classification_click"
//分类点击
const
val
POSITION_COURSE_HOME_EXCELLENT_COURSES_PAY_XXX_CLICK
=
COURSE_HOME_PAGE
+
"course_home_excellent_courses_pay_"
//精品课程-付费课程-各课程页面点击
const
val
POSITION_COURSE_HOME_EXCELLENT_COURSES_FREE_XXX_CLICK
=
COURSE_HOME_PAGE
+
"course_home_excellent_courses_free_"
//精品课程-免费课程-各课程页面点击
const
val
POSITION_COURSE_HOME_EXCELLENT_COURSES_MORE_CLICK
=
COURSE_HOME_PAGE
+
"course_home_excellent_courses_more_click"
//精品课程-更多课程
const
val
POSITION_COURSE_HOME_CONSULTANT_COURSE_MORE_CLICK
=
COURSE_HOME_PAGE
+
"course_home_consultant_course_more_click"
//咨询师课程-更多课程
const
val
POSITION_COURSE_HOME_OFFLINE_CERTIFICATION_TRAINING_XXX_CLICK
=
COURSE_HOME_PAGE
+
"course_home_offline_certification_training_"
//线下考证培训-各课程页面点击
const
val
POSITION_COURSE_HOME_OFFLINE_CERTIFICATION_TRAINING_MORE_CLICK
=
COURSE_HOME_PAGE
+
"course_home_offline_certification_training_more_click"
//线下考证培训-更多课程
const
val
POSITION_COURSE_HOME_THEMATIC_COURSES_XXX_CLICK
=
COURSE_HOME_PAGE
+
"course_home_thematic_courses_"
//专题课程-各课程页面点击
const
val
POSITION_COURSE_HOME_THEMATIC_COURSES_MORE_CLICK
=
COURSE_HOME_PAGE
+
"course_home_thematic_courses_more_click"
//专题课程-更多
}
}
}
\ No newline at end of file
ydl-platform/src/main/java/com/ydl/ydlcommon/utils/actionutil/ActionCountUtils.kt
View file @
3d7b3ccd
...
...
@@ -169,13 +169,13 @@ class ActionCountUtils {
actionDataParams
.
screenHeight
(
RxDeviceTool
.
getScreenHeight
(
RxTool
.
getContext
()
!!
))
val
baiduActionDataParams
=
BaiduActionDataBean
.
Builder
()
baiduActionDataParams
.
pkname
=
BIConstants
.
PACKAGE_NAME
baiduActionDataParams
.
pkname
=
"com.cxzapp.yidianling"
baiduActionDataParams
.
deviceType
=
2
baiduActionDataParams
.
deviceId
(
DeviceTool
.
getIMEI
())
baiduActionDataParams
.
convertType
(
convertType
)
baiduActionDataParams
.
convertTime
(
System
.
currentTimeMillis
()
/
1000
)
baiduActionDataParams
.
appid
(
0
.
toLong
())
baiduActionDataParams
.
appName
(
BIConstants
.
APP_NAME
)
baiduActionDataParams
.
appName
(
"壹点灵心理咨询"
)
baiduActionDataParams
.
androidId
(
DeviceTool
.
getAndroidID
())
baiduActionDataParams
.
ip
(
""
)
baiduActionDataParams
.
ipv6
(
""
)
...
...
ydl-platform/src/main/java/com/ydl/ydlcommon/utils/actionutil/BIConstants.kt
View file @
3d7b3ccd
...
...
@@ -123,39 +123,4 @@ class BIConstants{
}
}
//====================课程列表页(course_list_page)====================
class
CourseListEvent
{
companion
object
{
private
const
val
COURSE_LIST_PAGE
:
String
=
"course_list_page|"
//课程列表页 partId
const
val
POSITION_COURSE_LIST_RETURN_CLICK
=
COURSE_LIST_PAGE
+
"course_list_return_click"
//返回点击
const
val
POSITION_COURSE_LIST_SORT_CLICK
=
COURSE_LIST_PAGE
+
"course_list_sort_click"
//综合排序点击
const
val
POSITION_COURSE_LIST_FILTER_CLICK
=
COURSE_LIST_PAGE
+
"course_list_filter_click"
//筛选点击
const
val
POSITION_COURSE_LIST_CLASSIFICATION_CLICK
=
COURSE_LIST_PAGE
+
"course_list_classification_click"
//分类点击
const
val
POSITION_COURSE_LIST_AUDITION_CLICK
=
COURSE_LIST_PAGE
+
"course_list_audition_click"
//试听点击
const
val
POSITION_COURSE_LIST_PAGE_VISIT
=
COURSE_LIST_PAGE
+
"course_list_page_visit"
//课程列表页浏览点击
const
val
POSITION_COURSE_LIST_XXX_CLICK
=
COURSE_LIST_PAGE
+
"course_list_"
//课程点击
}
}
//====================课程频道页(course_home_page)====================
class
CourseHomeEvent
{
companion
object
{
private
const
val
COURSE_HOME_PAGE
:
String
=
"course_home_page|"
//课程频道页 partId
const
val
POSITION_COURSE_HOME_PAGE_VISIT
=
COURSE_HOME_PAGE
+
"course_home_page_visit"
//列表页浏览点击
const
val
POSITION_COURSE_HOME_MY_COUSE_CLICK
=
COURSE_HOME_PAGE
+
"course_home_my_couse_click"
//我的课程
const
val
POSITION_COURSE_HOME_SEACH_CLICK
=
COURSE_HOME_PAGE
+
"course_home_seach_click"
//搜索
const
val
POSITION_COURSE_HOME_BANNER_CLICK
=
COURSE_HOME_PAGE
+
"course_home_banner_click"
//banner-各位置
const
val
POSITION_COURSE_HOME_CLASSIFICATION_CLICK
=
COURSE_HOME_PAGE
+
"course_home_classification_click"
//分类点击
const
val
POSITION_COURSE_HOME_EXCELLENT_COURSES_PAY_XXX_CLICK
=
COURSE_HOME_PAGE
+
"course_home_excellent_courses_pay_"
//精品课程-付费课程-各课程页面点击
const
val
POSITION_COURSE_HOME_EXCELLENT_COURSES_FREE_XXX_CLICK
=
COURSE_HOME_PAGE
+
"course_home_excellent_courses_free_"
//精品课程-免费课程-各课程页面点击
const
val
POSITION_COURSE_HOME_EXCELLENT_COURSES_MORE_CLICK
=
COURSE_HOME_PAGE
+
"course_home_excellent_courses_more_click"
//精品课程-更多课程
const
val
POSITION_COURSE_HOME_CONSULTANT_COURSE_MORE_CLICK
=
COURSE_HOME_PAGE
+
"course_home_consultant_course_more_click"
//咨询师课程-更多课程
const
val
POSITION_COURSE_HOME_OFFLINE_CERTIFICATION_TRAINING_XXX_CLICK
=
COURSE_HOME_PAGE
+
"course_home_offline_certification_training_"
//线下考证培训-各课程页面点击
const
val
POSITION_COURSE_HOME_OFFLINE_CERTIFICATION_TRAINING_MORE_CLICK
=
COURSE_HOME_PAGE
+
"course_home_offline_certification_training_more_click"
//线下考证培训-更多课程
const
val
POSITION_COURSE_HOME_THEMATIC_COURSES_XXX_CLICK
=
COURSE_HOME_PAGE
+
"course_home_thematic_courses_"
//专题课程-各课程页面点击
const
val
POSITION_COURSE_HOME_THEMATIC_COURSES_MORE_CLICK
=
COURSE_HOME_PAGE
+
"course_home_thematic_courses_more_click"
//专题课程-更多
}
}
}
\ No newline at end of file
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