【光环助手V5.3.0】通用链接内容合集-数据埋点(测试补充:3(1)(3),4) https://git.ghzs.com/pm/halo-app-issues/-/issues/1474
This commit is contained in:
@ -352,7 +352,7 @@ object DirectUtils {
|
||||
|
||||
"halo_tab" -> directToPersonalTab(context)
|
||||
|
||||
"common_collection" -> directToCommonCollectionDetail(context, linkEntity.link ?: "", entrance)
|
||||
"common_collection" -> directToCommonCollectionDetail(context, linkEntity.link ?: "", linkEntity.blockId, linkEntity.blockName, entrance)
|
||||
|
||||
//"h5_game_center" -> directLetoGameCenter(context)
|
||||
|
||||
@ -1632,11 +1632,15 @@ object DirectUtils {
|
||||
fun directToCommonCollectionDetail(
|
||||
context: Context,
|
||||
collectionId: String,
|
||||
blockId: String = "",
|
||||
blockName: String = "",
|
||||
entrance: String = ""
|
||||
) {
|
||||
if (collectionId.isEmpty()) return
|
||||
val bundle = Bundle()
|
||||
bundle.putString(KEY_TO, CommonCollectionDetailActivity::class.java.name)
|
||||
bundle.putString(KEY_BLOCK_ID, blockId)
|
||||
bundle.putString(KEY_BLOCK_NAME, blockName)
|
||||
bundle.putString(KEY_ENTRANCE, entrance)
|
||||
bundle.putString(KEY_COLLECTION_ID, collectionId)
|
||||
jumpActivity(context, bundle)
|
||||
|
||||
Reference in New Issue
Block a user