Commit 9f88d32b authored by huangjunhui's avatar huangjunhui

查看日志

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