|
@ -641,6 +641,31 @@ public class PrescriptionEndpoint extends EnvelopRestEndpoint {
|
|
|
return success(xzzxEntranceService.sendXCXMes( wxId, patient, cardNo, first, noticeContent, remark, miniProgramPagepath, miniProgramAppId));
|
|
|
}
|
|
|
|
|
|
@PostMapping(value = "/sendXZMes")
|
|
|
@ApiOperation(value = "心脏模板消息推送小程序跳转", notes = "心脏模板消息推送小程序跳转")
|
|
|
public Envelop ehospitalNotice(
|
|
|
@ApiParam(name = "userName", value = "推送人姓名")
|
|
|
@RequestParam(value = "userName", required = true) String userName,
|
|
|
@ApiParam(name = "idCard", value = "推送人身份证")
|
|
|
@RequestParam(value = "idCard", required = false) String idCard,
|
|
|
@ApiParam(name = "phone", value = "推送人手机号")
|
|
|
@RequestParam(value = "phone", required = true) String phone,
|
|
|
@ApiParam(name = "title", value = "推送标题")
|
|
|
@RequestParam(value = "title", required = true) String title,
|
|
|
@ApiParam(name = "url", value = "跳转链接")
|
|
|
@RequestParam(value = "url", required = false) String url,
|
|
|
@ApiParam(name = "content", value = "内容简介")
|
|
|
@RequestParam(value = "content", required = true) String content,
|
|
|
@ApiParam(name = "contentString", value = "内容明细串")
|
|
|
@RequestParam(value = "contentString", required = false) String contentString) throws Exception {
|
|
|
String rs = xzzxEntranceService.ehospitalNotice(userName, idCard, phone, title, url, content, contentString);
|
|
|
if("1".equals(rs)){
|
|
|
return success("推送成功");
|
|
|
}
|
|
|
return failed("推送失败");
|
|
|
}
|
|
|
|
|
|
|
|
|
@GetMapping(value = BaseHospitalRequestMapping.Prescription.findPatientInfo)
|
|
|
@ApiOperation(value = "获取居民信息接口", notes = "获取居民信息接口")
|
|
|
public ObjEnvelop findPatientInfo(@ApiParam(name = "patient", value = "居民ID")
|