Commit c28b8864 by qwmqiuwenmin

fix

parent abe54b77
......@@ -576,7 +576,8 @@ public class WxEnterpriseController extends WebBaseController{
String dateKey = "haoban_fresh-wx-friend-enterprise";
Object value = RedisUtil.getCache(dateKey);
if(value != null){
return resultResponse(HaoBanErrCode.ERR_1,value.toString().contains(wxEnterpriseId));
String valueStr = value.toString();
return resultResponse(HaoBanErrCode.ERR_1,valueStr.contains(wxEnterpriseId));
}
return resultResponse(HaoBanErrCode.ERR_1,false);
}
......
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 to comment