|
@ -237,7 +237,8 @@ public class DoctorConsultPublicController extends BaseController {
|
|
|
json.put("first", p.getName() + ",您好!\n您的公共咨询有新的回复");
|
|
|
json.put("toUser", p.getCode());
|
|
|
String symp = cp.getContent();
|
|
|
json.put("consultcontent", StringUtils.isNotEmpty(symp) && symp.length() > 50 ? (symp.substring(0, 50) + "...") : content);
|
|
|
// json.put("consultcontent", StringUtils.isNotEmpty(symp) && symp.length() > 50 ? (symp.substring(0, 50) + "...") : content);
|
|
|
json.put("consultcontent", StringUtils.isNotEmpty(symp) && symp.length() > 50 ? (symp.substring(0, 50) + "...") : symp);
|
|
|
String replycontent = content.length() > 50 ? content.substring(0, 50) + "..." : content;
|
|
|
json.put("consult", consult);
|
|
|
json.put("replycontent", replycontent);
|