Commit 4b83c884 by 李小龙

泄露

parent dbe536d3
...@@ -34,10 +34,10 @@ public class PlatUserUtil { ...@@ -34,10 +34,10 @@ public class PlatUserUtil {
public static PlatUserVO getUserVO() { public static PlatUserVO getUserVO() {
PlatUserVO userVO = THREAD_LOCAL_USER.get(); // PlatUserVO userVO = THREAD_LOCAL_USER.get();
if (userVO != null) { // if (userVO != null) {
return userVO; // return userVO;
} // }
//或者这里用策略模式 //或者这里用策略模式
WechatUserInfo wechatUserInfo = WechatUserUtil.getUserVOCanNull(); WechatUserInfo wechatUserInfo = WechatUserUtil.getUserVOCanNull();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment