diff --git a/readme.md b/readme.md index 6a958d8..fb82832 100644 --- a/readme.md +++ b/readme.md @@ -5,6 +5,8 @@ 比如,要获取报表的会话信息,以前需要调用方法 ```java +import com.fr.web.core.SessionPoolManager; + SessionPoolManager#getSessionIDInfor(@NotNull String sessionID, Class clazz); ``` 但可能随着版本的变更,SessionPoolManager变更了一个名字,比如由SessionPoolManager改成了NewSessionPoolManager, @@ -12,6 +14,8 @@ SessionPoolManager#getSessionIDInfor(@NotNull String sessionID, Class clazz); 而如果采用可开发工具套件中的方法,则始终都是调用 ```java +import com.fanruan.api.session.SessionFactory; + SessionFactory#getSession(@NotNull String sessionID); ``` 仅仅只需要更新最新版本的开发套件工具包即可让老插件自然适配。