The role of alliance cooperation in spatial public goods game