|
@@ -79,7 +79,7 @@ public class WxaUserApiController extends WxaController {
|
|
|
doctorsWechatfind.setUpdateAt(new Date());
|
|
|
doctorsWechatfind.update();
|
|
|
}
|
|
|
- Doctors doctors = Doctors.dao.findById(doctorsWechatfind.getDoctorId());
|
|
|
+ Doctors doctors = Doctors.dao.findById(doctorsWechatfind.getDoctorId()==null?"":doctorsWechatfind.getDoctorId());
|
|
|
accessTokenCache.set("wxa:session:" + sessionId, apiResult.getJson());
|
|
|
LoginBean loginBean = new LoginBean();
|
|
|
loginBean.setSessionId(sessionId);
|