|
|
пре 6 минута | |
|---|---|---|
| docs | пре 2 месеци | |
| sql | пре 3 месеци | |
| ygtx-admin | пре 4 дана | |
| ygtx-common | пре 2 месеци | |
| ygtx-framework | пре 2 месеци | |
| ygtx-generator | пре 5 месеци | |
| ygtx-gxt | пре 6 минута | |
| ygtx-quartz | пре 5 месеци | |
| ygtx-system | пре 2 месеци | |
| ygtx-ui | пре 5 дана | |
| ygtx-worklog | пре 5 месеци | |
| .gitignore | пре 5 месеци | |
| LICENSE | пре 5 месеци | |
| README.md | пре 4 месеци | |
| pom.xml | пре 4 месеци | |
| ry.bat | пре 5 месеци | |
| ry.sh | пре 5 месеци |
宇光同行工作汇报
在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, "标题", "内容");