|
|
@@ -21,6 +21,7 @@ import net.x52im.mobileimsdk.server.protocal.ProtocalFactory;
|
|
|
import net.x52im.mobileimsdk.server.utils.LocalSendHelper;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.cache.annotation.CacheEvict;
|
|
|
+import org.springframework.cache.annotation.CachePut;
|
|
|
import org.springframework.cache.annotation.Cacheable;
|
|
|
import org.springframework.context.annotation.Lazy;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
@@ -188,7 +189,7 @@ public class ImMsgReceivedServiceImpl implements IImMsgReceivedService {
|
|
|
return Boolean.FALSE;
|
|
|
}
|
|
|
|
|
|
- @Cacheable(value = "global:sys::doctorIsOnline#86400",key = "'groupId:' + #groupId")
|
|
|
+ @CachePut(value = "global:sys::doctorIsOnline#86400",key = "'groupId:' + #groupId")
|
|
|
public Boolean doctorOnLine(String groupId){
|
|
|
return Boolean.TRUE;
|
|
|
}
|