Commit a8ab985a authored by chengkun's avatar chengkun

增加常量字段

parent 6b1e87de
...@@ -15,6 +15,8 @@ class ZapServiceActionConstants { ...@@ -15,6 +15,8 @@ class ZapServiceActionConstants {
const val ActionRequestSmsCode = "ActionRequestSmsCode" const val ActionRequestSmsCode = "ActionRequestSmsCode"
// 通过服务清除内存中的认证数据 // 通过服务清除内存中的认证数据
const val ActionClearAuthenticationData = "ActionClearAuthenticationData" const val ActionClearAuthenticationData = "ActionClearAuthenticationData"
//推送消息
const val ActionPushMessage = "PushMessage"
const val ActionInitPushService = "InitPushService"
} }
} }
...@@ -16,6 +16,8 @@ class ZapServiceNameConstants { ...@@ -16,6 +16,8 @@ class ZapServiceNameConstants {
// BGeneralBusiness组件中给H5提供的通用网络请求服务(名称需要和H5同步的) // BGeneralBusiness组件中给H5提供的通用网络请求服务(名称需要和H5同步的)
const val BNAHttpReq = "BNAHttpReq" const val BNAHttpReq = "BNAHttpReq"
//BPush组件提供的推送服务
const val BPush = "BPush"
} }
} }
...@@ -59,6 +59,7 @@ class PushService : ZapService() { ...@@ -59,6 +59,7 @@ class PushService : ZapService() {
private fun pushMessage(message:String) { private fun pushMessage(message:String) {
Timber.tag("PushService").i(message) Timber.tag("PushService").i(message)
pushSdkManager.pushMessage(message)
} }
......
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