In the context of the digital economy, the speed of enterprise development is becoming faster and faster. To understand and establish the environment of network marketing, we must first understand the obstacles. Successful establishment depends on its promotion in society and the active participation of the government and enterprises. Only with the active cooperation of all parties can network marketing be rapidly established. At present, the marketing methods adopted by many enterprises are very traditional. These management methods are not only inefficient, but also present problems such as poor real-time information, a low degree of informatization, information asymmetry and closed marketing data. In order to address these problems, this paper proposes to use digital economic means to scientifically manage enterprise marketing. Here we examine the marketing effect of enterprises and determine the needs of consumers by constructing an enterprise marketing management system, so that enterprises can observe trends in consumer needs and consumer markets at any time, and make timely responses to markets and technological changes. We use a B/S model to build an enterprise marketing management system that can develop steadily in a green ecology. This paper mainly uses the mean clustering algorithm to analyze the performance of the enterprise marketing management system. Through the experiment, it is found that a good marketing management system can help enterprises improve economic efficiency and data processing ability. During the operation, it was found that the transaction success rate of the system reached 100%. Most enterprises responded within 1.5 s. The functional changes of the enterprise before and after the B/S architecture enterprise marketing management system were analyzed and it was found that the real-time information acquisition by enterprise employees, the sharing of marketing data, the degree of informatization of the system, the security of system information and the data processing capabilities had all been improved. Among these, the degree of informatization of enterprises improved the fastest and went from 48% to 94%. Under the enterprise marketing management system, the annual economic income of the enterprise increased by 1.35 million yuan, which was a year-on-year increase of 7.2%. The experimental data showed that under the green ecological perspective, the enterprise marketing management system based on the digital economic environment has certain practicality, which can promote the healthy development of enterprise marketing management.