Commit 3de249e8 by 徐高华

Merge branch 'master-xgh-好办停用' into 'developer'

过期停用

See merge request !221
parents 796072dc 188d9319
......@@ -497,7 +497,8 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService {
if(resp.isSuccess()) {
EnterpriseUsingPermissionDto dto = resp.getResult() ;
if(null != dto.getServiceEndDate() && dto.getServiceEndDate().before(new Date())) {
return false ;
log.info("过期停用={}",eid);
return true ;
}
}
return false ;
......
......@@ -379,7 +379,8 @@ public class StoreController extends WebBaseController {
if(resp.isSuccess()) {
EnterpriseUsingPermissionDto dto = resp.getResult() ;
if(null != dto.getServiceEndDate() && dto.getServiceEndDate().before(new Date())) {
return false ;
logger.info("过期停用={}",enterpriseId);
return true ;
}
}
return 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