Browse Source

给微信小程序推送问题通知,添加deptId参数

tags/v1.0.0^2
wanjing 1 year ago
parent
commit
97f9efd4c8
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/dsp/NoticeWeChatMiniProgramService.java

+ 1
- 0
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/service/third/dsp/NoticeWeChatMiniProgramService.java View File

String url = CommonConfig.wechatURL + SystemConstant.API_WEIXIN_SEND_MESSAGE; String url = CommonConfig.wechatURL + SystemConstant.API_WEIXIN_SEND_MESSAGE;
JSONObject jsonObject = new JSONObject(); JSONObject jsonObject = new JSONObject();
jsonObject.put("tenantId", inspection.getTenantId()); jsonObject.put("tenantId", inspection.getTenantId());
jsonObject.put("deptId", inspection.getDeptId());
jsonObject.put("inspectionId", inspection.getId()); jsonObject.put("inspectionId", inspection.getId());
jsonObject.put("questionName", questionType.getName()); jsonObject.put("questionName", questionType.getName());
jsonObject.put("questionDesc", questionType.getContent()); jsonObject.put("questionDesc", questionType.getContent());

Loading…
Cancel
Save