|
@ -90,10 +90,9 @@ public class PatientNoLoginEndPoint extends EnvelopRestEndpoint {
|
|
|
basePatientWechatDo.setUnionid(unionid);
|
|
|
basePatientWechatDao.save(basePatientWechatDo);
|
|
|
}
|
|
|
|
|
|
redisTemplate.opsForValue().set(key,openid);
|
|
|
redisTemplate.expire(key,10, TimeUnit.SECONDS);
|
|
|
}
|
|
|
redisTemplate.opsForValue().set(key,openid);
|
|
|
redisTemplate.expire(key,10, TimeUnit.SECONDS);
|
|
|
return success(PatientRequestMapping.Wechat.api_success,json);
|
|
|
} catch (Exception e){
|
|
|
return failedException2(e);
|