Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ShenghuoquanBusiness
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bp
ShenghuoquanBusiness
Commits
a8ab985a
Commit
a8ab985a
authored
Jul 28, 2021
by
chengkun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加常量字段
parent
6b1e87de
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
1 deletion
+6
-1
ZapServiceActionConstants.kt
.../com/yidian/bcommon/services/ZapServiceActionConstants.kt
+3
-1
ZapServiceNameConstants.kt
...va/com/yidian/bcommon/services/ZapServiceNameConstants.kt
+2
-0
PushService.kt
...java/com/yidian/shenghuoquan/bpush/service/PushService.kt
+1
-0
No files found.
CommonLib/BCommon/src/main/java/com/yidian/bcommon/services/ZapServiceActionConstants.kt
View file @
a8ab985a
...
...
@@ -15,6 +15,8 @@ class ZapServiceActionConstants {
const
val
ActionRequestSmsCode
=
"ActionRequestSmsCode"
// 通过服务清除内存中的认证数据
const
val
ActionClearAuthenticationData
=
"ActionClearAuthenticationData"
//推送消息
const
val
ActionPushMessage
=
"PushMessage"
const
val
ActionInitPushService
=
"InitPushService"
}
}
CommonLib/BCommon/src/main/java/com/yidian/bcommon/services/ZapServiceNameConstants.kt
View file @
a8ab985a
...
...
@@ -16,6 +16,8 @@ class ZapServiceNameConstants {
// BGeneralBusiness组件中给H5提供的通用网络请求服务(名称需要和H5同步的)
const
val
BNAHttpReq
=
"BNAHttpReq"
//BPush组件提供的推送服务
const
val
BPush
=
"BPush"
}
}
Components/BPush/src/main/java/com/yidian/shenghuoquan/bpush/service/PushService.kt
View file @
a8ab985a
...
...
@@ -59,6 +59,7 @@ class PushService : ZapService() {
private
fun
pushMessage
(
message
:
String
)
{
Timber
.
tag
(
"PushService"
).
i
(
message
)
pushSdkManager
.
pushMessage
(
message
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment