Multistage fractured horizontal wells (MFHWs) have become the main technology for shale gas exploration. However, the existing models have neglected the percolation mechanism in nanopores of organic matter and failed to consider the differences among the reservoir properties in different areas. On that account, in this study, a modified apparent permeability model was proposed describing gas flow in shale gas reservoirs by integrating bulk gas flow in nanopores and gas desorption from nanopores. The apparent permeability was introduced into the macroseepage model to establish a dynamic pressure analysis model for MFHWs dual-porosity formations. The Laplace transformation and the regular perturbation method were used to obtain an analytical solution. The influences of fracture half-length, fracture permeability, Langmuir volume, matrix radius, matrix permeability, and induced fracture permeability on pressure and production were discussed. Results show that fracture half-length, fracture permeability, and induced fracture permeability exert a significant influence on production. A larger Langmuir volume results in a smaller pressure and pressure derivative. An increase in matrix permeability increases the production rate. Besides, this model fits the actual field data relatively well. It has a reliable theoretical foundation and can preferably describe the dynamic changes of pressure in the exploration process.