Commit 9f88d32b authored by huangjunhui's avatar huangjunhui

查看日志

parent 28306d9c
Pipeline #418 canceled with stages
...@@ -65,6 +65,7 @@ object EventUtils { ...@@ -65,6 +65,7 @@ object EventUtils {
fun onEvent(action: String) { fun onEvent(action: String) {
val jsonObj = getJSON(action) val jsonObj = getJSON(action)
Log.e("huangjunhuiEvent",jsonObj.toString())
apiClient(jsonObj) apiClient(jsonObj)
MobclickAgent.onEvent(AppliContext.get(), action) MobclickAgent.onEvent(AppliContext.get(), action)
} }
...@@ -72,6 +73,7 @@ object EventUtils { ...@@ -72,6 +73,7 @@ object EventUtils {
fun onEvent(action: String, value: String) { fun onEvent(action: String, value: String) {
val jsonObj = getJSON(action) val jsonObj = getJSON(action)
jsonObj.put("value", value) jsonObj.put("value", value)
Log.e("huangjunhuiEvent",jsonObj.toString())
apiClient(jsonObj) apiClient(jsonObj)
MobclickAgent.onEvent(AppliContext.get(), action, value) MobclickAgent.onEvent(AppliContext.get(), action, value)
} }
...@@ -94,7 +96,6 @@ object EventUtils { ...@@ -94,7 +96,6 @@ object EventUtils {
fun onClick(text: String) { fun onClick(text: String) {
val jsonObj = getJSON(getAction(text)) val jsonObj = getJSON(getAction(text))
apiClient(jsonObj) apiClient(jsonObj)
} }
private fun getAction(text: String): String { private fun getAction(text: String): String {
......
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