No Description

HD_wangm 1769167ae9 优化 4 months ago
.vscode 097cccedf1 版本更新 4 months ago
doc 3cb12d531f 流程 5 months ago
sql 3cb12d531f 流程 5 months ago
ygtx-admin 66d1efee23 登录密码修改 4 months ago
ygtx-common 504c627c87 插入历史记录 4 months ago
ygtx-framework 66d1efee23 登录密码修改 4 months ago
ygtx-generator 4f25a51f0f all 5 months ago
ygtx-gxt 2d0b30d875 调整 4 months ago
ygtx-quartz 4f25a51f0f all 5 months ago
ygtx-system 504c627c87 插入历史记录 4 months ago
ygtx-ui 1769167ae9 优化 4 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
维保工单模块说明.md a2abc681f6 工程创建 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, "标题", "内容");