|
@@ -252,9 +252,10 @@ public class WxaUserApiController extends WxaController {
|
|
renderJson(ErrorConstant.ERROR_DOCTOR_NOT_FIND);
|
|
renderJson(ErrorConstant.ERROR_DOCTOR_NOT_FIND);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- renderJson(doctors);
|
|
|
|
|
|
+
|
|
|
|
+ DoctorsWechat doctorsWechat = DoctorsWechat.dao.findFirst("select * from doctors_wechat where wxa_openid=?",sessionResult.get("openid"));
|
|
|
|
+ renderJson(doctorsWechat);
|
|
return;
|
|
return;
|
|
-// DoctorsWechat doctorsWechat = DoctorsWechat.dao.findFirst("select * from doctors_wechat where wxa_openid=?",sessionResult.get("openid"));
|
|
|
|
// doctorsWechat.setDoctorId(doctors.getId());
|
|
// doctorsWechat.setDoctorId(doctors.getId());
|
|
// doctorsWechat.update();
|
|
// doctorsWechat.update();
|
|
// LoginBean loginBean = new LoginBean();
|
|
// LoginBean loginBean = new LoginBean();
|