Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wecloud_im_server
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hewei
wecloud_im_server
Commits
d7e7c09a
Commit
d7e7c09a
authored
Jan 22, 2022
by
hweeeeeei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化系统推送常量
parent
47687924
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
10 deletions
+15
-10
core/src/main/java/com/wecloud/im/ws/sender/AsyncPush.java
+15
-10
No files found.
core/src/main/java/com/wecloud/im/ws/sender/AsyncPush.java
View file @
d7e7c09a
...
...
@@ -26,6 +26,11 @@ import java.net.URL;
import
java.util.HashMap
;
import
java.util.Map
;
import
static
com
.
wecloud
.
im
.
ws
.
ImConstant
.
PUSH_BODY
;
import
static
com
.
wecloud
.
im
.
ws
.
ImConstant
.
PUSH_TITLE
;
import
static
com
.
wecloud
.
im
.
ws
.
ImConstant
.
SUB_TITLE
;
import
static
com
.
wecloud
.
im
.
ws
.
ImConstant
.
TITLE
;
/**
* 异步系统推送
*/
...
...
@@ -37,16 +42,16 @@ public class AsyncPush {
* 谷歌推送地址
*/
private
static
final
String
API_URL_FCM
=
"https://fcm.googleapis.com/fcm/send"
;
/**
* 您收到一条新消息
*/
private
static
final
String
PUSH_TITLE
=
"You have received a new message"
;
/**
* 点击查看
*/
private
static
final
String
PUSH_BODY
=
"Click to view"
;
private
static
final
String
TITLE
=
"title"
;
private
static
final
String
SUB_TITLE
=
"subTitle"
;
/
/ /
**
//
* 您收到一条新消息
//
*/
//
private static final String PUSH_TITLE = "You have received a new message";
//
/**
//
* 点击查看
//
*/
//
private static final String PUSH_BODY = "Click to view";
//
private static final String TITLE = "title";
//
private static final String SUB_TITLE = "subTitle";
@Autowired
private
ImIosApnsService
imIosApnsService
;
@Autowired
...
...
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