|
|
il y a 2 jours | |
|---|---|---|
| docs | il y a 2 mois | |
| sql | il y a 3 mois | |
| ygtx-admin | il y a 3 jours | |
| ygtx-common | il y a 2 mois | |
| ygtx-framework | il y a 2 mois | |
| ygtx-generator | il y a 5 mois | |
| ygtx-gxt | il y a 2 jours | |
| ygtx-quartz | il y a 5 mois | |
| ygtx-system | il y a 2 mois | |
| ygtx-ui | il y a 4 jours | |
| ygtx-worklog | il y a 5 mois | |
| .gitignore | il y a 5 mois | |
| LICENSE | il y a 5 mois | |
| README.md | il y a 4 mois | |
| pom.xml | il y a 4 mois | |
| ry.bat | il y a 5 mois | |
| ry.sh | il y a 5 mois |
宇光同行工作汇报
在application-dev.yml或相应环境配置文件中添加个推配置:
getui:
enabled: true # 是否启用个推服务
app-id: xxxxxx # 个推AppId
app-key: xxxxxx # 个推AppKey
app-secret: xxxxxx # 个推AppSecret
master-secret: xxxxxx # 个推MasterSecret
// 推送消息给单个用户
GetuiTemplate.pushMessageToSingle("用户的CID", "标题", "内容");
// 推送消息给单个用户(带透传内容)
GetuiTemplate.pushMessageToSingle("用户的CID", "标题", "内容", "{\"type\":\"order\",\"id\":123}");
// 批量推送消息给多个用户
String[] cids = {"用户1的CID", "用户2的CID", "用户3的CID"};
GetuiTemplate.pushMessageToBatch(cids, "标题", "内容");