Commit 76833805 by guojuxing

门店重复授权

parent 40ad23cd
......@@ -178,15 +178,6 @@ public class UnionEnterpriseAuthApiServiceImpl implements UnionEnterpriseAuthApi
//授权通知(用户域)
TransmitDataDTO transmitDataDTO = TransmitDataHolder.get();
resourceGroupApiService.syncResourceAuthChangeMQ(dto.getOwnEnterpriseId(), dto.getUnionEnterpriseId(), resourceGroupDTO, oldResourceGroupDTO, resourceGroupChangeType, JSON.toJSONString(transmitDataDTO));
//门店通知
if (resourceGroupDTO.getStoreResource() != null) {
ExecutorPoolSingleton.getInstance().executeTask(new Runnable() {
@Override
public void run() {
storeAuthorizationApiService.authStore(resourceGroupDTO.getStoreResource().intValue(), dto.getUnionEnterpriseId(), dto.getOwnEnterpriseId());
}
});
}
return ServiceResponse.success();
}
......
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