|
@ -769,10 +769,7 @@ public class PatientConsultEndpoint extends EnvelopRestEndpoint {
|
|
@ApiParam(name = "content", value = "消息内容", defaultValue = "")
|
|
@ApiParam(name = "content", value = "消息内容", defaultValue = "")
|
|
@RequestParam(value = "content", required = true) String content
|
|
@RequestParam(value = "content", required = true) String content
|
|
)throws Exception{
|
|
)throws Exception{
|
|
if (!org.apache.commons.lang3.StringUtils.isNoneBlank(session_id)){
|
|
|
|
session_id = imService.getPatientGuaidenceConsult(sender_id,session_id,content_type);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
session_id = imService.getPatientGuaidenceConsult(sender_id,session_id,content_type);
|
|
String result = imService.patientGuaidenceAppend(sender_id,sender_name,session_id,content_type,content,"1");
|
|
String result = imService.patientGuaidenceAppend(sender_id,sender_name,session_id,content_type,content,"1");
|
|
return success(result);
|
|
return success(result);
|
|
}
|
|
}
|