No Description

HD_wangm 12994c02c9 更换包 2 months ago
docs 2465b3c6b7 ICE待办 2 months ago
sql bf56cf7e7b 部门编码 3 months ago
ygtx-admin cbb93bbd91 修改连续运行得分 2 months ago
ygtx-common 12994c02c9 更换包 2 months ago
ygtx-framework f6324dc24a ICE登录 2 months ago
ygtx-generator 4f25a51f0f all 5 months ago
ygtx-gxt 2ce32e7f84 驾驶舱 2 months ago
ygtx-quartz 4f25a51f0f all 5 months ago
ygtx-system 644c799e0c 月度工分汇总 3 months ago
ygtx-ui 27508d52a8 驾驶舱 2 months ago
ygtx-worklog 4a9fa97839 项目管理 5 months ago
.gitignore 4f25a51f0f all 5 months ago
LICENSE 4f25a51f0f all 5 months ago
README.md 097cccedf1 版本更新 4 months ago
pom.xml 1fb96007bf 负责人查询添加部门、姓名排序 4 months ago
ry.bat 4f25a51f0f all 5 months ago
ry.sh 4f25a51f0f all 5 months ago

README.md

宇光同行工作汇报

个推推送服务集成说明

配置说明

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, "标题", "内容");