Commit a82ead99 by qwmqiuwenmin

fix

parent 989d3bea
......@@ -508,7 +508,8 @@ public class WxEnterpriseController extends WebBaseController{
if(enterprise == null || enterprise.getExpireTime() == null || enterprise.getEnabledState() == null){
return resultResponse(HaoBanErrCode.ERR_1, false);
}
if(enterprise.getExpireTime().getTime() > System.currentTimeMillis() && enterprise.getEnabledState() == 1){
logger.info("enterprise.getEnabledState()={}",enterprise.getEnabledState() == 1);
if(enterprise.getExpireTime().getTime() > System.currentTimeMillis() && enterprise.getEnabledState().intValue() == 1){
return resultResponse(HaoBanErrCode.ERR_1,false);
}
return resultResponse(HaoBanErrCode.ERR_1,true);
......
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