Commit f89108ee by YKai

feat: 埋点提交

parent f62e8d62
...@@ -11,7 +11,7 @@ ext { ...@@ -11,7 +11,7 @@ ext {
"m-user" : "0.0.61.90", "m-user" : "0.0.61.90",
"m-user-medical" : "0.0.61.99", "m-user-medical" : "0.0.61.99",
"m-home" : "0.0.22.70", "m-home" : "0.0.22.70",
"m-im-medical" : "0.0.21.37", "m-im-medical" : "0.0.21.38",
"m-dynamic" : "0.0.7.28", "m-dynamic" : "0.0.7.28",
"m-article" : "0.0.0.10", "m-article" : "0.0.0.10",
...@@ -34,13 +34,13 @@ ext { ...@@ -34,13 +34,13 @@ ext {
//-------------- 功能组件 -------------- //-------------- 功能组件 --------------
//第一步 //第一步
"ydl-platform" : "0.0.41.55", "ydl-platform" : "0.0.41.56",
//第二步 若干 //第二步 若干
"ydl-webview" : "0.0.38.57", "ydl-webview" : "0.0.38.57",
"ydl-media" : "0.0.21.10", "ydl-media" : "0.0.21.10",
"ydl-pay" : "0.0.18.19", "ydl-pay" : "0.0.18.19",
"ydl-medical-pay" : "0.0.01.31", "ydl-medical-pay" : "0.0.01.32",
"m-audioim" : "0.0.49.29.37", "m-audioim" : "0.0.49.29.37",
"ydl-flutter-base": "0.0.14.26", "ydl-flutter-base": "0.0.14.26",
...@@ -96,7 +96,7 @@ ext { ...@@ -96,7 +96,7 @@ ext {
"m-user" : "0.0.61.90", "m-user" : "0.0.61.90",
"m-user-medical" : "0.0.61.99", "m-user-medical" : "0.0.61.99",
"m-home" : "0.0.22.70", "m-home" : "0.0.22.70",
"m-im-medical" : "0.0.21.37", "m-im-medical" : "0.0.21.38",
"m-dynamic" : "0.0.7.28", "m-dynamic" : "0.0.7.28",
"m-article" : "0.0.0.8", "m-article" : "0.0.0.8",
...@@ -118,13 +118,13 @@ ext { ...@@ -118,13 +118,13 @@ ext {
//-------------- 功能组件 -------------- //-------------- 功能组件 --------------
//第一步 //第一步
"ydl-platform" : "0.0.41.55", "ydl-platform" : "0.0.41.56",
//第二步 若干 //第二步 若干
"ydl-webview" : "0.0.38.57", "ydl-webview" : "0.0.38.57",
"ydl-media" : "0.0.21.10", "ydl-media" : "0.0.21.10",
"ydl-pay" : "0.0.18.19", "ydl-pay" : "0.0.18.19",
"ydl-medical-pay" : "0.0.01.31", "ydl-medical-pay" : "0.0.01.32",
"m-audioim" : "0.0.49.29.37", "m-audioim" : "0.0.49.29.37",
"ydl-flutter-base": "0.0.14.26", "ydl-flutter-base": "0.0.14.26",
......
...@@ -36,6 +36,7 @@ import com.ydl.ydlcommon.utils.BuryPointUtils; ...@@ -36,6 +36,7 @@ import com.ydl.ydlcommon.utils.BuryPointUtils;
import com.ydl.ydlcommon.utils.NetworkParamsUtils; import com.ydl.ydlcommon.utils.NetworkParamsUtils;
import com.ydl.ydlcommon.utils.StringUtils; import com.ydl.ydlcommon.utils.StringUtils;
import com.ydl.ydlcommon.utils.YDLCacheUtils; import com.ydl.ydlcommon.utils.YDLCacheUtils;
import com.ydl.ydlcommon.utils.actionutil.ActionCountUtils;
import com.ydl.ydlcommon.utils.log.LogHelper; import com.ydl.ydlcommon.utils.log.LogHelper;
import com.ydl.ydlcommon.utils.remind.HttpErrorUtils; import com.ydl.ydlcommon.utils.remind.HttpErrorUtils;
import com.ydl.ydlcommon.view.dialog.CommonDialog; import com.ydl.ydlcommon.view.dialog.CommonDialog;
...@@ -64,6 +65,7 @@ import com.yidianling.im.session.extension.CustomRecommendExpertListMsg; ...@@ -64,6 +65,7 @@ import com.yidianling.im.session.extension.CustomRecommendExpertListMsg;
import com.yidianling.im.session.extension.CustomSystemTips; import com.yidianling.im.session.extension.CustomSystemTips;
import com.yidianling.im.ui.page.fragment.bean.ChatItemBean; import com.yidianling.im.ui.page.fragment.bean.ChatItemBean;
import com.yidianling.im.ui.widget.ChatTeamHisDialog; import com.yidianling.im.ui.widget.ChatTeamHisDialog;
import com.yidianling.medical.extension.ImActionCountConstantsKt;
import com.yidianling.uikit.business.session.helper.MessageListPanelHelper; import com.yidianling.uikit.business.session.helper.MessageListPanelHelper;
import com.yidianling.uikit.custom.bridge.IP2PCustomActionHandler; import com.yidianling.uikit.custom.bridge.IP2PCustomActionHandler;
import com.yidianling.uikit.custom.http.response.RecommendExpertBean; import com.yidianling.uikit.custom.http.response.RecommendExpertBean;
...@@ -592,6 +594,8 @@ public class P2PCustomActionHandlerImpl implements IP2PCustomActionHandler { ...@@ -592,6 +594,8 @@ public class P2PCustomActionHandlerImpl implements IP2PCustomActionHandler {
if (mActivity == null || mActivity.isFinishing()) { if (mActivity == null || mActivity.isFinishing()) {
return; return;
} }
// 埋点
ActionCountUtils.Companion.baiDuCountSign1(ImActionCountConstantsKt.YDL_MEDICAL_MESSAGE_DETAIL_PAGE,"hamburger_button_click","");
List<String> list = new ArrayList<>(); List<String> list = new ArrayList<>();
if (ImConstants.KEFUXIAOYI.equals(toChatUsername) || "4108805".equals(toChatUsername)) { if (ImConstants.KEFUXIAOYI.equals(toChatUsername) || "4108805".equals(toChatUsername)) {
// list.add("历史聊天记录"); // list.add("历史聊天记录");
...@@ -624,6 +628,8 @@ public class P2PCustomActionHandlerImpl implements IP2PCustomActionHandler { ...@@ -624,6 +628,8 @@ public class P2PCustomActionHandlerImpl implements IP2PCustomActionHandler {
switch (list.get(position)) { switch (list.get(position)) {
case "投诉反馈": case "投诉反馈":
startFeedback(mActivity); startFeedback(mActivity);
// 埋点
ActionCountUtils.Companion.baiDuCountSign1(ImActionCountConstantsKt.YDL_MEDICAL_MESSAGE_DETAIL_PAGE,"hamburger_button_feedback_click","");
break; break;
case "返回首页": case "返回首页":
ImIn.INSTANCE.mainIntent(mActivity, 0); ImIn.INSTANCE.mainIntent(mActivity, 0);
...@@ -645,6 +651,8 @@ public class P2PCustomActionHandlerImpl implements IP2PCustomActionHandler { ...@@ -645,6 +651,8 @@ public class P2PCustomActionHandlerImpl implements IP2PCustomActionHandler {
break; break;
case "删除聊天记录": case "删除聊天记录":
deleteChatHistory(); deleteChatHistory();
// 埋点
ActionCountUtils.Companion.baiDuCountSign1(ImActionCountConstantsKt.YDL_MEDICAL_MESSAGE_DETAIL_PAGE,"hamburger_button_delete_click","");
break; break;
case "ta的主页": case "ta的主页":
showUserHome(); showUserHome();
...@@ -744,6 +752,9 @@ public class P2PCustomActionHandlerImpl implements IP2PCustomActionHandler { ...@@ -744,6 +752,9 @@ public class P2PCustomActionHandlerImpl implements IP2PCustomActionHandler {
.build("/app/doctorDetail") .build("/app/doctorDetail")
.withInt("doctorId", Integer.valueOf(docInfo.doctorId)) .withInt("doctorId", Integer.valueOf(docInfo.doctorId))
.navigation(); .navigation();
// 埋点
ActionCountUtils.Companion.baiDuCountSign1(ImActionCountConstantsKt.YDL_MEDICAL_MESSAGE_DETAIL_PAGE,"avatar_button_click","");
} }
} }
......
package com.yidianling.im.session.viewholder package com.yidianling.im.session.viewholder
import android.widget.TextView import android.widget.TextView
import com.ydl.ydlcommon.utils.actionutil.ActionCountUtils
import com.yidianling.im.R import com.yidianling.im.R
import com.yidianling.im.session.extension.CustomAttachmentInquiryEnd import com.yidianling.im.session.extension.CustomAttachmentInquiryEnd
import com.yidianling.medical.extension.YDL_MEDICAL_MESSAGE_DETAIL_PAGE
import com.yidianling.nimbase.common.ui.recyclerview.adapter.BaseMultiItemFetchLoadAdapter import com.yidianling.nimbase.common.ui.recyclerview.adapter.BaseMultiItemFetchLoadAdapter
import com.yidianling.uikit.business.session.viewholder.MsgViewHolderBase import com.yidianling.uikit.business.session.viewholder.MsgViewHolderBase
...@@ -31,4 +33,9 @@ class MsgViewHolderInquiryEnd(adapter: BaseMultiItemFetchLoadAdapter<*, *>?) : ...@@ -31,4 +33,9 @@ class MsgViewHolderInquiryEnd(adapter: BaseMultiItemFetchLoadAdapter<*, *>?) :
setAvatarLeftInVisibity() setAvatarLeftInVisibity()
} }
override fun onItemClick() {
// 埋点
ActionCountUtils.baiDuCountSign1(YDL_MEDICAL_MESSAGE_DETAIL_PAGE, "re_consultation_button_click", "")
}
} }
\ No newline at end of file
package com.yidianling.im.session.viewholder package com.yidianling.im.session.viewholder
import android.widget.TextView import android.widget.TextView
import androidx.constraintlayout.widget.ConstraintLayout import com.ydl.ydlcommon.utils.actionutil.ActionCountUtils
import com.yidianling.im.R import com.yidianling.im.R
import com.yidianling.im.session.extension.CustomAttachmentPatientFullInfo import com.yidianling.im.session.extension.CustomAttachmentPatientFullInfo
import com.yidianling.medical.archives.MedicalUpdateArchivesActivity import com.yidianling.medical.archives.MedicalUpdateArchivesActivity
import com.yidianling.medical.extension.YDL_MEDICAL_MESSAGE_DETAIL_PAGE
import com.yidianling.nimbase.common.ui.recyclerview.adapter.BaseMultiItemFetchLoadAdapter import com.yidianling.nimbase.common.ui.recyclerview.adapter.BaseMultiItemFetchLoadAdapter
import com.yidianling.uikit.business.session.viewholder.MsgViewHolderBase import com.yidianling.uikit.business.session.viewholder.MsgViewHolderBase
...@@ -32,5 +33,7 @@ class MsgViewHolderPatientFullInfo(adapter: BaseMultiItemFetchLoadAdapter<*, *>? ...@@ -32,5 +33,7 @@ class MsgViewHolderPatientFullInfo(adapter: BaseMultiItemFetchLoadAdapter<*, *>?
override fun onItemClick() { override fun onItemClick() {
MedicalUpdateArchivesActivity.start(context,itemBean.fromPatientId,message.sessionId) MedicalUpdateArchivesActivity.start(context,itemBean.fromPatientId,message.sessionId)
// 埋点
ActionCountUtils.baiDuCountSign1(YDL_MEDICAL_MESSAGE_DETAIL_PAGE, "complete_info_message_click", "")
} }
} }
\ No newline at end of file
...@@ -5,9 +5,10 @@ import androidx.constraintlayout.widget.ConstraintLayout ...@@ -5,9 +5,10 @@ import androidx.constraintlayout.widget.ConstraintLayout
import com.ydl.webview.H5Params import com.ydl.webview.H5Params
import com.ydl.webview.NewH5Activity import com.ydl.webview.NewH5Activity
import com.ydl.ydlcommon.base.config.HttpConfig import com.ydl.ydlcommon.base.config.HttpConfig
import com.ydl.ydlcommon.utils.actionutil.ActionCountUtils.Companion.baiDuCountSign1
import com.yidianling.im.R import com.yidianling.im.R
import com.yidianling.im.session.extension.CustomAttachmentInquiryEnd
import com.yidianling.im.session.extension.CustomAttachmentRecipel import com.yidianling.im.session.extension.CustomAttachmentRecipel
import com.yidianling.medical.extension.YDL_MEDICAL_MESSAGE_DETAIL_PAGE
import com.yidianling.nimbase.common.ui.recyclerview.adapter.BaseMultiItemFetchLoadAdapter import com.yidianling.nimbase.common.ui.recyclerview.adapter.BaseMultiItemFetchLoadAdapter
import com.yidianling.uikit.business.session.viewholder.MsgViewHolderBase import com.yidianling.uikit.business.session.viewholder.MsgViewHolderBase
...@@ -44,6 +45,8 @@ class MsgViewHolderRecipel(adapter: BaseMultiItemFetchLoadAdapter<*, *>?) : ...@@ -44,6 +45,8 @@ class MsgViewHolderRecipel(adapter: BaseMultiItemFetchLoadAdapter<*, *>?) :
"处方详情" "处方详情"
) )
) )
// 埋点
baiDuCountSign1(YDL_MEDICAL_MESSAGE_DETAIL_PAGE, "recipe_message_click", "")
} }
} }
} }
\ No newline at end of file
...@@ -22,10 +22,13 @@ import com.ydl.ydlcommon.router.YdlCommonOut.Companion.showToast ...@@ -22,10 +22,13 @@ import com.ydl.ydlcommon.router.YdlCommonOut.Companion.showToast
import com.ydl.ydlcommon.ui.ParcelableImage import com.ydl.ydlcommon.ui.ParcelableImage
import com.ydl.ydlcommon.utils.StatusBarUtils import com.ydl.ydlcommon.utils.StatusBarUtils
import com.ydl.ydlcommon.utils.Utils import com.ydl.ydlcommon.utils.Utils
import com.ydl.ydlcommon.utils.actionutil.ActionCountUtils
import com.ydl.ydlcommon.view.dialog.NormalDialog import com.ydl.ydlcommon.view.dialog.NormalDialog
import com.yidianling.common.tools.LogUtil import com.yidianling.common.tools.LogUtil
import com.yidianling.common.tools.ToastUtil import com.yidianling.common.tools.ToastUtil
import com.yidianling.im.R import com.yidianling.im.R
import com.yidianling.medical.extension.YDL_MEDICAL_GET_CONSULTATION_PAGE
import com.yidianling.medical.extension.YDL_MEDICAL_MESSAGE_LIST_PAGE
import com.yidianling.medical.pic.MedicalBrowsePicturesActivity import com.yidianling.medical.pic.MedicalBrowsePicturesActivity
import com.yidianling.medical.pic.MedicalDynamicConstants import com.yidianling.medical.pic.MedicalDynamicConstants
import com.yidianling.uikit.custom.http.ServiceImpl import com.yidianling.uikit.custom.http.ServiceImpl
...@@ -78,6 +81,7 @@ class GraphicConsultationFlow1Activity : BaseActivity() { ...@@ -78,6 +81,7 @@ class GraphicConsultationFlow1Activity : BaseActivity() {
} }
override fun initDataAndEvent() { override fun initDataAndEvent() {
ToastUtil.toastShort("进入界面")
initStatus() initStatus()
mDoctorId = intent.getStringExtra("doctorId") mDoctorId = intent.getStringExtra("doctorId")
mDoctorUid = intent.getStringExtra("doctorUid") mDoctorUid = intent.getStringExtra("doctorUid")
...@@ -92,6 +96,9 @@ class GraphicConsultationFlow1Activity : BaseActivity() { ...@@ -92,6 +96,9 @@ class GraphicConsultationFlow1Activity : BaseActivity() {
camera_bg.setOnClickListener { camera_bg.setOnClickListener {
//选择图片 //选择图片
showSelector() showSelector()
// 埋点
ActionCountUtils.baiDuCountSign1(YDL_MEDICAL_GET_CONSULTATION_PAGE,"pic_upload_click","")
} }
how_to_dec.setOnClickListener { how_to_dec.setOnClickListener {
...@@ -101,6 +108,8 @@ class GraphicConsultationFlow1Activity : BaseActivity() { ...@@ -101,6 +108,8 @@ class GraphicConsultationFlow1Activity : BaseActivity() {
} else { } else {
dec.visibility = View.GONE dec.visibility = View.GONE
} }
// 埋点
ActionCountUtils.baiDuCountSign1(YDL_MEDICAL_GET_CONSULTATION_PAGE,"description_example_click","")
} }
text_service.setOnClickListener { text_service.setOnClickListener {
if (Utils.isFastClick()) { if (Utils.isFastClick()) {
...@@ -136,6 +145,8 @@ class GraphicConsultationFlow1Activity : BaseActivity() { ...@@ -136,6 +145,8 @@ class GraphicConsultationFlow1Activity : BaseActivity() {
} }
} }
// 埋点
ActionCountUtils.baiDuCountSign1(YDL_MEDICAL_GET_CONSULTATION_PAGE,"next_button_click","")
} }
edit_input.addTextChangedListener(object : TextWatcher { edit_input.addTextChangedListener(object : TextWatcher {
...@@ -144,16 +155,28 @@ class GraphicConsultationFlow1Activity : BaseActivity() { ...@@ -144,16 +155,28 @@ class GraphicConsultationFlow1Activity : BaseActivity() {
setEditHint() setEditHint()
} }
override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {} override fun beforeTextChanged(s: CharSequence?, start: Int, count: Int, after: Int) {
}
override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) { override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) {
} }
}) })
edit_input.setOnFocusChangeListener { v, hasFocus ->
if (hasFocus){
// 埋点
ActionCountUtils.baiDuCountSign1(YDL_MEDICAL_GET_CONSULTATION_PAGE,"input_box_click","")
}
}
iv_back.setOnClickListener { iv_back.setOnClickListener {
backCheck() backCheck()
} }
// 埋点
ActionCountUtils.baiDuCountSign1(YDL_MEDICAL_GET_CONSULTATION_PAGE,"condition_description_page_visit","")
setEditHint() setEditHint()
} }
......
...@@ -10,12 +10,14 @@ import com.medical.ydl.medical.pay.MedicalPayActivity ...@@ -10,12 +10,14 @@ import com.medical.ydl.medical.pay.MedicalPayActivity
import com.ydl.ydlcommon.base.BaseActivity import com.ydl.ydlcommon.base.BaseActivity
import com.ydl.ydlcommon.utils.StatusBarUtils import com.ydl.ydlcommon.utils.StatusBarUtils
import com.ydl.ydlcommon.utils.Utils import com.ydl.ydlcommon.utils.Utils
import com.ydl.ydlcommon.utils.actionutil.ActionCountUtils
import com.yidianling.common.tools.ToastUtil import com.yidianling.common.tools.ToastUtil
import com.yidianling.im.R import com.yidianling.im.R
import com.yidianling.medical.archives.MedicalAddNewArchivesActivity import com.yidianling.medical.archives.MedicalAddNewArchivesActivity
import com.yidianling.medical.archives.MedicalUpdateArchivesActivity import com.yidianling.medical.archives.MedicalUpdateArchivesActivity
import com.yidianling.medical.archives.adapter.MedicalUserArchivesFlow2Adapter import com.yidianling.medical.archives.adapter.MedicalUserArchivesFlow2Adapter
import com.yidianling.medical.archives.bean.MedicalArchivesListBean import com.yidianling.medical.archives.bean.MedicalArchivesListBean
import com.yidianling.medical.extension.YDL_MEDICAL_GET_CONSULTATION_PAGE
import com.yidianling.medical.popwindow.InformedConsentPopupWindow import com.yidianling.medical.popwindow.InformedConsentPopupWindow
import com.yidianling.uikit.custom.http.ServiceImpl import com.yidianling.uikit.custom.http.ServiceImpl
import io.reactivex.android.schedulers.AndroidSchedulers import io.reactivex.android.schedulers.AndroidSchedulers
...@@ -96,7 +98,7 @@ class GraphicConsulttionFlow2Activity : BaseActivity() { ...@@ -96,7 +98,7 @@ class GraphicConsulttionFlow2Activity : BaseActivity() {
} }
else -> { else -> {
//item 点击 //item 点击
for ((index, bean) in mAdapter.data.withIndex()) { for ((index, _) in mAdapter.data.withIndex()) {
if (mAdapter.data[index]?.isCheck == true) { if (mAdapter.data[index]?.isCheck == true) {
mAdapter.data[index]?.isCheck = false mAdapter.data[index]?.isCheck = false
} else { } else {
...@@ -104,6 +106,8 @@ class GraphicConsulttionFlow2Activity : BaseActivity() { ...@@ -104,6 +106,8 @@ class GraphicConsulttionFlow2Activity : BaseActivity() {
} }
} }
baseQuickAdapter.notifyDataSetChanged() baseQuickAdapter.notifyDataSetChanged()
// 埋点
ActionCountUtils.baiDuCountSign1(YDL_MEDICAL_GET_CONSULTATION_PAGE,"patient_click","")
} }
} }
} }
...@@ -111,6 +115,9 @@ class GraphicConsulttionFlow2Activity : BaseActivity() { ...@@ -111,6 +115,9 @@ class GraphicConsulttionFlow2Activity : BaseActivity() {
//空数据页面 //空数据页面
isFirstLoadData = false isFirstLoadData = false
MedicalAddNewArchivesActivity.start(this@GraphicConsulttionFlow2Activity) MedicalAddNewArchivesActivity.start(this@GraphicConsulttionFlow2Activity)
// 埋点
ActionCountUtils.baiDuCountSign1(YDL_MEDICAL_GET_CONSULTATION_PAGE,"add_patient_click","")
} }
radio_first_mit.setOnCheckedChangeListener { group, checkedId -> radio_first_mit.setOnCheckedChangeListener { group, checkedId ->
...@@ -139,7 +146,8 @@ class GraphicConsulttionFlow2Activity : BaseActivity() { ...@@ -139,7 +146,8 @@ class GraphicConsulttionFlow2Activity : BaseActivity() {
} }
//保存 //保存
toSave() toSave()
// 埋点
ActionCountUtils.baiDuCountSign1(YDL_MEDICAL_GET_CONSULTATION_PAGE,"start_description_button_click","")
} }
iv_back_flow2.setOnClickListener { iv_back_flow2.setOnClickListener {
backCheck() backCheck()
...@@ -148,14 +156,14 @@ class GraphicConsulttionFlow2Activity : BaseActivity() { ...@@ -148,14 +156,14 @@ class GraphicConsulttionFlow2Activity : BaseActivity() {
informed_consent_text.setOnClickListener { informed_consent_text.setOnClickListener {
//协议内容 //协议内容
var collectOutPop = InformedConsentPopupWindow(this, val collectOutPop = InformedConsentPopupWindow(this,
object : InformedConsentPopupWindow.OnChatSettingClickListener { object : InformedConsentPopupWindow.OnChatSettingClickListener {
override fun onDismissAction() { override fun onDismissAction() {
setWindowBg(1f) setWindowBg(1f)
} }
}) })
collectOutPop?.contentView!!.measure( collectOutPop.contentView!!.measure(
View.MeasureSpec.UNSPECIFIED, View.MeasureSpec.UNSPECIFIED,
View.MeasureSpec.UNSPECIFIED View.MeasureSpec.UNSPECIFIED
); //这句代码必须要才能获得正确的popupwindow的宽度 ); //这句代码必须要才能获得正确的popupwindow的宽度
...@@ -169,6 +177,10 @@ class GraphicConsulttionFlow2Activity : BaseActivity() { ...@@ -169,6 +177,10 @@ class GraphicConsulttionFlow2Activity : BaseActivity() {
) )
} }
// 埋点
ActionCountUtils.baiDuCountSign1(YDL_MEDICAL_GET_CONSULTATION_PAGE,"patient_select_page_click","")
getList() getList()
} }
......
...@@ -12,8 +12,10 @@ import androidx.swiperefreshlayout.widget.SwipeRefreshLayout ...@@ -12,8 +12,10 @@ import androidx.swiperefreshlayout.widget.SwipeRefreshLayout
import com.chad.library.adapter.base.BaseQuickAdapter import com.chad.library.adapter.base.BaseQuickAdapter
import com.ydl.ydlcommon.base.BaseActivity import com.ydl.ydlcommon.base.BaseActivity
import com.ydl.ydlcommon.utils.StatusBarUtils import com.ydl.ydlcommon.utils.StatusBarUtils
import com.ydl.ydlcommon.utils.actionutil.ActionCountUtils
import com.yidianling.im.R import com.yidianling.im.R
import com.yidianling.medical.archives.adapter.MedicalUserArchivesAdapter import com.yidianling.medical.archives.adapter.MedicalUserArchivesAdapter
import com.yidianling.medical.extension.YDL_MEDICAL_MY_FAMILY_FILE_PAGE
import com.yidianling.medical.widgets.LoadMoreView import com.yidianling.medical.widgets.LoadMoreView
import com.yidianling.uikit.custom.http.ServiceImpl.Companion.instance import com.yidianling.uikit.custom.http.ServiceImpl.Companion.instance
import io.reactivex.android.schedulers.AndroidSchedulers import io.reactivex.android.schedulers.AndroidSchedulers
...@@ -88,6 +90,9 @@ class MedicalArchivesListActivity : BaseActivity(), SwipeRefreshLayout.OnRefresh ...@@ -88,6 +90,9 @@ class MedicalArchivesListActivity : BaseActivity(), SwipeRefreshLayout.OnRefresh
finish() finish()
} }
// 埋点
ActionCountUtils.baiDuCountSign1(YDL_MEDICAL_MY_FAMILY_FILE_PAGE,"page_visit","")
currPage = 1 currPage = 1
getPageList() getPageList()
} }
......
package com.yidianling.medical.extension
/**
* Created by Ykai on 2021/10/29.
* 埋点常量类
*/
// 消息列表part_id
const val YDL_MEDICAL_MESSAGE_LIST_PAGE = "ydl_medical_message_list_page"
// 提交咨询流程part_id
const val YDL_MEDICAL_GET_CONSULTATION_PAGE = "ydl_medical_get_consultation_page"
// 对话详情part_id
const val YDL_MEDICAL_MESSAGE_DETAIL_PAGE = "ydl_medical_message_detail_page"
// 用户档案part_id
const val YDL_MEDICAL_MY_FAMILY_FILE_PAGE = "ydl_medical_my_family_file_page"
...@@ -16,7 +16,9 @@ import com.ydl.ydlcommon.base.BaseActivity ...@@ -16,7 +16,9 @@ import com.ydl.ydlcommon.base.BaseActivity
import com.ydl.ydlcommon.base.config.HttpConfig import com.ydl.ydlcommon.base.config.HttpConfig
import com.ydl.ydlcommon.utils.StatusBarUtils import com.ydl.ydlcommon.utils.StatusBarUtils
import com.ydl.ydlcommon.utils.Utils import com.ydl.ydlcommon.utils.Utils
import com.ydl.ydlcommon.utils.actionutil.ActionCountUtils
import com.yidianling.im.R import com.yidianling.im.R
import com.yidianling.medical.extension.YDL_MEDICAL_MESSAGE_LIST_PAGE
import com.yidianling.medical.im.adapter.MedicalSystemListAdapter import com.yidianling.medical.im.adapter.MedicalSystemListAdapter
import com.yidianling.medical.widgets.LoadMoreView import com.yidianling.medical.widgets.LoadMoreView
import com.yidianling.uikit.custom.http.ServiceImpl import com.yidianling.uikit.custom.http.ServiceImpl
...@@ -108,6 +110,10 @@ class MedicalSystemListActivity : BaseActivity(), SwipeRefreshLayout.OnRefreshLi ...@@ -108,6 +110,10 @@ class MedicalSystemListActivity : BaseActivity(), SwipeRefreshLayout.OnRefreshLi
ContextCompat.getColor(this@MedicalSystemListActivity, R.color.platform_main_theme) ContextCompat.getColor(this@MedicalSystemListActivity, R.color.platform_main_theme)
) )
system_swipe_refresh_layout?.setProgressViewOffset(false, 0, 200) system_swipe_refresh_layout?.setProgressViewOffset(false, 0, 200)
// 埋点
ActionCountUtils.baiDuCountSign1(YDL_MEDICAL_MESSAGE_LIST_PAGE,"system_message_page_visit","")
currPage = 1 currPage = 1
getSystemList() getSystemList()
......
...@@ -11,6 +11,7 @@ import com.jcodecraeer.xrecyclerview.CustomFooterViewCallBack ...@@ -11,6 +11,7 @@ import com.jcodecraeer.xrecyclerview.CustomFooterViewCallBack
import com.jcodecraeer.xrecyclerview.XRecyclerView import com.jcodecraeer.xrecyclerview.XRecyclerView
import com.ydl.ydlcommon.base.BaseFragment import com.ydl.ydlcommon.base.BaseFragment
import com.ydl.ydlcommon.data.http.RxUtils import com.ydl.ydlcommon.data.http.RxUtils
import com.ydl.ydlcommon.utils.actionutil.ActionCountUtils
import com.yidianling.common.tools.ToastUtil import com.yidianling.common.tools.ToastUtil
import com.yidianling.im.R import com.yidianling.im.R
import com.yidianling.im.api.event.ImLogoutEvent import com.yidianling.im.api.event.ImLogoutEvent
...@@ -29,6 +30,7 @@ import com.yidianling.im.ui.page.widget.ChatUnusualView ...@@ -29,6 +30,7 @@ import com.yidianling.im.ui.page.widget.ChatUnusualView
import com.yidianling.im.ui.param.ChatParam import com.yidianling.im.ui.param.ChatParam
import com.yidianling.im.ui.param.ClearMessageParam import com.yidianling.im.ui.param.ClearMessageParam
import com.yidianling.im.ui.param.UnreadParam import com.yidianling.im.ui.param.UnreadParam
import com.yidianling.medical.extension.YDL_MEDICAL_MESSAGE_LIST_PAGE
import com.yidianling.medical.im.adapter.MedicalChatAdapter import com.yidianling.medical.im.adapter.MedicalChatAdapter
import com.yidianling.medical.popwindow.MedicalChatSettingPopupWindow import com.yidianling.medical.popwindow.MedicalChatSettingPopupWindow
import de.greenrobot.event.EventBus import de.greenrobot.event.EventBus
...@@ -93,10 +95,14 @@ class MeidicalChatFragment : BaseFragment(), XRecyclerView.LoadingListener { ...@@ -93,10 +95,14 @@ class MeidicalChatFragment : BaseFragment(), XRecyclerView.LoadingListener {
} }
}) })
messageChatSettingtDialog?.show() messageChatSettingtDialog?.show()
// 埋点
ActionCountUtils.baiDuCountSign1(YDL_MEDICAL_MESSAGE_LIST_PAGE,"hamburger_button_read_all_click","")
} }
override fun onChatSettingClick() { override fun onChatSettingClick() {
ARouter.getInstance().build("/user/notifysetting").navigation() ARouter.getInstance().build("/user/notifysetting").navigation()
// 埋点
ActionCountUtils.baiDuCountSign1(YDL_MEDICAL_MESSAGE_LIST_PAGE,"hamburger_button_setting_click","")
} }
override fun onDismissAction() { override fun onDismissAction() {
...@@ -118,8 +124,13 @@ class MeidicalChatFragment : BaseFragment(), XRecyclerView.LoadingListener { ...@@ -118,8 +124,13 @@ class MeidicalChatFragment : BaseFragment(), XRecyclerView.LoadingListener {
-(popupWindowWidth - ll_more.measuredWidth + 20), -(popupWindowWidth - ll_more.measuredWidth + 20),
0 0
) )
// 埋点
ActionCountUtils.baiDuCountSign1(YDL_MEDICAL_MESSAGE_LIST_PAGE,"hamburger_button_click","")
} }
} }
// 埋点
ActionCountUtils.baiDuCountSign1(YDL_MEDICAL_MESSAGE_LIST_PAGE,"page_visit","")
} }
override fun onDestroy() { override fun onDestroy() {
......
...@@ -13,6 +13,7 @@ import com.netease.nimlib.sdk.msg.MsgService ...@@ -13,6 +13,7 @@ import com.netease.nimlib.sdk.msg.MsgService
import com.netease.nimlib.sdk.msg.constant.SessionTypeEnum import com.netease.nimlib.sdk.msg.constant.SessionTypeEnum
import com.ydl.ydlcommon.base.lifecycle.ILifecycleable import com.ydl.ydlcommon.base.lifecycle.ILifecycleable
import com.ydl.ydlcommon.data.http.RxUtils import com.ydl.ydlcommon.data.http.RxUtils
import com.ydl.ydlcommon.utils.actionutil.ActionCountUtils
import com.ydl.ydlcommon.utils.log.LogHelper import com.ydl.ydlcommon.utils.log.LogHelper
import com.ydl.ydlcommon.utils.remind.ToastHelper import com.ydl.ydlcommon.utils.remind.ToastHelper
import com.ydl.ydlcommon.view.ListNoCancelDialog import com.ydl.ydlcommon.view.ListNoCancelDialog
...@@ -27,6 +28,7 @@ import com.yidianling.im.http.ImHttpImpl ...@@ -27,6 +28,7 @@ import com.yidianling.im.http.ImHttpImpl
import com.yidianling.im.session.SessionHelper import com.yidianling.im.session.SessionHelper
import com.yidianling.im.ui.page.fragment.bean.ChatItemBean import com.yidianling.im.ui.page.fragment.bean.ChatItemBean
import com.yidianling.im.ui.page.fragment.view.ChatTimeItemView import com.yidianling.im.ui.page.fragment.view.ChatTimeItemView
import com.yidianling.medical.extension.YDL_MEDICAL_MESSAGE_LIST_PAGE
import com.yidianling.medical.im.MedicalSystemListActivity import com.yidianling.medical.im.MedicalSystemListActivity
import com.yidianling.medical.im.view.MedicalChatItemView import com.yidianling.medical.im.view.MedicalChatItemView
import com.yidianling.medical.im.view.MedicalSystemItemView import com.yidianling.medical.im.view.MedicalSystemItemView
...@@ -72,6 +74,8 @@ class MedicalChatAdapter( ...@@ -72,6 +74,8 @@ class MedicalChatAdapter(
holder.view.initData(itemBean) holder.view.initData(itemBean)
holder.view.setOnClickListener { holder.view.setOnClickListener {
MedicalSystemListActivity.start(context) MedicalSystemListActivity.start(context)
// 埋点
ActionCountUtils.baiDuCountSign1(YDL_MEDICAL_MESSAGE_LIST_PAGE,"system_message_click","")
} }
} }
...@@ -90,6 +94,8 @@ class MedicalChatAdapter( ...@@ -90,6 +94,8 @@ class MedicalChatAdapter(
IMChatUtil.startChat(context as AppCompatActivity, itemBean) IMChatUtil.startChat(context as AppCompatActivity, itemBean)
} }
} }
// 埋点
ActionCountUtils.baiDuCountSign1(YDL_MEDICAL_MESSAGE_LIST_PAGE,"message_click","")
} }
holder.view.setOnLongClickListener { holder.view.setOnLongClickListener {
......
package com.yidianling.uikit.business.session.actions; package com.yidianling.uikit.business.session.actions;
import com.ydl.ydlcommon.utils.actionutil.ActionCountUtils;
import com.yidianling.im.R; import com.yidianling.im.R;
import com.netease.nimlib.sdk.chatroom.ChatRoomMessageBuilder; import com.netease.nimlib.sdk.chatroom.ChatRoomMessageBuilder;
import com.netease.nimlib.sdk.msg.MessageBuilder; import com.netease.nimlib.sdk.msg.MessageBuilder;
import com.netease.nimlib.sdk.msg.constant.SessionTypeEnum; import com.netease.nimlib.sdk.msg.constant.SessionTypeEnum;
import com.netease.nimlib.sdk.msg.model.IMMessage; import com.netease.nimlib.sdk.msg.model.IMMessage;
import com.yidianling.medical.extension.ImActionCountConstantsKt;
import java.io.File; import java.io.File;
...@@ -19,6 +21,8 @@ public class ImageAction extends PickImageAction { ...@@ -19,6 +21,8 @@ public class ImageAction extends PickImageAction {
@Override @Override
protected void onPicked(File file) { protected void onPicked(File file) {
// 埋点
ActionCountUtils.Companion.baiDuCountSign1(ImActionCountConstantsKt.YDL_MEDICAL_MESSAGE_DETAIL_PAGE,"photo_album_button_click","");
IMMessage message; IMMessage message;
if (getContainer() != null && getContainer().sessionType == SessionTypeEnum.ChatRoom) { if (getContainer() != null && getContainer().sessionType == SessionTypeEnum.ChatRoom) {
message = ChatRoomMessageBuilder.createChatRoomImageMessage(getAccount(), file, file.getName()); message = ChatRoomMessageBuilder.createChatRoomImageMessage(getAccount(), file, file.getName());
......
...@@ -2,6 +2,8 @@ package com.yidianling.uikit.business.session.actions; ...@@ -2,6 +2,8 @@ package com.yidianling.uikit.business.session.actions;
import android.Manifest; import android.Manifest;
import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatActivity;
import android.annotation.SuppressLint;
import android.util.Log; import android.util.Log;
import com.luck.picture.lib.entity.LocalMedia; import com.luck.picture.lib.entity.LocalMedia;
...@@ -9,7 +11,9 @@ import com.luck.picture.lib.listener.OnResultCallbackListener; ...@@ -9,7 +11,9 @@ import com.luck.picture.lib.listener.OnResultCallbackListener;
import com.miracle.view.imageeditor.utils.FileUtils; import com.miracle.view.imageeditor.utils.FileUtils;
import com.tbruyelle.rxpermissions2.RxPermissions; import com.tbruyelle.rxpermissions2.RxPermissions;
import com.ydl.ydlcommon.actions.imagepicker.YDLImagePicker; import com.ydl.ydlcommon.actions.imagepicker.YDLImagePicker;
import com.ydl.ydlcommon.utils.actionutil.ActionCountUtils;
import com.yidianling.common.tools.ToastUtil; import com.yidianling.common.tools.ToastUtil;
import com.yidianling.medical.extension.ImActionCountConstantsKt;
import com.yidianling.nimbase.business.session.actions.BaseAction; import com.yidianling.nimbase.business.session.actions.BaseAction;
import java.io.File; import java.io.File;
...@@ -37,8 +41,11 @@ public abstract class PickImageAction extends BaseAction { ...@@ -37,8 +41,11 @@ public abstract class PickImageAction extends BaseAction {
} }
@SuppressLint("CheckResult")
@Override @Override
public void onClick() { public void onClick() {
// 埋点
ActionCountUtils.Companion.baiDuCountSign1(ImActionCountConstantsKt.YDL_MEDICAL_MESSAGE_DETAIL_PAGE,"shoot_button_click","");
new RxPermissions(getActivity()).requestEach(Manifest.permission.CAMERA) new RxPermissions(getActivity()).requestEach(Manifest.permission.CAMERA)
.subscribe(permission -> { .subscribe(permission -> {
if (permission.granted) { if (permission.granted) {
......
...@@ -14,6 +14,7 @@ import com.netease.nimlib.sdk.msg.MsgServiceObserve; ...@@ -14,6 +14,7 @@ import com.netease.nimlib.sdk.msg.MsgServiceObserve;
import com.netease.nimlib.sdk.msg.constant.SessionTypeEnum; import com.netease.nimlib.sdk.msg.constant.SessionTypeEnum;
import com.netease.nimlib.sdk.msg.model.CustomNotification; import com.netease.nimlib.sdk.msg.model.CustomNotification;
import com.netease.nimlib.sdk.msg.model.IMMessage; import com.netease.nimlib.sdk.msg.model.IMMessage;
import com.ydl.ydlcommon.utils.actionutil.ActionCountUtils;
import com.ydl.ydlcommon.utils.log.AliYunLogConfig; import com.ydl.ydlcommon.utils.log.AliYunLogConfig;
import com.ydl.ydlcommon.utils.log.AliYunRichLogsHelper; import com.ydl.ydlcommon.utils.log.AliYunRichLogsHelper;
import com.yidianling.im.R; import com.yidianling.im.R;
...@@ -23,6 +24,7 @@ import com.yidianling.im.bridge.P2PCustomActionHandlerImpl; ...@@ -23,6 +24,7 @@ import com.yidianling.im.bridge.P2PCustomActionHandlerImpl;
import com.yidianling.im.config.constants.ImConstants; import com.yidianling.im.config.constants.ImConstants;
import com.yidianling.im.helper.ImObserversHelper; import com.yidianling.im.helper.ImObserversHelper;
import com.yidianling.im.session.SessionHelper; import com.yidianling.im.session.SessionHelper;
import com.yidianling.medical.extension.ImActionCountConstantsKt;
import com.yidianling.medical.im.Type91Bean; import com.yidianling.medical.im.Type91Bean;
import com.yidianling.nimbase.api.model.session.SessionCustomization; import com.yidianling.nimbase.api.model.session.SessionCustomization;
import com.yidianling.nimbase.api.model.user.UserInfoObserver; import com.yidianling.nimbase.api.model.user.UserInfoObserver;
...@@ -38,6 +40,8 @@ import org.jetbrains.annotations.NotNull; ...@@ -38,6 +40,8 @@ import org.jetbrains.annotations.NotNull;
import java.util.List; import java.util.List;
import static com.yidianling.medical.extension.ImActionCountConstantsKt.YDL_MEDICAL_GET_CONSULTATION_PAGE;
/** /**
* 点对点聊天界面 * 点对点聊天界面
...@@ -142,6 +146,9 @@ public class YDLP2PMessageActivity extends YDLBaseMessageActivity { ...@@ -142,6 +146,9 @@ public class YDLP2PMessageActivity extends YDLBaseMessageActivity {
} }
} }
}); });
// 埋点
ActionCountUtils.Companion.baiDuCountSign2(ImActionCountConstantsKt.YDL_MEDICAL_MESSAGE_DETAIL_PAGE,"page_visit",sessionId,ActionHandlerStorage.getL(sessionId).getInfo().name);
} }
@Override @Override
......
...@@ -40,11 +40,13 @@ import com.netease.nimlib.sdk.msg.model.CustomNotificationConfig; ...@@ -40,11 +40,13 @@ import com.netease.nimlib.sdk.msg.model.CustomNotificationConfig;
import com.netease.nimlib.sdk.msg.model.IMMessage; import com.netease.nimlib.sdk.msg.model.IMMessage;
import com.tbruyelle.rxpermissions2.Permission; import com.tbruyelle.rxpermissions2.Permission;
import com.tbruyelle.rxpermissions2.RxPermissions; import com.tbruyelle.rxpermissions2.RxPermissions;
import com.ydl.ydlcommon.utils.actionutil.ActionCountUtils;
import com.yidianling.common.tools.ToastUtil; import com.yidianling.common.tools.ToastUtil;
import com.yidianling.im.R; import com.yidianling.im.R;
import com.yidianling.im.event.MultipleAnswerBean; import com.yidianling.im.event.MultipleAnswerBean;
import com.yidianling.im.event.MultipleSelectedEvent; import com.yidianling.im.event.MultipleSelectedEvent;
import com.yidianling.im.router.ImIn; import com.yidianling.im.router.ImIn;
import com.yidianling.medical.extension.ImActionCountConstantsKt;
import com.yidianling.nimbase.api.UIKitOptions; import com.yidianling.nimbase.api.UIKitOptions;
import com.yidianling.nimbase.api.model.session.SessionCustomization; import com.yidianling.nimbase.api.model.session.SessionCustomization;
import com.yidianling.nimbase.business.session.actions.BaseAction; import com.yidianling.nimbase.business.session.actions.BaseAction;
...@@ -620,6 +622,8 @@ public class InputPanel implements IEmoticonSelectedListener, IAudioRecordCallba ...@@ -620,6 +622,8 @@ public class InputPanel implements IEmoticonSelectedListener, IAudioRecordCallba
private void toggleActionPanelLayout() { private void toggleActionPanelLayout() {
if (actionPanelBottomLayout == null || actionPanelBottomLayout.getVisibility() == View.GONE) { if (actionPanelBottomLayout == null || actionPanelBottomLayout.getVisibility() == View.GONE) {
showActionPanelLayout(); showActionPanelLayout();
// 埋点
ActionCountUtils.Companion.baiDuCountSign1(ImActionCountConstantsKt.YDL_MEDICAL_MESSAGE_DETAIL_PAGE,"plus_button_click","");
} else { } else {
hideActionPanelLayout(); hideActionPanelLayout();
} }
...@@ -631,6 +635,8 @@ public class InputPanel implements IEmoticonSelectedListener, IAudioRecordCallba ...@@ -631,6 +635,8 @@ public class InputPanel implements IEmoticonSelectedListener, IAudioRecordCallba
private void toggleEmojiLayout() { private void toggleEmojiLayout() {
if (emoticonPickerView == null || emoticonPickerView.getVisibility() == View.GONE) { if (emoticonPickerView == null || emoticonPickerView.getVisibility() == View.GONE) {
showEmojiLayout(); showEmojiLayout();
// 埋点
ActionCountUtils.Companion.baiDuCountSign1(ImActionCountConstantsKt.YDL_MEDICAL_MESSAGE_DETAIL_PAGE,"emoji_button_click","");
} else { } else {
hideEmojiLayout(); hideEmojiLayout();
} }
...@@ -942,6 +948,9 @@ public class InputPanel implements IEmoticonSelectedListener, IAudioRecordCallba ...@@ -942,6 +948,9 @@ public class InputPanel implements IEmoticonSelectedListener, IAudioRecordCallba
WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
audioMessageHelper.startRecord(); audioMessageHelper.startRecord();
cancelled = false; cancelled = false;
// 埋点
ActionCountUtils.Companion.baiDuCountSign1(ImActionCountConstantsKt.YDL_MEDICAL_MESSAGE_DETAIL_PAGE,"sending_audio_button_click","");
} }
/** /**
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
android:id="@+id/chat_recyclerview" android:id="@+id/chat_recyclerview"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@color/im_white"></com.jcodecraeer.xrecyclerview.XRecyclerView> android:background="@color/im_white"/>
<com.yidianling.im.ui.page.widget.ChatUnusualView <com.yidianling.im.ui.page.widget.ChatUnusualView
android:id="@+id/ll_chat_unusual_view" android:id="@+id/ll_chat_unusual_view"
......
package com.medical.ydl.medical.extension
/**
* Created by Ykai on 2021/10/29.
* 埋点常量类
*/
// 支付part_id
const val YDL_MEDICAL_PAYMENT_PAGE = "ydl_medical_payment_page"
...@@ -12,6 +12,7 @@ import com.alipay.sdk.app.PayTask ...@@ -12,6 +12,7 @@ import com.alipay.sdk.app.PayTask
import com.medical.ydl.medical.bean.CreatePayReqDtoBody import com.medical.ydl.medical.bean.CreatePayReqDtoBody
import com.medical.ydl.medical.bean.CreatePayRespose import com.medical.ydl.medical.bean.CreatePayRespose
import com.medical.ydl.medical.dialog.TimeBackDialog import com.medical.ydl.medical.dialog.TimeBackDialog
import com.medical.ydl.medical.extension.YDL_MEDICAL_PAYMENT_PAGE
import com.medical.ydl.medical.http.MedicalPayServiceImpl import com.medical.ydl.medical.http.MedicalPayServiceImpl
import com.medical.ydl.medical.modular.MedicalPayIn import com.medical.ydl.medical.modular.MedicalPayIn
import com.medical.ydl.medical.pay.bean.MedicalPayResult import com.medical.ydl.medical.pay.bean.MedicalPayResult
...@@ -24,6 +25,7 @@ import com.ydl.ydlcommon.base.BaseActivity ...@@ -24,6 +25,7 @@ import com.ydl.ydlcommon.base.BaseActivity
import com.ydl.ydlcommon.data.http.BaseResponse import com.ydl.ydlcommon.data.http.BaseResponse
import com.ydl.ydlcommon.utils.LogUtil import com.ydl.ydlcommon.utils.LogUtil
import com.ydl.ydlcommon.utils.StatusBarUtils import com.ydl.ydlcommon.utils.StatusBarUtils
import com.ydl.ydlcommon.utils.actionutil.ActionCountUtils
import com.yidianling.common.tools.ToastUtil import com.yidianling.common.tools.ToastUtil
import de.greenrobot.event.EventBus import de.greenrobot.event.EventBus
import io.reactivex.android.schedulers.AndroidSchedulers import io.reactivex.android.schedulers.AndroidSchedulers
...@@ -181,7 +183,13 @@ class MedicalPayActivity : BaseActivity() { ...@@ -181,7 +183,13 @@ class MedicalPayActivity : BaseActivity() {
}, { e -> }, { e ->
e.printStackTrace() e.printStackTrace()
}) })
// 埋点
ActionCountUtils.baiDuCountSign3(YDL_MEDICAL_PAYMENT_PAGE,"pay_button_click","$mPayBizType", mPrice, mOrderId)
} }
// 埋点
ActionCountUtils.baiDuCountSign3(YDL_MEDICAL_PAYMENT_PAGE,"page_visit","$mPayBizType", mPrice, mOrderId)
} }
override fun onDestroy() { override fun onDestroy() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment