|
@ -112,7 +112,7 @@ public class DoctorConsultController extends WeixinBaseController {
|
|
json.put("doctorPhoto", doctor.getPhoto());
|
|
json.put("doctorPhoto", doctor.getPhoto());
|
|
// 设置医生sex
|
|
// 设置医生sex
|
|
json.put("doctorSex", doctor.getSex());
|
|
json.put("doctorSex", doctor.getSex());
|
|
if(consult.getType() == 8) {
|
|
|
|
|
|
if(consult.getType() == 7) {
|
|
Doctor d = doctorInfoService.findDoctorByCode(consult.getPatient());
|
|
Doctor d = doctorInfoService.findDoctorByCode(consult.getPatient());
|
|
// 设置患者头像
|
|
// 设置患者头像
|
|
json.put("photo", d.getPhoto());
|
|
json.put("photo", d.getPhoto());
|