CN114385951A - Site content management method and device, computer equipment and storage medium - Google Patents

Site content management method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114385951A
CN114385951A CN202210037258.3A CN202210037258A CN114385951A CN 114385951 A CN114385951 A CN 114385951A CN 202210037258 A CN202210037258 A CN 202210037258A CN 114385951 A CN114385951 A CN 114385951A
Authority
CN
China
Prior art keywords
site
instruction
configuration
interface
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210037258.3A
Other languages
Chinese (zh)
Inventor
宋少璞
葛旺
焦玉阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An E Wallet Electronic Commerce Co Ltd
Original Assignee
Ping An E Wallet Electronic Commerce Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An E Wallet Electronic Commerce Co Ltd filed Critical Ping An E Wallet Electronic Commerce Co Ltd
Priority to CN202210037258.3A priority Critical patent/CN114385951A/en
Publication of CN114385951A publication Critical patent/CN114385951A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a site content management method, a site content management device, computer equipment and a storage medium. The invention relates to the technical field of artificial intelligence, which comprises the following steps: displaying a configuration main page and a plurality of configuration sub-pages with hierarchical relation under the configuration main page on a configuration interface according to a site configuration instruction; acquiring site configuration information from the configuration main page and the plurality of configuration sub-pages according to the configuration storage instruction, and creating a new site in a site directory of the management interface according to the site configuration information; acquiring authority distribution information from the authority distribution page according to the authority distribution instruction, and storing the authority distribution information to a database; performing preset operation on the station configuration information according to a preset operation instruction; and acquiring an interface request parameter corresponding to the interface calling request, and calling a preset interface according to the interface request parameter to acquire data content corresponding to the interface calling request from the database. According to the method and the device, the creation efficiency of the site can be improved.

Description

Site content management method and device, computer equipment and storage medium
Technical Field
The invention relates to the technical field of artificial intelligence, in particular to a site content management method and device, computer equipment and a storage medium.
Background
The Content Management System, abbreviated as CMS, is an abbreviation of Content Management System, and has many excellent designs based on templates, which can accelerate the website development speed and reduce the development cost, and provide post-development and maintenance for the established website. The function of the CMS is not limited to text processing, but it can process pictures, Flash animation, audio-visual streaming, images, and even email archives. In the prior art, the increase of the sites in the CMS requires developers to develop and join, which results in long construction period of the sites, high input labor cost and low site creation efficiency.
Disclosure of Invention
The embodiment of the invention provides a site content management method and device, computer equipment and a storage medium, aiming at solving the problem of low efficiency of site creation in the prior art.
In a first aspect, an embodiment of the present invention provides a site content management method, which includes:
if a site configuration instruction is received, displaying a configuration main page and a plurality of configuration sub-pages with hierarchical relation under the configuration main page on a configuration interface according to the site configuration instruction;
if a configuration saving instruction is received, acquiring site configuration information from the configuration main page and the plurality of configuration sub-pages according to the configuration saving instruction, and creating a new site in a site directory of a management interface according to the site configuration information;
if an authority distribution instruction is received, acquiring authority distribution information from an authority distribution page according to the authority distribution instruction, and storing the authority distribution information to a database;
if a preset operation instruction is received, performing preset operation on the site configuration information according to the preset operation instruction;
if an interface calling request sent by a front-end page is received, acquiring an interface request parameter corresponding to the interface calling request, and calling a preset interface according to the interface request parameter to acquire data content corresponding to the interface calling request from the database.
In a second aspect, an embodiment of the present invention further provides a site content management apparatus, including:
the display unit is used for displaying a configuration main page and a plurality of configuration sub-pages with hierarchical relation under the configuration main page on a configuration interface according to a site configuration instruction if the site configuration instruction is received;
the creating unit is used for acquiring site configuration information from the configuration main page and the plurality of configuration sub-pages according to the configuration saving instruction and creating a new site in a site directory of a management interface according to the site configuration information if the configuration saving instruction is received;
the first acquisition unit is used for acquiring authority distribution information from an authority distribution page according to the authority distribution instruction and storing the authority distribution information to a database if the authority distribution instruction is received;
the operation unit is used for carrying out preset operation on the site configuration information according to a preset operation instruction if the preset operation instruction is received;
and the second obtaining unit is used for obtaining an interface request parameter corresponding to the interface calling request if the interface calling request sent by the front-end page is received, and calling a preset interface according to the interface request parameter to obtain the data content corresponding to the interface calling request from the database.
In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the above method when executing the computer program.
In a fourth aspect, the present invention further provides a computer-readable storage medium, where the storage medium stores a computer program, and the computer program, when executed by a processor, implements the above method.
The embodiment of the invention provides a site content management method and device, computer equipment and a storage medium. Wherein the method comprises the following steps: if a site configuration instruction is received, displaying a configuration main page and a plurality of configuration sub-pages with hierarchical relation under the configuration main page on a configuration interface according to the site configuration instruction; if a configuration saving instruction is received, acquiring site configuration information from the configuration main page and the plurality of configuration sub-pages according to the configuration saving instruction, and creating a new site in a site directory of a management interface according to the site configuration information; if an authority distribution instruction is received, acquiring authority distribution information from an authority distribution page according to the authority distribution instruction, and storing the authority distribution information to a database; if a preset operation instruction is received, performing preset operation on the site configuration information according to the preset operation instruction; if an interface calling request sent by a front-end page is received, acquiring an interface request parameter corresponding to the interface calling request, and calling a preset interface according to the interface request parameter to acquire data content corresponding to the interface calling request from the database. According to the technical scheme of the embodiment of the invention, the site information is configured on the configuration main page and the plurality of configuration sub-pages, and then a new site is created according to the site configuration information without development and creation by developers, so that the labor cost can be reduced, the site creation period can be shortened, and the site creation efficiency can be improved; the distribution of the authority can facilitate the maintenance of the station and improve the maintenance efficiency of the station; the front-end page can call different preset interfaces to obtain different data contents by transmitting different interface request parameters, so that the front-end page can be conveniently displayed.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a site content management method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a site content management method according to another embodiment of the present invention;
fig. 3 is a schematic block diagram of a site content management apparatus according to an embodiment of the present invention; and
fig. 4 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a site content management method according to an embodiment of the present invention. The site content management method provided by the embodiment of the invention can be applied to a server, and is realized through an application program installed on the server, so that the labor cost can be reduced, and the creation efficiency and the maintenance efficiency of the site are improved. As shown in fig. 1, the method includes the following steps S100-S140.
S100, if a site configuration instruction is received, displaying a configuration main page and a plurality of configuration sub-pages with hierarchical relations under the configuration main page on a configuration interface according to the site configuration instruction.
In the embodiment of the invention, a server is a site content management system, in practical application, a system manager logs in the site content management system, clicks a configuration button on a configuration page, and then triggers sending of a site configuration instruction, the site content management system receives the site configuration instruction, displays a main configuration interface to the system manager, and the system manager inputs information such as a site number, a site name, a brief introduction, a site manager and the like on the main configuration interface, wherein the site manager can set a plurality of site managers; after the site information is input, clicking the next page, and entering a first configuration sub-page, wherein in the embodiment of the invention, the first configuration sub-page is a layout configuration page, and the system administrator inputs information such as a layout number, a layout name, a layout introduction, a layout administrator and the like on the layout configuration page, wherein the number of the layout administrators can be multiple; after the edition information is input, clicking the next page, and entering a second configuration sub-page, wherein in the embodiment of the invention, the second configuration sub-page is a column configuration page, and the system management personnel inputs column numbers and column names on the column configuration page and sets the contents of whether columns can be added, whether columns can be deleted, the maximum level of columns, default columns and the like; after the column information configuration is completed, clicking the next page, and entering a third configuration sub-page. Understandably, the main configuration page, the first configuration sub-page, the second configuration sub-page, and the third configuration sub-page are pages having a hierarchical relationship. It should be noted that, in the embodiment of the present invention, through performing visual configuration on the site information on the configuration interface, developers are not required to perform special development, which can reduce labor cost and improve the site creation efficiency.
And S110, if a configuration saving instruction is received, acquiring site configuration information from the configuration main page and the plurality of configuration sub-pages according to the configuration saving instruction, and creating a new site in a site directory of a management interface according to the site configuration information.
In the embodiment of the present invention, after the site content management system has configured information, the system administrator clicks a configuration save button to save the configured site information, at this time, the site content management system receives a configuration save instruction, obtains the site configuration information from the configuration main page and the plurality of configuration sub-pages according to the configuration save instruction, creates a new site in a site directory of a management interface according to the site configuration information, and after the new site is created, the system administrator clicks a drop-down box on the site entry, and then displays or hides a layout entry under the site entry. Understandably, the system management personnel can display corresponding column information when clicking the section item. It should be noted that, in the embodiment of the present invention, the site configuration information also needs to be stored in a database, where the site configuration information includes site information, section information, column information, and content information. Understandably, the database corresponds to the site content management system.
And S120, if the authority distribution instruction is received, acquiring authority distribution information from an authority distribution page according to the authority distribution instruction, and storing the authority distribution information to a database.
In the embodiment of the invention, a site manager or a layout manager logs in the site content management system through a user name and a password of the site manager or the layout manager, namely if the site content management system receives a permission login instruction, permission login information is obtained according to the permission login instruction, and whether a current user is a site manager is judged according to the permission login information; if the current user is the site manager, a first permission distribution page is displayed to the site manager, the site manager distributes site management permission or block management permission on the first permission distribution page, after the distribution is completed, a first permission distribution button is clicked, the sending of a site permission distribution instruction is triggered, the site content management system receives the site permission distribution instruction, obtains site permission distribution information or block permission distribution information from the first permission distribution page according to the site permission distribution instruction, and stores the site permission distribution information or the block permission distribution information to the database; if the current user is not the site manager and indicates that the current user is a layout manager, a second permission distribution page is displayed to the current user, the layout manager distributes layout management permissions on the second permission distribution page, after distribution is completed, a second permission distribution button is clicked, then sending of a layout permission distribution instruction is triggered, the site content management system receives the layout permission distribution instruction, acquires layout permission distribution information from the second permission distribution page according to the layout permission distribution instruction, and stores the layout permission distribution information to the database. Understandably, the allocation of the site management authority is to set that corresponding personnel all have the authority to manage the site, for example, a site manager a, a site manager B and a site manager C all have the authority to manage the site; the section management authority is set to be the authority that a corresponding section manager has to manage corresponding section information, for example, the section manager a has management authority to the section a, and the section manager B has management authority to the section B. It should be noted that, in the embodiment of the present invention, the site maintenance may be facilitated by reallocating the site authority and the chunk authority.
And S130, if a preset operation instruction is received, performing preset operation on the site configuration information according to the preset operation instruction.
In the embodiment of the present invention, the site manager or the layout manager logs in the site content management system, and performs a preset operation on the site information or the layout information, where the preset operation includes an addition operation, a modification operation, and a deletion operation. Specifically, if the site content management system receives an adding instruction, adding operation is performed on the site configuration information according to the adding instruction; if a modification instruction is received, modifying the site configuration information according to the modification instruction; and if a deleting instruction is received, deleting the site configuration information according to the deleting instruction. Understandably, after the adding, modifying and deleting operations are performed on the site configuration information, the added, modified and deleted site configuration information needs to be stored in the database.
S140, if an interface calling request sent by a front-end page is received, acquiring an interface request parameter corresponding to the interface calling request, and calling a preset interface according to the interface request parameter to acquire data content corresponding to the interface calling request from the database.
In the embodiment of the present invention, if receiving an interface call request sent by a front-end page, the site content management system obtains an interface request parameter corresponding to the interface call request, and calls a preset interface according to the interface request parameter to obtain data content corresponding to the interface call request from the database. Specifically, the interface request parameter is analyzed to obtain an interface prefix and a preset interface name, and then a preset interface is called according to the interface prefix and the preset interface name to obtain data content corresponding to the interface calling request from the database, for example, if the interface request parameter is/api/{ site _ no }/format, it indicates that the interface prefix is/api/{ site _ no }, a preset interface format needs to be called, and the site _ no in the interface prefix is a site number; if the interface request parameter is/api/{ site _ no }/format/{ forum _ no }/channels/{ channel _ no }/arrows/{ no }, it indicates that preset interface arrows need to be called, wherein forum _ no is a block number, channel _ no is a column number, and no is a content number; if the interface request parameter is/api/{ site _ no }/mashup, the preset interface is mashup. It should be noted that, in the embodiment of the present invention, the mashup is an aggregation interface, and is used for using the aggregation interface when a plurality of pieces of content information need to be returned, for example, when the piece information and the column information need to be sent to the front end of the page at the same time. It should be noted that, in the embodiment of the present invention, the front-end page passes through the preset interface provided by the site content management system, and different data contents can be obtained through different transmission parameters, so that the front-end page is displayed conveniently, quickly, and efficiently.
Fig. 2 is a flowchart illustrating a website content management method according to another embodiment of the present invention, as shown in fig. 2, in this embodiment, the method includes steps S100 to S150. That is, in the present embodiment, after step S140 of the above embodiment, the method further includes step S150.
S150, the data content is sent to the front-end page, so that the front-end page can display pages according to the data content.
In the embodiment of the present invention, after the site content management system calls a preset interface according to the interface request parameter to obtain the data content corresponding to the interface call request from the database, the site configuration information is sent to the front-end page, and the front-end page receives the site configuration information and performs page display according to the site configuration information. Specifically, if the front-end page receives the site information, displaying a site page according to the site information; if the received version information is the version information, displaying the version content according to the version information; if the received column information is the column information, displaying column content according to the column information; and if the received content information is received, displaying related content according to the content information.
Fig. 3 is a schematic block diagram of a site content management apparatus 200 according to an embodiment of the present invention. As shown in fig. 3, the present invention also provides a site content management apparatus 200 corresponding to the above site content management method. The site content management apparatus 200 includes a unit for executing the above-described site content management method, and the apparatus may be configured in a server. Specifically, referring to fig. 3, the site content management apparatus 200 includes a presentation unit 201, a creation unit 202, a first obtaining unit 203, an operation unit 204, and a second obtaining unit 205.
The presentation unit 201 is configured to, if a site configuration instruction is received, present a configuration main page and a plurality of configuration sub-pages having a hierarchical relationship under the configuration main page in a configuration interface according to the site configuration instruction; the creating unit 202 is configured to, if a configuration saving instruction is received, obtain site configuration information from the configuration main page and the plurality of configuration sub-pages according to the configuration saving instruction, and create a new site in a site directory of a management interface according to the site configuration information; the first obtaining unit 203 is configured to, if an authority allocation instruction is received, obtain authority allocation information from an authority allocation page according to the authority allocation instruction, and store the authority allocation information in a database; the operation unit 204 is configured to perform a preset operation on the site configuration information according to a preset operation instruction if the preset operation instruction is received; the second obtaining unit 205 is configured to, if an interface call request sent by a front-end page is received, obtain an interface request parameter corresponding to the interface call request, and call a preset interface according to the interface request parameter to obtain data content corresponding to the interface call request from the database.
In some embodiments, such as this embodiment, the first obtaining unit 203 includes a first obtaining sub-unit 2031 and a second obtaining sub-unit 2032.
The first obtaining subunit 2031 is configured to, if a site right allocation instruction is received, obtain, according to the site right allocation instruction, site right allocation information or section right allocation information from the first right allocation page, and store the site right allocation information or the section right allocation information in the database; the second obtaining subunit 2032 is configured to, if a block right allocation instruction is received, obtain, according to the block right allocation instruction, the block right allocation information from the second right allocation page, and store the block right allocation information in the database.
In some embodiments, for example, in the present embodiment, the operation unit 204 includes an adding unit 2041, a modifying unit 2042, and a deleting unit 2043.
The adding unit 2041 is configured to, if an adding instruction is received, perform an adding operation on the site configuration information according to the adding instruction; the modifying unit 2042 is configured to, if a modifying instruction is received, modify the site configuration information according to the modifying instruction; the deleting unit 2043 is configured to, if a deleting instruction is received, perform a deleting operation on the site configuration information according to the deleting instruction.
In some embodiments, such as this embodiment, the second obtaining unit 205 includes a parsing unit 2051 and a third obtaining sub-unit 2052.
The parsing unit 2051 is configured to parse the interface request parameter to obtain an interface prefix and a preset interface name; the third obtaining subunit 2052 is configured to call a preset interface according to the interface prefix and the preset interface name to obtain the data content corresponding to the interface call request from the database.
In some embodiments, for example, in this embodiment, the site content management apparatus 200 further includes a third obtaining unit 206, a first presentation unit 270, a second presentation unit 280, a third presentation unit 290, and a fourth presentation unit 291.
The third obtaining unit 206 is configured to, if an authority login instruction is received, obtain authority login information according to the authority login instruction, and determine whether a current user is a site manager according to the authority login information; the first display unit 270 is configured to display a first permission allocation page to the site manager if the current user is the site manager; the second display unit 280 is configured to display a second permission allocation page to the current user if the current user is not the site manager; the third display unit 290 is configured to send the data content to the front-end page, so that the front-end page performs page display according to the data content; the fourth display unit 291 is configured to, if a preset click instruction is received, display or hide a layout entry under a clicked site in the site directory according to the preset click instruction.
The specific implementation manner of the site content management apparatus 200 according to the embodiment of the present invention corresponds to the site content management method described above, and is not described herein again.
The above-described site content management apparatus may be implemented in the form of a computer program that can be run on a computer device as shown in fig. 4.
Referring to fig. 4, fig. 4 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 300 is a server, and specifically, the server may be an independent server, or may be a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), and a big data and artificial intelligence platform.
Referring to fig. 4, the computer device 300 includes a processor 302, a memory, which may include a storage medium 303 and an internal memory 304, and a network interface 305 connected by a system bus 301.
The storage medium 303 may store an operating system 3031 and computer programs 3032. The computer program 3032, when executed, causes the processor 302 to perform a site content management method.
The processor 302 is used to provide computing and control capabilities to support the operation of the overall computer device 300.
The internal memory 304 provides an environment for running the computer program 3032 in the storage medium 303, and when the computer program 3032 is executed by the processor 302, the processor 302 can be caused to execute a site content management method.
The network interface 305 is used for network communication with other devices. Those skilled in the art will appreciate that the configuration shown in fig. 4 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation of the computer apparatus 300 to which the present application is applied, and that a particular computer apparatus 300 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 302 is configured to run a computer program 3032 stored in the memory to implement the following steps: if a site configuration instruction is received, displaying a configuration main page and a plurality of configuration sub-pages with hierarchical relation under the configuration main page on a configuration interface according to the site configuration instruction; if a configuration saving instruction is received, acquiring site configuration information from the configuration main page and the plurality of configuration sub-pages according to the configuration saving instruction, and creating a new site in a site directory of a management interface according to the site configuration information; if an authority distribution instruction is received, acquiring authority distribution information from an authority distribution page according to the authority distribution instruction, and storing the authority distribution information to a database; if a preset operation instruction is received, performing preset operation on the site configuration information according to the preset operation instruction; if an interface calling request sent by a front-end page is received, acquiring an interface request parameter corresponding to the interface calling request, and calling a preset interface according to the interface request parameter to acquire data content corresponding to the interface calling request from the database.
In some embodiments, for example, in this embodiment, before implementing the step of, if the permission allocation instruction is received, acquiring permission allocation information from a permission allocation page according to the permission allocation instruction, and storing the permission allocation information in a database, the processor 302 further specifically implements the following steps: if an authority login instruction is received, acquiring authority login information according to the authority login instruction, and judging whether a current user is a site manager or not according to the authority login information; if the current user is the site manager, displaying a first permission allocation page to the site manager; and if the current user is not the site manager, displaying a second permission allocation page to the current user.
In some embodiments, for example, in this embodiment, when implementing the step of, if the permission allocation instruction is received, acquiring permission allocation information from a permission allocation page according to the permission allocation instruction, and storing the permission allocation information in a database, the processor 302 specifically implements the following steps: if a site authority distribution instruction is received, acquiring site authority distribution information or layout authority distribution information from the first authority distribution page according to the site authority distribution instruction, and storing the site authority distribution information or the layout authority distribution information to the database; and if a block authority distribution instruction is received, acquiring block authority distribution information from the second authority distribution page according to the block authority distribution instruction, and storing the block authority distribution information to the database.
In some embodiments, for example, in this embodiment, when implementing that, if the preset operation instruction is received, the processor 302 performs the preset operation step on the station configuration information according to the preset operation instruction, the following steps are specifically implemented: if an adding instruction is received, adding operation is carried out on the site configuration information according to the adding instruction; if a modification instruction is received, modifying the site configuration information according to the modification instruction; and if a deleting instruction is received, deleting the site configuration information according to the deleting instruction.
In some embodiments, for example, in this embodiment, when implementing the step of calling a preset interface according to the interface request parameter to obtain the data content corresponding to the interface call request from the database, the processor 302 specifically implements the following steps: analyzing the interface request parameter to obtain an interface prefix and a preset interface name; and calling a preset interface according to the interface prefix and the preset interface name so as to acquire data content corresponding to the interface calling request from the database.
In some embodiments, for example, in this embodiment, after implementing the step of obtaining, if the interface call request sent by the front-end page is received, an interface request parameter corresponding to the interface call request, and calling a preset interface according to the interface request parameter to obtain the data content corresponding to the interface call request from the database, the specific implementation further includes the following steps: and sending the data content to the front-end page so that the front-end page performs page display according to the data content.
In some embodiments, for example, in this embodiment, after implementing the step of, if the configuration saving instruction is received, obtaining the site configuration information from the configuration main page and the plurality of configuration sub-pages according to the configuration saving instruction, and creating a new site in the site directory of the management interface according to the site configuration information, the specific implementation further includes the following steps: and if a preset click instruction is received, displaying or hiding the layout items under the clicked site in the site directory according to the preset click instruction.
It should be understood that, in the embodiment of the present Application, the Processor 302 may be a Central Processing Unit (CPU), and the Processor 302 may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program may be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program. The computer program, when executed by a processor, causes the processor to perform any of the embodiments of the site content management method described above.
The storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, which can store various computer readable storage media.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, while the invention has been described with respect to the above-described embodiments, it will be understood that the invention is not limited thereto but may be embodied with various modifications and changes.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A site content management method, comprising:
if a site configuration instruction is received, displaying a configuration main page and a plurality of configuration sub-pages with hierarchical relation under the configuration main page on a configuration interface according to the site configuration instruction;
if a configuration saving instruction is received, acquiring site configuration information from the configuration main page and the plurality of configuration sub-pages according to the configuration saving instruction, and creating a new site in a site directory of a management interface according to the site configuration information;
if an authority distribution instruction is received, acquiring authority distribution information from an authority distribution page according to the authority distribution instruction, and storing the authority distribution information to a database;
if a preset operation instruction is received, performing preset operation on the site configuration information according to the preset operation instruction;
if an interface calling request sent by a front-end page is received, acquiring an interface request parameter corresponding to the interface calling request, and calling a preset interface according to the interface request parameter to acquire data content corresponding to the interface calling request from the database.
2. The method according to claim 1, wherein before the step of obtaining the right distribution information from the right distribution page according to the right distribution instruction and storing the right distribution information in the database if the right distribution instruction is received, the method further comprises:
if an authority login instruction is received, acquiring authority login information according to the authority login instruction, and judging whether a current user is a site manager or not according to the authority login information;
if the current user is the site manager, displaying a first permission allocation page to the site manager;
and if the current user is not the site manager, displaying a second permission allocation page to the current user.
3. The method according to claim 2, wherein if the permission assignment instruction is received, acquiring permission assignment information from a permission assignment page according to the permission assignment instruction, and storing the permission assignment information to a database, includes:
if a site authority distribution instruction is received, acquiring site authority distribution information or layout authority distribution information from the first authority distribution page according to the site authority distribution instruction, and storing the site authority distribution information or the layout authority distribution information to the database;
and if a block authority distribution instruction is received, acquiring block authority distribution information from the second authority distribution page according to the block authority distribution instruction, and storing the block authority distribution information to the database.
4. The method according to claim 1, wherein if a preset operation instruction is received, performing a preset operation on the site configuration information according to the preset operation instruction includes:
if an adding instruction is received, adding operation is carried out on the site configuration information according to the adding instruction;
if a modification instruction is received, modifying the site configuration information according to the modification instruction;
and if a deleting instruction is received, deleting the site configuration information according to the deleting instruction.
5. The method according to claim 1, wherein the calling a preset interface according to the interface request parameter to obtain the data content corresponding to the interface call request from the database comprises:
analyzing the interface request parameter to obtain an interface prefix and a preset interface name;
and calling a preset interface according to the interface prefix and the preset interface name so as to acquire data content corresponding to the interface calling request from the database.
6. The method according to claim 1, wherein after receiving an interface call request sent by a front-end page, acquiring an interface request parameter corresponding to the interface call request, and calling a preset interface according to the interface request parameter to acquire data content corresponding to the interface call request from the database, the method further comprises:
and sending the data content to the front-end page so that the front-end page performs page display according to the data content.
7. The method according to claim 1, wherein, after the step of obtaining the site configuration information from the configuration main page and the plurality of configuration sub-pages according to the configuration saving instruction and creating a new site in the site directory of the management interface according to the site configuration information if the configuration saving instruction is received, further comprises:
and if a preset click instruction is received, displaying or hiding the layout items under the clicked site in the site directory according to the preset click instruction.
8. A site content management apparatus, comprising:
the display unit is used for displaying a configuration main page and a plurality of configuration sub-pages with hierarchical relation under the configuration main page on a configuration interface according to a site configuration instruction if the site configuration instruction is received;
the creating unit is used for acquiring site configuration information from the configuration main page and the plurality of configuration sub-pages according to the configuration saving instruction and creating a new site in a site directory of a management interface according to the site configuration information if the configuration saving instruction is received;
the first acquisition unit is used for acquiring authority distribution information from an authority distribution page according to the authority distribution instruction and storing the authority distribution information to a database if the authority distribution instruction is received;
the operation unit is used for carrying out preset operation on the site configuration information according to a preset operation instruction if the preset operation instruction is received;
and the second obtaining unit is used for obtaining an interface request parameter corresponding to the interface calling request if the interface calling request sent by the front-end page is received, and calling a preset interface according to the interface request parameter to obtain the data content corresponding to the interface calling request from the database.
9. A computer arrangement, characterized in that the computer arrangement comprises a memory having stored thereon a computer program and a processor implementing the method according to any of claims 1-7 when executing the computer program.
10. A computer-readable storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, implements the method according to any one of claims 1-7.
CN202210037258.3A 2022-01-13 2022-01-13 Site content management method and device, computer equipment and storage medium Pending CN114385951A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210037258.3A CN114385951A (en) 2022-01-13 2022-01-13 Site content management method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210037258.3A CN114385951A (en) 2022-01-13 2022-01-13 Site content management method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114385951A true CN114385951A (en) 2022-04-22

Family

ID=81201397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210037258.3A Pending CN114385951A (en) 2022-01-13 2022-01-13 Site content management method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114385951A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116339582A (en) * 2023-05-29 2023-06-27 中科科界(北京)科技有限公司 Configuration method of station

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116339582A (en) * 2023-05-29 2023-06-27 中科科界(北京)科技有限公司 Configuration method of station

Similar Documents

Publication Publication Date Title
US11314568B2 (en) Message processing method and apparatus, storage medium, and computer device
US9081757B2 (en) Systems and methods for tracking and updating hosted applications
WO2016107465A1 (en) Method, device, and system for implementing card-type desktop
CN110673920A (en) Internationalization processing method and device, computer equipment and storage medium
US20170300459A1 (en) Card-type desktop implementation method and apparatus
EP2332119B1 (en) Recording and/or use of generation information
WO2023179549A1 (en) Document block sharing method, apparatus and system, and storage medium
CN114385951A (en) Site content management method and device, computer equipment and storage medium
CN111859077A (en) Data processing method, device, system and computer readable storage medium
WO2016169212A1 (en) File management method and device
CN113191889A (en) Wind control configuration method, configuration system, electronic device and readable storage medium
CN111783005A (en) Method, apparatus and system for displaying web page, computer system and medium
KR20180007792A (en) Apparatus and method for providing data based on cloud service
CN112135199B (en) Video playing method based on multiple types of video sources and related equipment
CN111338928A (en) Chrome-based browser testing method and device
CN112565472B (en) Static resource processing method and device
CN113434152A (en) Software development method, system and readable storage medium
CN112817922A (en) Log dynamic printing method and device, computer equipment and storage medium
US20150261733A1 (en) Asset collection service through capture of content
CN115982097B (en) Government data-based data archiving method and device and related components
CN112445790B (en) Report data storage method, device, equipment and medium
RU2739720C2 (en) Method and a server for transmitting a personalized message to a user electronic device
CN114661880A (en) Interactive data generation method and device, electronic equipment and storage medium
CN115421873A (en) Dictionary construction method, and file evaluation method, device and equipment based on dictionary
CN113905041A (en) File uploading method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination