The invention discloses a real-time dynamic forwarding method based on a gateway basic service. The method comprises the following steps: a configuration center receives configuration modification information inputted by a user and publishes the configuration modification information, and a configuration modification event is generated; the configuration center monitors happening of the configuration modification event, and an API gateway is triggered to be refreshed; and after the API gateway is refreshed, the latest configuration modification information is pulled from the configuration center instantly, and local configuration information is updated and takes effect. Through monitoring the configuration modification event by the configuration center, when happening of the configurationmodification event is monitored, refreshing of the API gateway is triggered, the API gateway pulls the configuration modification information from the configuration center automatically, the information takes effect, the function of dynamically refreshing routing by the API gateway is realized, restarting of the API gateway when a routing rule changes at each time is not needed, the API gateway restarting times are reduced, and the usability of the API gateway is improved.